[Solved]Given Instruction Sequence 40hex Sub 11 2 4 44hex 12 2 5 48hex 13 2 6 4chex Add 1 2 1 50he Q37191445
Given this instruction sequence,
40hex sub $11, $2, $4
44hex and $12, $2, $5
48hex or $13, $2, $6
4Chex add $1, $2, $1
50hex slt $15, $6, $7
54hex lw $16, 50($7)
…
…
assume the instructions to be invoked on an exceptionbegin like this:
80000180hex sw $26, 1000($0)
80000184hex sw $27, 1004($0)
. . .
Show what happens in the pipeline if an overflowexception occurs in the add instruction.
Discuss about possible detection of overflow, addresseswhich are forced into the PC, first instruction fetched on anexception, etc
Expert Answer
Answer to Given this instruction sequence, 40hex sub $11, $2, $4 44hex and $12, $2, $5 48hex or $13, $2, $6 4Chex add $1, $2, $1 5… . . .
OR

