Lots of comments and cleanup

This commit is contained in:
Clemens-Dautermann 2020-12-17 21:36:39 +01:00
parent 120a575b15
commit 1a95fc2371
8 changed files with 351 additions and 518 deletions

12
test.s Normal file
View 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