components of a processor Flashcards
ALU
arithmetic and logic unit.
completes all the arithmetical and logical operations. arithmetical operations invlufe all mathematical operations and the logical operations include boolean logic operations such as AND, OR, NOT and XOR
what is the control unit?
the component of a processor that directs the operations of the cpu
the control units jobs
- controlling and coordinating the activities of the CPU
- accepts the next instruction
- decodes instructions
-managing the flow of data between the CPU and other devices - stores resulting data back into memory
what are registers?
they temporarily store data and all arithmetical and logical and shift operations occur in registers.
what are the registers?
- program counter
- accumulator
- memory address register
- memory data register
- current instruction register
program counter job
holds address of next instruction to be executed
accumulator job
stores results from calculations
memory address register
holds the adress of a location that is to be read from or written to
memory data register
temporarily stores data that has been read or data that needs to be written
current instruction register
holds the current instruction being executed, divided into operand and opcode.
what are buses?
a set of parallel wires which connencts two or more components inside the cpu.
collectively called the system bus.
data bus
bi directional bus used for transporting data and instructions between components
address bus
trasnmits the memory address specifying where data is to be sent to or retrieved from.
control bus
bidirectional bus used to transmit control signals between internal and external components.
what are the 6 control signals
- bus request
- bus grant
- memory write
- memory read
- interrupt request
- clock