translate ia32 into C
- by David Lee
I am trying to translate the following:
Action:
push %ebp #function prolog
mov %esp, %ebp
sub $0x10, %esp
mov 0x8(%ebp), %eax #first line compiles to these 4 lines
imul 0x8(%ebp), %eax
sub $0x7, %eax
mov %eax, -0x4(%ebp)
addl $0x8, 0xc(%ebp) …