Addressing Modes
Addressing modes for 16-bit x86 processors can be summarized by this formula:
Addressing modes for 32-bit address size on 32-bit or 64-bit x86 processors can be summarized by this formula:
Addressing modes for 64-bit code on 64-bit x86 processors can be summarized by this formula:
Instruction relative addessing in 64-bit code (RIP + displacement, where RIP is the instruction pointer register) simplifies the implementation of position-independent code (as used in shared libraries in some operating systems).
The 8086 had 64 kB of 8-bit (or alternatively 32 K-word of 16-bit) I/O space, and a 64 kB (one segment) stack in memory supported by computer hardware. Only words (2 bytes) can be pushed to the stack. The stack grows downwards (toward numerically lower addresses), its bottom being pointed by SS:SP. There are 256 interrupts, which can be invoked by both hardware and software. The interrupts can cascade, using the stack to store the return address.
Read more about this topic: X86 Architecture
Famous quotes containing the words addressing and/or modes:
“A writer who writes, I am alone ... can be considered rather comical. It is comical for a man to recognize his solitude by addressing a reader and by using methods that prevent the individual from being alone. The word alone is just as general as the word bread. To pronounce it is to summon to oneself the presence of everything the word excludes.”
—Maurice Blanchot (b. 1907)
“I cannot beat off
Invincible modes of the sea, hearing:
Be a man my son by God.
He turned again
To the purring jet yellowing the murder story,
Deaf to the pathos circling in the air.”
—Allen Tate (18991979)