1. Suppose that the meaning of the BUN instruction of the Basic Computer is changed to implement the relative addressing mode, i.e PC a) Write an optimal operation sequence to implement the new...

1 answer below »
1.
Suppose that the meaning of the BUN instruction of the Basic Computer is changed to implement the relative addressing mode, i.e PC

a) Write an optimal operation sequence to implement the new version, but make sure that the value of AC is not changed at the end of your implementation.
b) Is it possible to write an operation sequence to implement the new version such that, at the end of the implementation, the values AC and DR are unchanged? If yes, write such an optimal sequence. Otherwise justify why it is not possible.
2.
Write an optimal sequence of control microinstruction to implement the following register transfer:
x: AR
Your solution should use the minimum number of cycles and it should leave AC unchanged: You may assume that AC contains an 11-bit quantity.
3.
Archie Tecture has to write Basic Computer code that contains lots of "spinning loops" of the form:
Loop: ISZ A
BUN loop
Other code….
He believes that all his "spinning loops" will run faster if he reimplements them once he makes the following changes to the basic computer.
- Add a register to the bus system CTR(count register) to be selected with S1=0
- Replace the ISZ instruction with an instruction that loads a value into CTR:
LDC Address CTR
- Add a register reference instruction ICSZ with the semantics: Increment CTR and skip next instruction if zero.
Answer the following:
a) Using as a model table 5-6, write the register transfer statements for the new instruction ICSZ and LDC
b) Is Archie correct assuming that all his "spinning loops" will run faster once he reimplements them using the next instruction? Justify carefully your answer.
4.
Most machines have a shift left unit attached to the ALU. Using 4x1multiplexors and D-flip-flops, design a 4-bit shifter that accommodates these four operations: no shift, Circular shift left, logical shift right, and Circular shift right. The most significant bit is the sign bit.
Answered Same DayDec 21, 2021

Answer To: 1. Suppose that the meaning of the BUN instruction of the Basic Computer is changed to implement the...

David answered on Dec 21 2021
119 Votes
1.
(a) It is assumed that D0 corresponds to the BUN instruction.
T0: AR  PC
T1: IR  M[AR],
PC  PC + 1
T2: D0…D7  Decode IR(12 - 14), AR  IR(0 – 11), AR  IR(0 – 11), I  IR(15)
D7’I’T3: Nothing
D0T4: TR  AC
D0T5: AC  PC
D0T6: DR  AR
D0T7: AC  AC + DR
D0T8: PC  AC
D0T9: AC  TR
(b)...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here