1.1.1 Structure and function of the processor Flashcards
1.1.1 A)
What does the CU(control unit) do ?
The CU ππ¨π¨π«ππ’π§ππππ¬ all the activities in the cpu
directs the flow of data between cpu and other components
- [ ] Decodes and controls bus CU
1.1.1 A)
What does the ALU(arithmetic and logic unit) do?
completes all Arithmetic and logical operations
can preform data shifts within a register
1.1.1 A)
What is a register
A small memory cell operating at high speed , temp store of data
1.1.1 A)
Name 5 registers inside the cpu
program counter (pc)
current instruction register (cir)
memory address register (mar)
memory data register (mdr)
accumulator
1.1.1 A)
what does the program counter do?
holds the address of the next instruction
to be executed
1.1.1 A)
what does the memory address register do?
holds address of location that data is to be read from or written too in the main memory
1.1.1 A)
what does the memory data register do?
temp holds data thats been read from or written too the main memory
1.1.1 A)
what does the current instruction register do?
holds the current instruction
decodes the instruction by turning it into opcode and operand
1.1.1 A)
What is the difference between opcode and operand example ADD#3
operation code is the βaddβ
operand is the value β#3β
1.1.1 A)
what does the accumulator do?
temp stores data while calculations are being carried out
I/O in processors used as a buffer / gateway
1.1.1 A)what is a bus
what are the 3 buses
a set of parallel wires connecting two or more components inside the cpu
address
data
control
1.1.1 A)
whats the width of the βbusβ
Width of the bus is the number of parallel wires the width is directly proportional to the # of bits that can be transferred simultaneously
1.1.1 A)
describe the address bus
unidirectional
Transmits the memory addresses specifying where data is send too or received from
width of bus directly proportional to # of addressable locations
1.1.1 A)
describe the data bus
bidirectional
carries binary data around the cpu/computer (around the main memory, mm > mdr)
1.1.1 A)
describe the control bus
bidirectional
control lines ensure that the use of data and address buses by different components doesnβt lead to conflict
transmits control signals between in/external components uses other buses to provide status
example of control lines
- bus request - device requesting to use data bus
- bus grant - grants permission to use data bus
- memory r/w - data r/w to specific locations
- clock - to sync operations