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
What is the function of the MDR?
Stores the fetched instruction/ the instruction to be processed
What is the function of the Program Counter?
Stores the address of the next (or current) instruction to be run
What is the function of the Accumulator?
Stores the result of calculations/processes
Why does cache size affect the performance of the CPU?
- Data is transferred faster
- Makes the CPU more efficient
How can having a higher processor affect the performance of the CPU?
- Faster/ Higher clock speed
- More Fetch Execute Cycles
- More Instructions can be executed per second
Explain why having a quad- core processor will not always run twice as fast as a dual- core processor?
- Software may be designed to run 1 core and not multiple
- Dual core may have a faster clock speed than a quad core
- Quad core may have less RAM
- Quad core may have less cache
What is Cache Memory?
High speed memory inside the processor that stores frequently used instructions
What is machine code?
- A binary programming language used by a CPU
- All code is eventually converted to machine code
- Unique to each CPU type
What is the Stored Program Concept?
- Instructions and data are stored in memory together