4.7.1 Internal Hardware components of a compute 4.7.2 The stored Program concept Flashcards
Explain the role of the processor?
1) The Processor responds to and processes the instructions that drive the computer
2) It contains the control unit, the arithmetic logic unit (ALU) and the registers
3) The control unit coordinates and controls all the operations carried out by the computer
4) The processor repeats the following operations
- Fetch: Causes nest instruction to be fetched from memory
- Decode: Decodes the instruction
- Execute: Causes the instructions o be executed
What is the function of the ALU?
The Arithmetic Logic Unit (ALU) performs:
1) Addition
2) Subtraction
3) Multiplication
4) Division
What is a bus? (ADC)
A bus is a set of parallel wires connecting two or more components of a computer the processor connects to the main memory via three main busses
1) Address Bus
2) Data Bus
3) Control Bus
What is the address bus?
1) The address bus is used to transport memory location addresses of the register the data is being carried to
2) The width of the address bus determines the maximum possible capacity of the system
What is the data bus?
1) The data bus is bi-directional for carrying data and instructions between the processor and memory
2) Width of the data bus is important towards the overall performance
3) If the bus is 8 bits wide and each instruction is 16 bits wide the processor must access the main memory twice to fetch the instruction
What is the control bus?
1) Bi-Directional bus that carries signals
2) Transmits command timing and specific status information between the system components
What are the I/O controllers?
1) An I/O controller is a device that interacts between an input or output device and the processor
2) The device has a separate controller that connects to the control bus
3) Controllers receive input and output from the processor and then send back specific control signals to the device that they control
What is main memory?
1) Main memory is memory that can be accessed directly by the processor. The main memory consists of memory locations that store instructions or data. There are two types of main memory:
1) volatile memory, which loses its contents when the power is removed
2) non-volatile memory, which keeps its contents even without power
Usually refers to RAM (random access memory) which is a volatile memory
What is the Von Neumann architecture?
1) This architecture specifies the basic components of the computer and processor in which a shared memory bus is used for both data and instructions
2) Makes use of the stored program concept where machine code instructions are fetched and executed serially by a processor that performs arithmetic and logical operations
3) This architecture is used extensively in general-purpose computing systems
What is the Harvard architecture?
1) A computer architecture with physically seperate memories for instructions and data
2) Used in embedded systems such as Digital processing systems (DSP)
What is the difference between the Von Neumann and Harvard architectures?
1) Harvard architecture is faster than Von Neuman as data and instructions are fetched in parallel rather than competing for the same bus
What is the function of the control unit?
1) The Control unit controls and coordinates the activities of the CPU directing the flow of data between the CPU and other devices
2) It accepts instructions, breaks them down into sequential steps, manages execution and stores the result in memory and registers
What is the System clock?
1) Generates a series of signals between 0 and 1 billion times a second
2) Synchronizes CPU Operations
3) E.g. A 3GHz processor’s clock ticks three billion times per second
4) Operations start as the clock changes from 0 to 1 and the CPU cannot perform operations faster than the clock cycle
What are General Purpose registers (Accumulator) ?
1) 16 registers in a CPU
2) All arithmetic, logical and shift operations occur in registers
3)
- Load contents of 150 into R1
- Add contents of 164 to R1
- Store contents of R1 to 170
4) Also known as a accumulator
What is the program counter (PC)?
1) Hold the address of the next instruction to be executed
2) E.g. Next instruction in a sequence of instructions