I'm looking at a piece of assembly code and I'm stuck trying to make sense of something:
incl (%ebx, %eax, 4)
What exactly does this do? I tried plugging it into a .s
file and compiling then watching registers in GDB but when it passes the instruction after I set ebx
to an address and eax
to 1 it changed nothing... I'm guessing I don't understand how to use it properly. Can anyone help?