summaryrefslogtreecommitdiffhomepage
path: root/Examples/ExampleCDialect.S
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/ExampleCDialect.S')
-rw-r--r--Examples/ExampleCDialect.S29
1 files changed, 17 insertions, 12 deletions
diff --git a/Examples/ExampleCDialect.S b/Examples/ExampleCDialect.S
index d9613ef..2a5203a 100644
--- a/Examples/ExampleCDialect.S
+++ b/Examples/ExampleCDialect.S
@@ -1,23 +1,28 @@
# Path: Examples/ExampleCDialect.c
-# Language: PowerPC Assembly (Generated from ANSI C)
-# Build Date: 2024-4-4
+# Language: PowerPC Assembly (Generated from C)
+# Build Date: 2024-4-16
-dword export .code64 main
- lda r2,0x1000
- 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
+dword export .code64 __ImageStart
- ldw r19, 57
- jlr
+ li r3,0x1000
+
+ cmpw r10, r11
+ beq import__MPCC_IF_PROC_6168864856
+dword export .code64 __MPCC_IF_PROC_6168864856
+
+
+
+ mr r31, r3
+ blr
+
+
+ mr r31, r0
+ blr