1.4.1 — CPU architecture
1.4.2 — The fetch-execute cycle
1.4.3 — The processor's instruction set
1.4.4 — Assembly language
A model which describes the architecture of a computer; consists of 4 main parts, each with their own components:
with an underlying part:
see Types of Registers
Registers that hold data before and after it has been processed.
Registers that are dedicated to a specific use.
zero flag
carry flag
sign / negative flag
overflow flag
Buses are wires that transmit data from component to component in parallel. Each wire carries a single bit.
Also known as word size.
Also known as Universal Serial Bus.
Also known as the instruction cycle, is a cycle depicting the basic operation of a computer system.
MAR ← [PC]PC ← [PC] + 1; MDR ← [ [MAR] ]IR ← [MDR]MAR ← [PC]PC ← [PC] + 1; MDR ← [[MAR]]MAR ← [PC]MDR ← [[MAR]]A signal to the processor emitted by hardware or software indicating an event that needs immediate attention.
Also known as Interrupt Service Routine.
A complete set of all the instructions in machine code that can be recognised and executed by the CPU.
Sets a register to a value, copies data from a memory location to a register or read/writes from a hardware device.
Immediate addressing.
Direct addressing.
Indirect addressing.
Indexed addressing.
Performs mathematical calculations.
Compares two registers to see whether one is greater than, less than or equal to one another.
Jump (or branch) to a specified instruction. Can optionally depend on conditions of TRUE or FALSE.
MOTOR_ON
FB21
A language construct (word syntax).
Also known as macroinstructions.
This type of assembler scans over the source code twice; hence 'two-pass'.