Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question #4 (3 marks): Consider the instruction formats of the basic computer shown in Fig. 5-5 and the list of instructions given in Table 5-2.
Question #4 (3 marks): Consider the instruction formats of the basic computer shown in Fig. 5-5 and the list of instructions given in Table 5-2. For each of the following 16-bit instructions, give the equivalent four-digit hexadecimal code and explain in your own words what it is that the instruction is going to perform. a) 0111 0000 0100 0000 b) 1110 0010 0100 1000 c) 0100 0011 0101 0110 TABLE S-2 Baic Computer Instnactions e 55 Busic computen instruction format Hexadecimal code Symbol 1-01- 1 ANDxxKxAND memory word to AC LDA 2 AX Load memory word to AC Description 514 1211 Opcode 000rouh10 ADDxx9xxx Add memory word to AC 3x Boxx Store content of ACin memory KxC Branch unconditionally See D Branch and ave return address 6 Exx Increment and skip if zero BSA Clear AC Clear & Complement AC Complement & Circulate right AC and ? Circulate left AC and ? Increment AC Skip neat instruction AC positive SAip next osoruction AC egtive Skip next instruction AC zero Skip 'est instruction ? is 0 Halt computer 0111Regiser operation (Opcade 111, 10 CME 100 Regiser-eferene insruction 7040 15 SPA SNA SZA SZE HLT 002 Input character to ACc Ouput character from AC Skip on input lag kip on output fiag Interrupt on Interrupe off OUT F400 SKO F100
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started