flat assembler
Message board for the users of flat assembler.
Index
> Main > what is RIP relative addressing? |
Author |
|
r22 01 Apr 2005, 03:18
RIP is the 64 bit EIP register so it points to the address of the next instruction to be executed. So addressing relative to that point in the code would be RIP relative.
|
|||
01 Apr 2005, 03:18 |
|
Madis731 01 Apr 2005, 08:22
AAAAAAAAAAAaaaaaaaaaaaaaa NOW I understand
check this out: IP - instruction pointer (16bit) EIP - (extended) instruction pointer (32bit) RIP - (Really BIG) instruction pointer (64bit) it like AL, AX, EAX, RAX, etc.... |
|||
01 Apr 2005, 08:22 |
|
rea 01 Apr 2005, 13:42
An is not bad (I supose) think like [ebp-4] and all those, but with rip...
Perhaphs the fun question is, for what is used??? access data, code, jump??? _________________ A language should be understable, not commentable and a derivation of the language should continue being understable |
|||
01 Apr 2005, 13:42 |
|
MazeGen 03 Apr 2005, 13:06
rea wrote: Perhaphs the fun question is, for what is used??? access data, code, jump??? AMD manual wrote:
This feature will be very useful in my project. It heavily uses a pointer to huge position-independent global data (array of structures). Now I have to use one of seven general registers (I don't count ESP) to access those data so I'm often lacking registers. With RIP-relative adressing, I can access those data through RIP and I can free that register up |
|||
03 Apr 2005, 13:06 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.