slae x32 intro Flashcards
What are the computer building blocks?
CPU, Memory, IO devices
What components make up the CPU?
Control Unit, Execution Unit, Registers, Flags
What does the Control Unit handle?
Retrieve / Decode instructions / Store data in memory
Execution Unit?
Actual execution of instruction happens
What do the registers handle?
Internal memory locations used as “variables”
What are Flags?
Used to indicate various “event” when execution is happening
What are the Logical IA-32 Registers?
General Purpose, Segment, Flags and EIP, Floating Point Unit Registers, MMX Registers, XMM Registers
What are the first 4 General Purpose Registers?
EAX, EBX, ECX, EDX
What are the second 4 General Purpose Registers?
ESP, EBP, ESI, EDI
EAX common functionality?
Accumulator Register is used for storing operands and the result data
EBX common functionality?
Base Register - points to data
ECX common functionality?
Count Register - Loop operations
EDX common functionality?
Data Register - I/O Pointer
ESI and EDI common functionality?
Data Pointer Registers for memory operations
ESP common functionality?
Stack Pointer Register