Question: 1 3 . [ 3 pts ] Suppose the instruction 0 0 1 1 0 0 0 1 0 0 1 0 1 1 1

13.[3 pts] Suppose the instruction 0011000100101111 at memory location 05611. In what memory location does it store the value of register R0 when executed?
14.[3 pts] What is the largest memory address that can be referenced by an LD instruction at location 0x6631?
15.[3 pts] Give two LC-3 operate instructions that perform binary operations.
16.[4 pts] The LC-3 does not have an opcode for the logical function OR. That is, there is no instruction in the LC-3 ISA that performs the OR operation. However, we can write a sequence of instructions to implement the OR operation. The following four-instruction sequence performs the OR of the contents of register 1 and register 2 and puts the result in register 3. Fill in the two missing instructions so that the four-instruction sequence will do the job.
(1): 1001100001111111
(2):
(3): 0101110100000101
(4):
17.[4 pts] The figure below shows a snapshot of the eight registers of the LC-3 before and after the instruction at location x 1000 is executed. Fill in the bits of the instruction at location x1000.
BEFORE
AFTER
\table[[R0,x0000],[R1,x 1111],[R2,2222
1 3 . [ 3 pts ] Suppose the instruction 0 0 1 1 0

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