CSCI 223 Quiz 4 Flashcards
ISA
Instruction Set Architecture - interface between software and hardware
ISA is considered (micro/macro)architecture
macroarchitecture
microarchitecture
implementation of macroarchitecture; not visible to software; can vary as long as it satisfies the macroarchitecture
system stack: software
problem, algorithm, program
system stack: hardware
microarchitecture, circuits, transistors
Moore’s Law
transistor counts double every 18-24 months on a single chip (means the performance will double)
PC (program counter)
contains the address of the next instruction to execute; called “%eip” (IA32) or “%rip” (x86-64)
register file
collection of registers; used to store heavily used program data
condition codes
store status information about most recent arithmetic operation; used for conditional branching
memory
byte addressable array; code, user data, some OS data; includes stack used to support procedures
three basic operations of machine instructions
- arithmetic and logic operation (ALU)
- memory operation (AKA data movement)
- control-flow operation
x86 is a (CISC/RISC) type
CISC
CISC
Complex Instruction Set Computers; large number of instructions, varying instruction length, various addressing formats, complex compiler and hardware, compact code size
RISC
Reduced Instruction Set Computers; smaller number of instructions, fixed instruction length, only a few addressing formats, simpler compiler and hardware, larger code size
assembly data types
integer data (including memory address), floating point data; no aggregate types such as arrays or structures, just continuously allocated bytes in memory