A-Level Answer Sheet - 01 Computer Architecture
A-Level Answer Sheet - 01 Computer Architecture
A-level
Computer
Architecture
teachcomputerscience.com
1.
Activities
teachcomputerscience.com
Activity-1 (Internet research)
Duration: 15 minutes
Register Function
Function of a register:
Used to analyse the result of arithmetic and logical operations
Register diagram:
S Z – AC – P – C
Flag Function
teachcomputerscience.com
Activity-2
Duration: 10 minutes
2004 F4 HLT
To subtract 15 from 22
teachcomputerscience.com
Activity-3
Duration: 15 minutes
Address Contents
98 78
99 65
9A 81
9B 2F
9C 3E
9D 19
9E D4
MAR->9D
Read signal sent by processor to memory
19 (content at 9D) is copied to MDR
teachcomputerscience.com
2.
End of topic
questions
teachcomputerscience.com
End of topic questions
1. What are the three types of bus in computer architecture? Specify
the function of each bus.
teachcomputerscience.com
3. How are the memory locations addressed?
Memory is divided into several fixed segments called words. The words
may be of 16, 32 or 64 bits depending on the processor type. Each word is
uniquely identified by an address.
5. How does the control unit control the memory and peripheral
devices?
The control unit reads the instructions from the memory, decodes it and
sends control signals to the memory and input-output devices.
Register Function
MDR Stores the data involved in read/write operations.
Stores the result of arithmetic and logic operations
ACC
performed by the processor.
Contains the current instruction carried out by the
CIR
processor.
b) Which of the these are used to hold addresses?
Register Function
Stores the address of the location for read/write
MAR
operations.
Contains the location of the instruction that is to be
PC
executed next.
teachcomputerscience.com
7. Explain what happens in the fetch phase of fetch-decode-execute
cycle.
The program counter contains the location of the instruction that is to
be executed next. This address is copied to MAR. The instruction is
fetched from the memory and copied to MDR first. Then, the content
of the MDR is copied to the CIR (Current Instruction Register). The
value in a program counter is incremented by 1 and, hence, the
instruction in the next memory location is processed.
teachcomputerscience.com