Files
compiler-the-translators/tests/sprint4/expected/sp4_cg_not.s.exp
2025-05-06 22:35:26 -04:00

21 lines
487 B
Plaintext

.globl entry
entry:
pushq %rbp
movq %rsp, %rbp
subq $400, %rsp
movl %edi, -8(%rbp) #FunctionStart1param end
movl $1, -9(%rbp) #constant assign
.L1:
movl -9(%rbp), %eax #assign start
movl %eax, -10(%rbp) #assign end
.L2:
movl -11(%rbp), %edi #adding param start
call printBoolean
movl %eax, -18(%rbp) #store return from call
movl -18(%rbp), %eax #assign start
movl %eax, -24(%rbp) #assign end
movl $1, -28(%rbp) #constant assign
movl -28(%rbp), %eax #return $t3
leave
ret