2.1 Hardware & Communication (Remember Diagram) Flashcards
What is a register?
An area to store data
What is the purpose of the Program Counter?
Stores the location of the next instruction.
When its time to load the next instruction, the content of the PC is loaded into the MAR.
What is the purpose of the Current Instruction Register?
Holds the current instruction ready to be decoded and executed by the Control Unit.
What is the purpose of the Memory Address Register?
Temporarily stores the address of the next instruction in main memory.
This is then passed along the address bus to RAM.
What is the purpose of the Memory Data Register?
The contents of the data stored in the MAR is temporarily stored in the MDR.
Program instructions are then passed from main memory to the CPU.
What is the purpose of the accumulator?
It temporarily stores the results of the calculations made by the ALU or any data to be processed.
What occurs during the Fetch stage of the FDE cycle?
- The PC stores the address of the next instruction and the value in the PC is incremented by 1 as instructions are held sequentially and it needs to point to the next one.
- The address of the next instruction is then copied into the MAR.
- The data stored at the address in the MAR is then copied into the MDR.
- Once it is ready, the executable part of the instructions is copied into the CIR.
What occurs during the Decode stage in the FDE cycle?
- The instructions in the CIR are split into two parts: the address and the operation.
- The address part is placed in the MAR and the data fetched is put in the MDR.
What occurs during the execute stage in the FDE cycle?
- The contents of both the MAR and MDR are sent to the central processor.
- The ALU will keep referring back to where the data and instructions are stored while executing them.
- The Control Unit will then follow the instructions that tell them where to fetch the data from. It will then read it and send the necessary signals to other parts of the computer.
What are 2 advantages of the Von Neumann Architecture?
- Nearly all types of data can be processed with this architecture.
- It is cheaper than alternative methods of processing.
What are 4 disadvantages of the Von Neumann Architecture?
- Can be slower than other methods
- Can be limited by the bus transfer rate
- Doesn’t always maximise the use of the CPU
- Poorly written programs result in data mixups as both programs use the same memory.
What is RAM and what is it used for?
Random Access Memory holds programs and associated data when an application is running.
It also holds the operating system.
What is Cache and what is it used for?
Cache is small, extremely fast memory located near the processor that holds intermediate data during processing.
It is much faster to access than RAM and also more expensive.
What is stored in Cache memory?
Regularly used data and instructions are stored in cache.
When the cache is full, the least recently used data is discarded.
What is Parallel Processing?
Two or more processors will work together to perform a single task.
The task is split into smaller sub tasks which are then executed simultaneously by all available processors.