Lots of comments and cleanup
This commit is contained in:
parent
120a575b15
commit
1a95fc2371
8 changed files with 351 additions and 518 deletions
12
test.s
Normal file
12
test.s
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
.globl main
|
||||
main:
|
||||
movl $3, %eax
|
||||
push %rax
|
||||
movl $2, %eax
|
||||
pop %rcx
|
||||
sub %ecx, %eax
|
||||
push %rax
|
||||
movl $1, %eax
|
||||
pop %rcx
|
||||
sub %ecx, %eax
|
||||
ret
|
||||
Loading…
Add table
Add a link
Reference in a new issue