1.1.1 Flashcards
Control unit
Controls and coordinates all activities of the CPU.
Directs flow of data between CPU and other devices.
Arithmetic logic unit (ALU)
Carries out arithmetic and logic calculations.
Arithmetic operations are on fixed and floating point numbers: ADD/ SUBTRACT/ MULTIPLY / DIVIDE
Boolean logic operations: Comparison /AND /OR/ NOT/ XOR
Often uses general purpose registers to temporarily hold results of calculations such as accumulator.
Registers
Are small storage locations used to hold data temporarily.
They have high read and write speeds.
Program counter (PC)
Stores the address of the next instruction.
Has a very close relationship to MAR, at the start of every fetch, decode, execute cycle address held in PC is stored in MAR.
Memory address register (MAR)
Temporarily holds the address of the memory location which needs to be fetched or set from main memory that the processor needs to access.
Memory data register (MDR)
Used to temporarily store data which is read from/ written to memory.
Sometimes known as buffer register (MBR)
All data to and form memory must travel down data bus and pass through MDR.
Current instruction register (CIR)
Area where the current instruction is being carried out. The operation is divided into operand and opcode.
Accumulator
Stores the results of the calculations made by the ALU.
Interrupt register
Generates and detects interrupts.
Assembly code
Uses mnemonics to present instructions, for instance SUB represents subtraction. This is a simplified way of representing machine code, easier to remember than binary.
Assembly code mnemonics
Simplified
Buses
Communication paths between the CPU, memory and other components.
Address bus
A one directional bus that transmits memory addresses that are used as operands in programming instructions, so that data can be retrieved from main memory.
Data bus
A bi-directional path for moving data and instructions between system components.
Control bus
A bi-directional bus to transmit command, timing and specific status information between system components