Question: Q.No. 5: Consider the instruction formats of the basic computer shown in Figure 5-5 and the list of instructions given in Table 5-2. For each

 Q.No. 5: Consider the instruction formats of the basic computer shown

in Figure 5-5 and the list of instructions given in Table 5-2.

For each of the following 16-bit instructions give equivalent four-digit hexadecimal code

Q.No. 5: Consider the instruction formats of the basic computer shown in Figure 5-5 and the list of instructions given in Table 5-2. For each of the following 16-bit instructions give equivalent four-digit hexadecimal code and explain in your own words what it is that the instruction is going to perform: a. 0000000010101011 b. 0100100000000000 c. 1010110111101111 d. 0111000000100000 TABLE 5-2 Basic Computer Instructions Hexadecimal code Symbol I = 0 I = 1 Description AND ADD LDA STA BUN BSA ISZ Oxxx 1xxx 2xxx 3xxx 4xxx 5xxx 6xxx 8xxx 9xxx Axxx Bxxx Cxxx Dxxx Exxx AND memory word to AC Add memory word to AC Load memory word to AC Store content of AC in memory Branch unconditionally Branch and save return address Increment and skip if zero CLA CLE CIR CIL INC SPA SNA SZA SZE HLT 7800 7400 7200 7100 7080 7040 7020 7010 7008 7004 7002 7001 Clear AC Clear E Complement AC Complement E Circulate right AC and E Circulate left AC and E Increment AC Skip next instruction if AC positive Skip next instruction if AC negative Skip next instruction if AC zero Skip next instruction if Eis 0 Halt computer INP OUT SKI SKO ION IOF F800 F400 F200 F100 F080 F040 Input character to AC Output character from AC Skip on input flag Skip on output flag Interrupt on Interrupt off Q.No. 7: The contents of AC in the basic computer is hexadecimal BA48 and initial value of E is 1. Determine the contents of AC, E, PC, AR and IR in hexadecimal after execution of CLA instruction. Repeat 11 more times, starting from each one of register reference instruction. The initial value of PC is in hexadecimal 023

Step by Step Solution

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 Databases Questions!