unit 1 Flashcards
define cpu
central processing unit
what components does the cpu have?
control unit, alu, buses and registers
what is the role of the control unit?
part of the processor that co-ordinates activity of all other components
how are control signals sent?
sent along the control bus between the control unit and other components
what is a bus?
a series of connectors that transfer signals between internal components and exchange data
what are the 3 buses in the cpu?
control bus, address bus and data bus
what is the control signal memory read?
causes data from the addressed location in RAM to be placed on the data bus
what is the control signal memory write?
causes data on the data bus to be written in to the addressed location in RAM
what is the control signal, bus request?
indicates that a device is requesting use of the data bus
what is the control signal, bus grant?
indicates that the CPU has granted access to the data bus
what is the ALU?
arithmetic logic unit
what is the role of the ALU?
problem solving part of the processor
what is the role of the accumulator?
a single general purpose register that temporarily stores results and data
what is the pc?
program counter
what is the role of the pc?
holds memory address of the next instruction to be executed
what is the cir?
current instruction register
what is the role of the cir?
holds the instruction which is split into opcode and operand
what is the mar?
memory address register
what is the role of the mar?
holds the address in memory where the processor is required to fetch or store data
what is the mdr?
memory data register
what is the role of the mdr?
temporarily holds data moving between the processor and main memory
what are the steps for FETCH in the FDE cycle?
- address of the next instruction is copied from the PC to the MAR
- the instruction held at that address is copied to the MDR
- contents of PC are incremented
- contents of the MDR are copied to the CIR
what are the steps for DECODE in the FDE cycle?
- instruction held in the CIR is decoded
- it is split into operand and opcode to determine the type of instruction it is
- it is passed to the accumulator
what are the steps in the EXECUTE for FDE cycle?
instruction is executed