Instruction pointer
So apparently on 64 bit assembly, you can do something like
and it is legal, but how come on 16 and 32 bit you can't directly do anything that has to do with the IP?
In my entire assembly experience i've been working in 16 bit, so is there something different about 64 bit? Based off the differences that I already am aware of (different memory addressing etc etc) I still can't catch what's different
what is different with
?
I'm assuming that they added accessing the IP in 64 bit as a new feature but didn't before?
Code:
lea rax, [rip]
In my entire assembly experience i've been working in 16 bit, so is there something different about 64 bit? Based off the differences that I already am aware of (different memory addressing etc etc) I still can't catch what's different
what is different with
Code:
lea eax, [eip]
I'm assuming that they added accessing the IP in 64 bit as a new feature but didn't before?