So I'm working on this file. I have to transform complex addressing mode into simple addressing mode.
I've managed to do
movl $0, 0(%esp)
into
addl $0, %esp
movl $0, (%esp)
addl $-0, %esp
works just fine, for all cases.
However I can't do the same thing with
cmpl $4, 28(%esp)
I understand that a compare is not the same as a move. But has anyone an idea how the simple version of the last line would look like? Thx in advance