(P2) Fundamentals of Computer Architecture Flashcards
Describe the fetch part of the FDE cycle.
Contents of PC are transferred to MAR.
Address bus is used to transfer this address to main memory.
Contents of addressed memory location are loaded into MDR.
Transfer of content uses data bus.
Increment contents of PC.
Increment PC and fetch simultaneously.
Transfer content of MDR to the CIR.
Describe the decode part of the FDE cycle.
Decode instruction held by the CIR.
The control unit decodes the instruction.
Instruction split into opcode and operands.
Describe the execute part of the FDE cycle.
If necessary, data is fetched.
The opcode identifies the operation to be carried out by the processor.
Execute instruction by relevant part of processor.
Result stored in accumulator.
Status register is updated.
If there is a jump or branch, update PC.
Give two advantages of using Harvard Architecture compared to Von Neumann Architecture.
Instructions and data memory can have different word lengths.
Instructions and data can be accessed at the same time.
Describe the role of the control unit.
Executes instructions.
Synchronises operation of processor.
Sends control signals to other components.
Control the transfer of data between registers.
Handles interrupts.
What is cache memory?
Memory that can be accessed quickly and is close to the processor.
What is cache memory used for?
Storing frequently used data.
Why does an increase in cache increase the performance of a processor?
More instructions can be stored in cache.
Fewer fetches from main memory are required.
Describe the role of interrupts.
Allows currently executing process to be suspended so that any devices that need immediate attention of the processor can be dealt with.
Explain why the volatile environment (the contents of registers) must be saved before an interrupt is serviced.
So that the current running process can be returned to.
As the code that deals with the interrupt will change values.
What is immediate addressing?
The operand is the value that instruction should use.
Explain the effect of increasing the width of a data bus.
Speed at which data can be retrieved will be increased.
Explain the effect of increasing the width of an address bus by 1 bit.
Amount of available memory locations will double.
Explain the advantages of using a laser printer.
Low cost per printed page.
Toner is cheaper per page than ink.
Toner does not expire as quickly as ink.
Explain the advantages of a wireless printer.
Easy to share priner between many devices.
No need for cabling.