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 and explain in your own words what it is that the instruction is going to perform:

  1. 0000000010101011
  2. 0100100000000000
  3. 1010110111101111
  4. 0111000000100000

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

Figure 5-5 Basic computer instruction formats. 15 14 12 11 0 I Opcode Address (Opcode = 000 through 110) (a) Memory - reference instruction 15 12 11 0 0 1 1 1 Register operation (Opcode = 111, I = 0) (b) Register - reference instruction 15 12 11 0 1 1 1 1 1 I/O operation (Opcode = 111, 1 = 1) (c) Input-output instruction 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 E is 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

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!