< previous page page_60 next page >

Page 60
d87111c01013bcda00bb8640fdff6754.gif
(a) ADD R1, R2, R3 (absolutei.e., unsignednumbers)
d87111c01013bcda00bb8640fdff6754.gif
(b) LD R2, #A (the immediate value, A, is stored in the address portion of the IR)
d87111c01013bcda00bb8640fdff6754.gif
(c) LD R2, Addr[R3]
d87111c01013bcda00bb8640fdff6754.gif
Assume memory access = memory write time = 3 cycles.
3. Repeat problem 2 for
BC.NE Target [R3]
ST Addr [R3, R1]
SUB R1, R2, R3

4. Extend the processor (data paths and ICPs) described in problem 2 to execute
d87111c01013bcda00bb8640fdff6754.gif
MPY R1, R2, R3
d87111c01013bcda00bb8640fdff6754.gif
Then show the microcode and timing.
5. Suppose the microcode access time is overlapped with the c.p. control of the data path. Microinstructions must now be fetched one cycle early. What will be the effect on the following image instructions?
d87111c01013bcda00bb8640fdff6754.gif
(a) BC.NE Target [R2]
d87111c01013bcda00bb8640fdff6754.gif
(b) LD    R2, Addr [R1]
d87111c01013bcda00bb8640fdff6754.gif
Assume the overlap facility allows cycles to execute at 1/2 the time indicated in problems 24. Do either of these instructions require extra cycles (more than the unoverlapped host machine)?
6. Evaluate the effects of the following proposed host improvements on cycle count on various instructions considered in problems 2 and 3.
d87111c01013bcda00bb8640fdff6754.gif
(a) Reduce memory access/store time to two cycles.
d87111c01013bcda00bb8640fdff6754.gif
(b) Use a three-ported register set (i.e., eliminate TEMP and allow R1 op R2 ® R3 in one cycle).
7. Suppose an interrupt occurs in problem 2 after an I-fetch but before instruction execution has occurred.
d87111c01013bcda00bb8640fdff6754.gif
A special interrupt bit is set. Extend the host machine (microinstruction, etc.) to handle this and describe the resulting action.
8. A certain computation results in the following (hexadecimal) representation:
Fraction
+1.FFFF ,
Exponent (unbiased)
+F (radix =2).

d87111c01013bcda00bb8640fdff6754.gif
Show the floating-point representation for the preceding in:
d87111c01013bcda00bb8640fdff6754.gif
(a) IBM long format.
d87111c01013bcda00bb8640fdff6754.gif
(b) IEEE short format.
d87111c01013bcda00bb8640fdff6754.gif
(c) IEEE long format.

 
< previous page page_60 next page >