TABLE 7-2 Symbolic Microprogram (Partial) Label Microoperations CD BR AD ORG O ADD: NOP I CALL INDRCT READ JMP NEXT ADD U JMP FETCH ORG 4 BRANCH: NOP S JMP OVER NOP NOP FETCH INDRCT U JMP OVER: I CALL...



7-16.
Add the following instructions to the computer of Sec 7-3 (EA is the effective address). Write the symbolic microprogram for each routine as in Table 7-2. (Note that AC must not change in value unless the instruction specifies a change in AC.)






































Symbol




Opcode




Symbolic Function




Description



AND



0100



AC ← AC ∧ M[EA]



AND



SUB



0101



AC ← AC - M[EA]



Subtract



ADM



0110



M[EA] ← M[EA] + AC



Add to memory



TABLE 7-2 Symbolic Microprogram (Partial)<br>Label<br>Microoperations<br>CD<br>BR<br>AD<br>ORG O<br>ADD:<br>NOP<br>I<br>CALL<br>INDRCT<br>READ<br>JMP<br>NEXT<br>ADD<br>U<br>JMP<br>FETCH<br>ORG 4<br>BRANCH:<br>NOP<br>S<br>JMP<br>OVER<br>NOP<br>NOP<br>FETCH<br>INDRCT<br>U<br>JMP<br>OVER:<br>I<br>CALL<br>ARTPC<br>U<br>JMP<br>FETCH<br>ORG 8<br>NOP<br>АCTDR<br>STORE:<br>I<br>CALL<br>INDRCT<br>U<br>JMP<br>NEXT<br>WRITE<br>JMP<br>FETCH<br>ORG 12<br>NOP<br>READ<br>EXCHANGE:<br>I<br>CALL<br>INDRCT<br>JMP<br>NEXT<br>ACTDR, DRTAC<br>WRITE<br>JMP<br>NEXT<br>U<br>JMP<br>FETCH<br>ORG 64<br>FETCH:<br>РСТAR<br>JMP<br>JMP<br>NEXT<br>READ, INCPC<br>NEXT<br>DRTAR<br>U<br>МАР<br>JMP<br>RET<br>INDRCT:<br>READ<br>U<br>NEXT<br>DRTAR<br>U<br>

Extracted text: TABLE 7-2 Symbolic Microprogram (Partial) Label Microoperations CD BR AD ORG O ADD: NOP I CALL INDRCT READ JMP NEXT ADD U JMP FETCH ORG 4 BRANCH: NOP S JMP OVER NOP NOP FETCH INDRCT U JMP OVER: I CALL ARTPC U JMP FETCH ORG 8 NOP АCTDR STORE: I CALL INDRCT U JMP NEXT WRITE JMP FETCH ORG 12 NOP READ EXCHANGE: I CALL INDRCT JMP NEXT ACTDR, DRTAC WRITE JMP NEXT U JMP FETCH ORG 64 FETCH: РСТAR JMP JMP NEXT READ, INCPC NEXT DRTAR U МАР JMP RET INDRCT: READ U NEXT DRTAR U

Jun 06, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here