Question: Consider the following assembly program ( assume anything after ; is a comment ) . MOV R 1 , 1 2 ; Move the value

Consider the following assembly program (assume anything after ; is a comment).
MOV R1,12 ; Move the value 12 into register R1
MOV R2,3 ; Move the value 3 into register R2
SUB R1, R2 ; Subtract the value of R2 from R1 and store the result in R1
What will be the final value stored in register R1?

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!