Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please help with this LC-3 Which Insruction? 0/5 points (graded) Here is the data flow diagram for a particular instruction. The various values shown indicate

Please help with this LC-3

image text in transcribed

image text in transcribed

image text in transcribed

Which Insruction? 0/5 points (graded) Here is the data flow diagram for a particular instruction. The various values shown indicate the state of the machine after the action of this instruction. GatePCA DR 011 Gate MARMUX RO x0077 RI PC X MARMUX x0066 R2 x0055 TRAP VECTOR X:00 PCMUX R3 x0020 R4 x0033 R5 x0022 ZEXT OFFSET6 OR X (7:0) PCOFFSET PC OR BASER X R6 x0011 R7 x0000 ADDR2MUX ADDR1MUX SR2 SRI [10:0] SEXT 0 XFFF O IMM5 (8:0] SEXT 1 SEXT SR2MUX (5:0) SEXT FINITE STATE MACHINE (4:0) 2 AL select Arith/Logic Operation N ZP IR X A/L RESULT LOGIC V Gate ALU Gate MDR 16 16 MDR MAR X 16 INPUT MEMORY OUTPUT x X XFE02 XFE06 What is that instruction in binary? (You may use any number of spaces to organize the bits.) address instruction x 3010 Puzzle 1 Bookmark this page Binary Puzzle 1 0.0/10.0 points (graded) The pc counter contains the address x301e. The state of the memory is shown below. When the three instructions in the first three lines have been executed by the LC-3 a particular hexadecimal value is loaded into register R6. What is that hexadecimal value (using the format xzzzz)? R6 = address 4 bits 12 bits 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 x3010 1 1 1 1 10 1 1 1 1 1 1 x3011 1 1 1 0 0 1 1 x3012 0 1 1 0 1 1 0 1 e e e e e e x 3050 1 1 1 0 0 0 0 1 0 1 0 0 1 0 x70A2 1 1 1 0 0 0 0 1 0 1 0 0 0 1 1 x70A3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 x 7044 0 0 1 1 0 @ @ 1 1 1 1 1 Duplicate of 'Binary Puzzle 1 (continued)' 0.0/10.0 points (graded) These three instructions can be replaced by a single instruction (located at line x3010) which produces the same result when it alone is executed. What is that instruction in bits? (You may use any number of spaces to organize the bits.) address instruction x 3010 Which Insruction? 0/5 points (graded) Here is the data flow diagram for a particular instruction. The various values shown indicate the state of the machine after the action of this instruction. GatePCA DR 011 Gate MARMUX RO x0077 RI PC X MARMUX x0066 R2 x0055 TRAP VECTOR X:00 PCMUX R3 x0020 R4 x0033 R5 x0022 ZEXT OFFSET6 OR X (7:0) PCOFFSET PC OR BASER X R6 x0011 R7 x0000 ADDR2MUX ADDR1MUX SR2 SRI [10:0] SEXT 0 XFFF O IMM5 (8:0] SEXT 1 SEXT SR2MUX (5:0) SEXT FINITE STATE MACHINE (4:0) 2 AL select Arith/Logic Operation N ZP IR X A/L RESULT LOGIC V Gate ALU Gate MDR 16 16 MDR MAR X 16 INPUT MEMORY OUTPUT x X XFE02 XFE06 What is that instruction in binary? (You may use any number of spaces to organize the bits.) address instruction x 3010 Puzzle 1 Bookmark this page Binary Puzzle 1 0.0/10.0 points (graded) The pc counter contains the address x301e. The state of the memory is shown below. When the three instructions in the first three lines have been executed by the LC-3 a particular hexadecimal value is loaded into register R6. What is that hexadecimal value (using the format xzzzz)? R6 = address 4 bits 12 bits 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 x3010 1 1 1 1 10 1 1 1 1 1 1 x3011 1 1 1 0 0 1 1 x3012 0 1 1 0 1 1 0 1 e e e e e e x 3050 1 1 1 0 0 0 0 1 0 1 0 0 1 0 x70A2 1 1 1 0 0 0 0 1 0 1 0 0 0 1 1 x70A3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 x 7044 0 0 1 1 0 @ @ 1 1 1 1 1 Duplicate of 'Binary Puzzle 1 (continued)' 0.0/10.0 points (graded) These three instructions can be replaced by a single instruction (located at line x3010) which produces the same result when it alone is executed. What is that instruction in bits? (You may use any number of spaces to organize the bits.) address instruction x 3010

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_2

Step: 3

blur-text-image_step3

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

More Books

Students also viewed these Databases questions

Question

Define, compare, and contrast attempt, solicitation, and conspiracy

Answered: 1 week ago