summaryrefslogtreecommitdiffhomepage
path: root/Examples/ExampleCPlusPlus.s
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/ExampleCPlusPlus.s')
-rw-r--r--Examples/ExampleCPlusPlus.s12
1 files changed, 7 insertions, 5 deletions
diff --git a/Examples/ExampleCPlusPlus.s b/Examples/ExampleCPlusPlus.s
index 328bce7..4b69908 100644
--- a/Examples/ExampleCPlusPlus.s
+++ b/Examples/ExampleCPlusPlus.s
@@ -1,14 +1,16 @@
; Path: Examples/ExampleCPlusPlus.cxx
; Language: MPCC assembly. (Generated from C++)
-; Date: 2024-5-11
+; Date: 2024-5-12
#bits 64
#org 0x1000000
+mov r8, 20
+sub r8, 1
+mov r9, 0
+mov r9, 1
+mov r10, r9
-
-lea %LEFT+%OFFSET
-
-mov rax, %A0
+mov rax, r10
ret \ No newline at end of file