Академический Документы
Профессиональный Документы
Культура Документы
For the following Instructions in Table A (location A100 contains value 100).
No. Address Instruction Operation
1 FF00 MOV #200 AC 200
2 FF01 MOV R1, (A100) R1 (A100)
3 FF02 SUB R1 AC AC – R1
4 FF03 BRZ FF00 If Zero flag is set jump to
the address FF00 i.e. PC
FF00
5 FF04 STORE (A100) AC (A100)
Please complete the pipeline in Table B. Please watch out for data dependencies and insert NOOP (No
Operation) Instruction where needed.
TABLE B – TIME
PIPELINE T1 T2 T3 T4 T5 T6 T7 T8 T9 T10 T11 T12 T13 T14
Stgaes
Instruction
No.
1 (1) IFD RW
2 (2) IFD MR
3 (3) IFD RR EAL RW
4(NOOP) IFD
5 (NOOP) IFD
6 (4) IFD RR TSF
7 (NOOP) IFD
8 (NOOP) IFD
9 (5) IFD RR RM
The values in brackets show the original instruction number from Table A