1.1.1 (Structure and function of the processor) Flashcards
What is the Harvard architecture?
- Data and instructions are stored and fetched separately
- Can process instructions and data at the same time
Compare Von Neumann and Harvard architecture
- Von Neumann is adaptable and conventional
- Harvard is faster and more complex
What is an address bus?
- Transmits the address of data to be loaded from the CPU to memory
- Carries the location to read/write data
- It goes one way
What is a data bus?
- Transmits data between components
- Goes both directions
What is a control bus?
- Transmits command, timing, and status information between components
What is assembly language?
- A low level programming language
- Each command maps directly to a machine code instruction
Describe what happens in the “fetch” part of the fetch-execute cycle?
- The address of the instruction to be fetched is placed into the MAR.
- The instruction is fetched from memory. - - The instruction is transferred to the MDR.
Describe what happens in the “decode” part of the fetch-execute cycle?
The instruction is decoded
Describe what happens in the “execute” part of the fetch-execute cycle?
The decoded instruction is then executed so that the CPU performs continuously
Describe what happens at the end of the fetch execute cycle?
- The process is repeated
- The program counter is incremented
What operations does the ALU perform?
Arithmetic and logic operations
What does the Control Unit (CU) do?
- Sends signals to control the fetch execute cycle.
- Co-ordinates the flow of data through the CPU
What is a CPU register?
- The section of high-speed memory within the CPU that stores data to be processed
State two features of the MAR?
- It is a register
- It stores a single address
What is the function of the MAR?
- Stores the address of the instruction that is going to be fetched
- Holds the address in memory where data is going to be transferred to