Question: Func MOV R 1 , # 1 0 0 ; R 1 = 1 0 0 MUL R 0 , R 0 , R 1

Func
MOV R1,#100 ; R1=100
MUL R0,R0,R1 ; RO=100input+10
BX LR ; return 100** input+10
If we wanted to pass the decimal number 34 to this subroutine (function) we would
a. MOV R1, #34 then B Func
b. MOV R1, #34 then BL Func
c. MOV R0, #34 then BL Func
d. None of the above
 Func MOV R1,#100 ; R1=100 MUL R0,R0,R1 ; RO=100input+10 BX LR

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!