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

Table 10-6

Example Microprograms for CISC Architecture MI: MC - ST, MI: MC-00 MC - MC + 1 (NOP) R16 MC R17 MC  Action

(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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Logic And Computer Design Fundamentals Questions!