1.1.1 Structure and Function of the Processor Flashcards
What does the ALU do?
The ALU (Arithmetic and Logic Unit) completes all of the arithmetical and logical operations.
What are the arithmetic operations?
Arithmetical operations include all mathematical operations such as addition
and subtraction on fixed or floating point numbers
What are the logical operations?
Logical operations include boolean logic operations such as AND, OR, NOT, and XOR.
What does the Control Unit do?
It directs the operations of the CPU.
Give 5 roles of the CU
- Controlling and coordinating the activities of the CPU
- Managing the flow of data between the CPU and other devices
- Accepting the next instruction
- Decoding instructions
- Storing the resulting data back in memory
What are registers?
Registers are small memory cells that operate at a very high speed. They are used to temporarily store data.
What happens in registers?
All arithmetic, logical and shift operations
What the PC do?
Holds the address of the next instruction to
be executed.
What does the ACC do?
Stores the results from calculations.
What does the MAR do?
Holds the address of a location that is to be
read from or written to.
What does the MDR do?
Temporarily stores data that has been read
or data that needs to be written.
What does the CIR do?
Holds the current instruction being
executed, divided up into operand and
opcode
What are buses?
Buses are a set of parallel wires which connect two or more components inside the CPU
What buses do the CPU have? - What are they collectively called.
data bus, control bus, and address bus. These buses
collectively are called the system bus.
What is the width of a bus?
The number of parallel wires the bus has. The width of the bus is directly proportional to the number of bits that can be transferred simultaneously at any given time. Buses are typically 8, 16, 32 or 64 wires wide.
What is the data bus?
This is a bi-directional bus, used for transporting data and instructions between components.
What is the address bus?
This is the bus used to transmit the memory addresses specifying where data is to be sent
to or retrieved from.