Question: Question 1 . Suppose the following LC - 3 program is loaded into memory starting at location x 3 0 F F : X 3

Question 1.
Suppose the following LC-3 program is loaded into memory starting at location x30FF :
X30FF1110001000000001R[1]-3100+1
X31000110010001000010R[2]-
MEM[X3101+2]=x1482
X31011111000000100101HALT
X31020001010001000001
X31030001010010000010
If the program is executed, what is the value in R2 at the end of execution?
 Question 1. Suppose the following LC-3 program is loaded into memory

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!