Chapter 2-1 Flashcards
Is considered as this because its registers are used during application programming and are specified by the instructions.
Program Visible
Are considered as this because they are not addressable directly during applications programming, but may be used indirectly during system programming.
Program Invisible
What are the 8-bit registers
AH, AL, BH, BL, CH, CL, DH, DL
Are referred to when an instruction is formed using two-letter designations.
8-bit registers
What are the 16-bit registers
AX, BX, CX, DX, SP, BP, DI, SI, IP, FLAGS, CS, DS, ES, SS, FS, GS
What are the 32-bit registers?
EAX, EBX, ECX, EDX, ESP, EBP, EDI, ESI, EIP, EFLAGS
Override used to access lower-order byte
B
Override used to access lower-order word
W
Override used to access lower-order doubleword
D
Override used to access lower-order quadword
There is no special letter
What are the Multipurpose Registers?
RAX, RBX, RCX, RDX, RBP, RDI, RSI, R8 - R15
Is used for instructions such as multiplication, division and some of the adjustment instructions.
Accumulator (RAX)
32, 16, and 8 bit register reference of RAX
EAX; AX; AH or AL
Sometimes holds the offset address of a location in the memory system in all versions of the microprocessor.
Base Index (RBX)
32, 16, and 8 bit register reference of RBX
EBX; BX; BH & BL
Is a general-purpose register that also holds the count for various instructions.
Count (RCX)
32, 16, and 8 bit register reference of RCX
ECX; CX; CH or CL
Uses CL as the count
Shift and Rotate Intructions
Uses CX as count
Repeated String Instructions
Uses either CX or ECX as count
LOOP/LOOPD Instructions
If operated in the 64-bit mode, uses RCX for the counter.
LOOP
Examples of repeated string instructions
REP / REPE / REPNE
What does REP represent?
Repeat
What does REPE represent?
Repeat while Equal
What does REPNE represent?
Repeat while Not Equal
is a general-purpose register that holds a part of the result from a multiplication or part of the dividend before a division.
Data (RDX)
32, 16, and 8 bit register reference of RDX
EDX; DX; DH or DL
points to a memory location in all versions of the microprocessor for memory data transfers.
Base Pointer (RBP)
32, 16, and 8 bit register reference of RBP
EBP; BP; none
often addresses string destination data for the string instructions.
Destination Index (RDI)
32, 16, and 8 bit register reference of RDI
EDI; DI; none
often addresses source string data for the string instructions.
Source Index (RSI)
32, 16, and 8 bit register reference of RSI
ESI; SI; none
These registers are only found in the Pentium 4 and Core2 if 64-bit extensions are enabled.
R8 through R15
What are the special-purpose registers?
RIP, RSP and RFLAGS