processor components Flashcards
arithmetic logic unit
the alu completes all of the arithmetical and logical operations.includes all mathematical operations.Logical operations include boolean and logic operations such as And ,or ,not ,and and xor
control unit
The control units is the component of the processor which directs the operation of the cpu.it has the following jobs:
- managing the flow of data between the cpu and other devices
- accepting the next instruction
- decoding instructions
- storing the resulting data back in memory
registers
registers are the small memory cells that operate at a very high speed , used to temporarily store data and all arithmetic ,logical and shift operations
program counter (register ) accumulator(register) memory address register
purpose : holds address of the next instruction to be executed
purpose: stores results from calculations
purpose: holds the address of a location that is to be read or written to
memory data register
current instruction register
purpose: temporarily stores data that has been read or data that needs to be written
purpose: holds the current instruction being executed ,divided into operand and opcode
bus
Buses are a set of parallel wires which connect two or more components inside the CPU.
There are three buses in the CPU: data bus, control bus, and address bus.
data bus
This is a bi-directional bus (meaning bits can be carried in both directions). This is used for
transporting data and instructions between components.
address bus
This is the bus used to transmit the memory addresses specifying where data is to be sent to or retrieved from.
control bus
This is a bi-directional bus used to transmit control signals between internal and external
components.
control signals include
- Bus request: shows that a device is requesting the use of the data bus
- Bus grant: shows that the CPU has granted access to the data bus
- Memory write: data is written into the addressed location using this bus
- Memory read: data is read from a specific location to be placed onto the data bus,
- Interrupt request: shows that a device is requesting access to the CPU
- Clock: used to synchronise operations