Section 1 - Components Of A Computer Flashcards
What is the purpose of the CPU?
Central Processing Unit:
The purpose of the CPU is to process data and instructions by constantly repeating the fetch - decode - execute cycle.
What are the components of a CPU?
Registers
Control Unit
Buses
Cache
Clock
What is the Control Unit?
The Control Unit controls and coordinates the activities of the CPU, directing the flow of data between the CPU and other devices.
What are the types of Buses?
Data Bus
Address Bus
Control Bus
What is an Address Bus?
The address bus transmits the memory addresses of words that are used as operands in program instructions, so that the data can be retrieved and sent back to the processor.
What is a Data Bus?
A data bus, typically consisting of 8, 16, 32 or 64 separate lines, provides a bi-directional path for moving data and instructions between system components.
What is a Control Bus?
A control bus is a bi-directional bus meaning signals can be carried in both directions. The data and address buses are shared by all components of the system. Control lines must therefore be provided to ensure that access to and use of the data and address buses by the different components of the system does not lead to conflict.
The purpose of the control bus is to transmit command, timing and specific status information between system components.
What are the Control Lines?
Bus Request: Indicates that a device is requesting the use of a data bus
Bus Grant: Indicates that the CPU has granted access to the data bus
Memory Write: Causes data on the data bus to be written into the addressed location
Memory Read: Causes data from the addressed location to be placed on the data bus
Interrupt Request: Indicates that a device is requesting access to the CPU
Clock: Used to synchronize operations
What is the ALU?
Arithmetic Logic Unit:
The ALU performs arithmetic and logical operations on the data. It can perform instructions such ass ADD, SUBTRACT, MULTIPLY, DIVIDE on fixed or floating point numbers. It can also perform shift operations, shifting bits to the left or right within a register. It can carry out boolean logic operations such as AND, OR, NOT, XOR.
What are Registers?
Registers are special memory cells that operate at very high speed. Results of all arithmetic, logical or shift operations are temporarily stored in registers. Typically there is up to 16 general purpose registers in the CPU.
What are the types of Registers?
Accumulator (ACC)
Program Counter (PC)
Current Instruction Register (CIR)
Memory Address Register (MAR)
Memory Data Register (MDR)
What is the Accumulator (ACC)?
The accumulator stores the result of calculations and logical operations from the ALU.
What is the Program Counter (PC)?
The program counter holds the address of the next instruction to be executed.
What is the Current Instruction Register (CIR)?
The current instruction register hold the current instruction being executed, divided into operand and opcode.
What is the Memory Address Register (MAR)?
The memory address register holds the address of the memory location from which data (or an instruction) is to be fetched or to which data is to be written.
What is the Memory Data Register (MDR)?
The memory data register is used the temporarily store the data read from or written to the memory. It is sometimes known as the memory buffer register.
What is the fetch-decode-execute cycle?
The FDE cycle is the sequence of operations involved in executing an instruction, divided into three phases. Fetching, Decoding and Executing. This cycle is repeated over and over as each program is executed.