[SPCA] Fix some errors, add example

This commit is contained in:
2026-01-11 08:36:55 +01:00
parent acffe6b3e6
commit 58b70a2ec6
3 changed files with 12 additions and 6 deletions

View File

@@ -1,2 +1,6 @@
main:
addl 8(%rbp), %eax # Add long
movq %rax, %rdx # rax is src, rdx is dest
cmp %rax, %rdx # rax is src2, rdx is src1
jmp func # func is label
notq %rax # rax is dest (and src)
ret # No argument