Components Of The CPU Flashcards
1
Q
What is the purpose of the control unit?
A
- coordinates all activities of the CPU
- Directs the flow of data between CPU and other devices
- sends read/write requests to memory
- coordinates and communicates with all parts of CPU
2
Q
What is the purpose of the programme counter?
A
- it is a register
- holds the address of the next instruction to be executed (either the next in a sequence or the address to jump to)
- at the start of each FDE cycle, contents of the register are copied to MAR
3
Q
What is the purpose of the MAR?
A
- it is a register
- memory address register
- holds the adress of the memory location to read from or write to
- sends address to memory down the address bus
4
Q
What is the purpose of the MDR?
A
- it is a register
- memory data register
- temporary stores data read from or to be written to memory
- sometimes called the memory buffer register
- all data going to and from memory must pass through this
5
Q
What is the purpose of the CIR?
A
- current instruction register
- it is a register
- contents of the MDR are copied here if it is an instruction
- contains opcode and operand of instruction
6
Q
What is an opcode and where is it?
A
- the information telling you what to do with the data
- the first half of the instruction
7
Q
What is an operand and where is it?
A
- the adress of the memory location with the data to be operated on in it
- the second half of the instruction
8
Q
What is the purpose of the ALU?
A
- performs arithmetic and logical operations on data, as well as binary shifts
9
Q
What is the purpose of the accumulator?
A
- it is a register
- one of the general purpose registers, where data or control information is stored
- the results of the ALU are often stored here
10
Q
What is the purpose of the address bus?
A
- unidirectional (data can only flow to memory)
- carries memory addresses that identify where data is being read from or written to
11
Q
What is the purpose of the data bus?
A
- bidirectional (data can flow both ways)
- carries the binary that makes up the information being transmitted around the CPU
12
Q
What is the purpose of the control bus?
A
- bidirectional (data can flow both ways)
- carries command and control signals to all components of the CPU