diff options
| author | Amlal El Mahrouss <113760121+Amlal-ElMahrouss@users.noreply.github.com> | 2024-04-05 02:06:40 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <113760121+Amlal-ElMahrouss@users.noreply.github.com> | 2024-04-05 02:09:16 +0200 |
| commit | 4fd8405b79823c6ce8dcfc3cbe0da29b2a8f5bf2 (patch) | |
| tree | 7606ed7050a026c4a4d2c73b02e22f86540f138f /Examples/ExampleCDialect.S | |
| parent | 0f9388e1c596c13ae3c317d81e7bcfe23626acc2 (diff) | |
CodeTools: Working on PowerPC and 64x0 C compiler.
CodeTools: Working on PowerPC assembler.
Signed-off-by: Amlal El Mahrouss <113760121+Amlal-ElMahrouss@users.noreply.github.com>
Diffstat (limited to 'Examples/ExampleCDialect.S')
| -rw-r--r-- | Examples/ExampleCDialect.S | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/Examples/ExampleCDialect.S b/Examples/ExampleCDialect.S index 46982d5..d9613ef 100644 --- a/Examples/ExampleCDialect.S +++ b/Examples/ExampleCDialect.S @@ -1,10 +1,23 @@ # Path: Examples/ExampleCDialect.c -# Language: 64x0 Assembly (Generated from ANSI C) -# Build Date: 2024-3-29 +# Language: PowerPC Assembly (Generated from ANSI C) +# Build Date: 2024-4-4 + +dword export .code64 main + -dword export .code64 __start lda r2,0x1000 - ldw r19, 57 + lda r12, import __MPCC_IF_PROC_417129812448 + #r12 = Code to jump on, r11 right cond, r10 left cond. + beq r10, r11, r12 +dword export .code64 __MPCC_IF_PROC_417129812448 + + + + ldw r19, import foo + jlr + + + ldw r19, 57 jlr |
