Question: Repeat Problem 10-21 for the CISC instruction, Memory Vector Add. This instruction uses the contents of R[SB] as the vector length. It adds the vector
Repeat Problem 10-21 for the CISC instruction, Memory Vector Add. This instruction uses the contents of R[SB] as the vector length. It adds the vector with its least signiicant element in memory pointed to by R[SA] to the vector with its least signiicant element in memory pointed to by R[DR]. The result of the addition replaces the vector with its least signiicant element pointed to by R[DR].
Problem 10-21
Write microcode for the execution part of each of the following CISC instructions. Give both a register transfer description and binary or hexadecimal representations similar to those shown in Table 10-6 for the binary code for each microinstruction.
![(a) Push: R[SA] DR=SA. R[SA] + 1 followed by M[R[SA]] R[SB]. Assume (b) Pop: R[DR] M[R[SA]] followed by](https://dsd5zvtm8ll6.cloudfront.net/images/question_images/1704/5/7/4/5426599be4e5df141704574540551.jpg)
Table 10-6

(a) Branch if overflow
(b) Branch if greater than zero
(c) Compare less than
(a) Push: R[SA] DR=SA. R[SA] + 1 followed by M[R[SA]] R[SB]. Assume (b) Pop: R[DR] M[R[SA]] followed by R[SA] R[SA] 1. Assume SB=SA.
Step by Step Solution
3.54 Rating (154 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
