Files
compiler-the-translators/tests/sprint4/expected/sp4_cg_sub.s.exp
Scarlett 6bef4bdc26 make
2025-05-04 16:23:35 -04:00

12 lines
381 B
Plaintext

movl $1, -4(%rbp) #constant assign
movl -4(%rbp), %eax #assign start
movl %eax, -8(%rbp) #assign end
movl $3, -12(%rbp) #constant assign
movl -12(%rbp), %eax #assign start
movl %eax, -16(%rbp) #assign end
movl -16(%rbp), %eax #subtraction start
subl -8(%rbp), %eax
movl %eax, -20(%rbp) #subtraction end
movl -20(%rbp), %eax #assign start
movl %eax, -8(%rbp) #assign end