Question: You are given the following assembly program, with additional information about the program memory address of each instruction. Line no . Prog. address ( hex

You are given the following assembly program, with additional information about the program memory address of each instruction.
Line no. Prog. address (hex) Label Instruction
11D24
ldi R17,-10
21D25 ldi R20,23
31D26 call CALC
41D28 rjmp end
51D29 SUBT: subi R20,15
61D2A ret
71D2B CALC: add R20, R17
81D2C call SUBT
91D2E ret
101D2F end: rjmp end
What is the value of R20 when the program just completes line 7? Select all correct representations.
Group of answer choices
13
254
-2
23
8

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