Computer Architectures and Assembly Language Programming Flashcards
A basic computer system consists of?
CPU System Clock Primary Memory (RAM) Secondary Memory (HHD, SSD) Peripheral I/O Devices Bus
The CPU does what?
Executes instructions
Controls the transfer of data across the bus
The CPU consists of?
Control Unit (CU)
Arithmetic Logic Unit (ALU)
Registers
The Control Unit does what?
The CU directs the execution of instructions
The Arithmetic Logic Unit does what?
The ALU performs arithmetic and logical operations on data stored in registers
Registers are?
Registers are binary storage units within the CPU
The System Clock does what?
Generates a clock signal to synchronize the CPU and other clocked devices
Primary Memory is?
Often called Random Access Memory (RAM)
Can be written to and read from
Is volatile
Is used to store program instructions and program data (variables)
Consists of a sequence of addressable memory locations
The Bus is?
A set of parallel data/signal lines
Is used to transfer information between computer components
Often subdivided into address, data, and control busses
Secondary Memory is?
Is used to hold a computer’s file system
Is non-volatile read/write memory
Usually embodied on a hard disk drive (HDD)
Peripheral I/O Devices do what?
Allow communication between the computer and the external environment
Accumulator Machines are a type of CPU Architecture where?
Operands for an instruction come from the accumulator register (ACC) and from a single location in RAM
ALU results are always put into the ACC
The ACC can be loaded from or stored to RAM
Load/Store Machines are a type of CPU Architecture where?
Only load and store instructions can access RAM
Other instructions operate on specified registers in the
register file, not on RAM
Registers are more quickly accessed than RAM, so this is fast
RISC type Architecture:
Uses only simple instructions that can be executed in one machine cycle
Machine instructions are always the same size
CISC type Architecture:
May have instructions that take many cycles to
execute
Machines instructions vary in length, and may be followed by “immediate” data