Suppose we have the instructionLoad600. Given that memory and register R1 contain the values below:
Address
Content
100
600
Content
400
300
R1
200
500
400
600
700
700
800
800
900
Assuming R1 is implied in the indexed addressing mode, determine the actual value loaded into the accumulator and fill in the table below:
Mode
Value Loaded into AC
Immediate
Direct
Indirect
Indexed
2.
The memory unit of a computer has 2 M words of 32 bits each. The computer has an instruction format with 4 fields: an opcode field; a mode field to specify 1 of 8 addressing modes; a register address field to specify 1 of 8 registers; and a memory address field. Assume an instruction is 32 bits long. Answer the following:
a.How large must the mode field be?
b.How large must the register field be?
c.How large must the address field be?
d.How large is the opcode field?
AutoSave OFF - C310-HW4 NT - Compatibility Mode - Saved to my Mac Q Home Insert Draw Design Layout References Mailings Review View Share Comments Times New... v 12 A" A " AaBbCcDdEt AaBbCcD( AaBbCcDdE AaBbCcDdl AaBbCcDdEe AaBbCcDc AaBbCcDdEe AaBbCcDdEt Paste BI Uvab X x A LA Emphasis Heading 1 Normal Strong Subtitle Title No Spacing Subtle Emph Styles Pane 3 . Convert the following expressions from reverse Polish notation to infix notation. a. WXYZ + +* b. UVWXYZ + * _*. c. XYZ + VW-*Z-+ d. XZ +W *XZ - W* _ Show details of conversion 4. Suppose we have the instruction Load 600. Given that memory and register R1 contain the values below: Address Content 100 600 Content 400 300 R1 200 500 400 600 700 700 800 800 900 Assuming R1 is implied in the indexed addressing mode, determine the actual value loaded into the accumulator and fill in the table below: Mode Value Loaded into AC Immediate Page 1 of 2 399 words LIX English (United States) Focus E + 121%AutoSave OFF - C310-HW4 NT - Compatibility Mode - Saved to my Mac Q Home Insert Draw Design Layout References Mailings Review View Share Comments Times New... v 12 A" A " Ap AaBbCcDdEt AaBbCcD( AaBbCcDdE AaBbCcDdl AaBbCcDdEe AaBbCcDc AaBbCcDdEe AaBbCcDdEt Paste BI Uvab X X|A LA Emphasis Heading 1 Normal Strong Subtitle Title No Spacing Subtle Emph Styles Pane 600 700 700 800 800 900 Assuming R1 is implied in the indexed addressing mode, determine the actual value loaded into the accumulator and fill in the table below: Mode Value Loaded into AC Immediate Direct Indirect Indexed 5. The memory unit of a computer has 2 M words of 32 bits each. The computer has an instruction format with 4 fields: an opcode field; a mode field to specify 1 of 8 addressing modes; a register address field to specify 1 of 8 registers; and a memory address field. Assume an instruction is 32 bits long. Answer the following: a. How large must the mode field be? b. How large must the register field be? c. How large must the address field be? 1. How large is the opcode field? The text of exercises and similar solved exercises are on the topic Books24x7 Readings: http://library.books24x7.com.ezproxy.umuc.edu/assetviewer.aspx?site=VGX8U&bookid -5893&chunkid-837143549 Page 2 of 2 399 words LX English (United States) Focus E + 121%