Unit 1.1 Flashcards
What does CPU stand for?
Central Processing Unit
What is the purpose of the CPU?
The purpose of the CPU is to fetch instructions from RAM, decode them and execute them. It may process data in the ALU and may store data in RAM once the instruction is executed.
What process does the Von-Neumann architecture follow?
follows a linear process – FETCH/DECODE/EXECUTE
What does the Von-Neumann architecture consist of?
This architecture has a single processor which retrieves instructions and data from memory (RAM)
Has: PC, MAR, CU, CIR, MDR, ACC, ALU, address bus, control bus and data bus connected to RAM
What is a register on the CPU?
A register is a small block of memory to hold data, normally about 4/8 bytes, which is used in order for instructions to be processed.
What does PC stand for?
Program Counter
What does MAR stand for?
Memory Address Register
What does MDR stand for?
Memory Data Register
What does ACC stand for?
Accumulator
What does CIR stand for?
Current Instruction Register
What is the purpose of the PC?
Stores the memory address of the next instruction. Is incremented by one after an instruction is fetched.
What is the purpose of the MAR?
A special purpose register which stores the address of the next instruction or data to be fetched into the CPU. This is where the address that was read by the PC is sent.
What is the purpose of the MDR?
A special purpose register which stores the data fetched using the address found in the MAR.
What is the purpose of the ACC?
Stores a running total of the calculation that is currently happening.
What is the purpose of the CIR?
Holds the instruction (and associated data) that is currently being implemented – added at the end of Fetch cycle from MDR (because MDR may be overwritten in execute cycle.