Computer Systems: Chapter 2 (Computer Structure) Flashcards
What are the 3 main parts of the CPU?
- Control Unit
- Arithmetic and Logic Unit (ALU)
- Registers
What is the ALU?
The ALU carries out the calculations and performs the logical operations
What is the Control Unit?
The Control Unit controls all other parts of the processor and makes sure that the program instructions of the computer are carried out in the correct order
What are the Registers?
The Registers are a group of storage locations internal to the processor that hold data being processed, instructions being executed and addresses to be accessed
What do the buses do?
They connect the processor to the memory and input/output devices
What is the Data bus?
The Data bus carries data to and from the processor to the main memory and any other devices attached to the Data bus, and is bi-directional
What is the Address bus?
The Address bus carries the address information from the processor to the main memory and any other devices attached to the Address bus, and is unidirectional
What 5 lines is the Control bus made up of?
The Control bus is made up of the read, write, clock, interrupt, and reset lines
What is the Read line in the Control bus?
The Read line instructs memory to place data from the specified memory address on the Data bus
What is the Write line in the Control bus?
The Write line instructs memory to take data on the data bus and place it in the location specified by the address bus
What is the Clock line in the Control bus?
The Clock line carries a series of clock pulses at a constant rate in order to synchronise all operations of the CPU
What is the Interrupt line in the Control bus?
The Interrupt line sends a signal to the processor from a peripheral device to stop one routine and give control of the processor to the peripheral device
What is the Reset line in the Control bus?
The Reset line returns the processor to its initial state by stopping the current process, saving the contents of the Registers and then resets the system
What is the Fetch-Execute cycle?
It is the way in which the processor takes in an instruction from memory (fetch) and carries out that instruction (execute)
What are the steps involved in a memory Read operation? (4)
- The processor sets up the Address bus with the required memory address
- The Control Unit activates the read line on the Control bus
- The contents of the particular storage location in memory are released onto the Data bus and copied into the processor’s Memory Data Register.
- If the contents are an instruction then it’s decoded and executed