Question: 4. (2 pts) Using the below table, translate the following machine codes which are stored in the memory of the 16-bit Basic Computer that was
4. (2 pts) Using the below table, translate the following machine codes which are stored in the memory of the 16-bit Basic Computer that was presented in the textbook (see Table 6 of teh Annex and Figure 2) to their equivalent assembly language instructions.
| Machine Code (in HEX) | Assembly Code |
|---|---|
| 381D | |
| 8456 | |
| CBAC | |
| 5777 |

The 16-bit Basic Computer of the textbook Fig. 2. Basic Computer registers connected to a common bus Table 6: Instructions list Symboll Hex Description code AND 0 or 8 AND M to AC ADD or9 Add M to AC, carry to E LDA 2 or A Load AC from M STA BUN BSA Memory 4096x 16 Store AC in M 3 or B 4 or C 5 or D WRea Branch unconditionally to m Save return address in m and branch to m+1 LD INR CLR ISZ 6 or E Increment M and skip if zero CLA 7800 Clear AC CLE 7400 Clear E CMA 7200 Complement AC CME 7100 Complement E DR CIR 7080 Circulate right E & AC CIL 7040 Circulate left E and AC INC 7020 Increment AC SPA 7010 Skip if AC is positive SNA 7008 Skip if AC is negative SZA 7004 Skip if AC is zero SZE 7002 Skip if E is zero HLT 7001 Halt computer INP F800 Input information and clear Adder flag OUT F400 Output information and clear flag SKI F200 Skip if input flag is on SKo F100 Skip if output flag is on ION FO80 Turn interrupt on IOF F040 Turn interrupt off Cock
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
