Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional IPhone And IPad Database Application Programming

Authors: Patrick Alessi

1st Edition

0470636173, 978-0470636176

More Books

Students also viewed these Databases questions

Question

Describe the ultimate attribution error.

Answered: 1 week ago