Page 1 of 1

8. Convert Assume that r15 stores the program counter (PC) for the instruction currently being executed by the system. T

Posted: Fri Jul 01, 2022 6:14 am
by answerhappygod
8 Convert Assume That R15 Stores The Program Counter Pc For The Instruction Currently Being Executed By The System T 1
8 Convert Assume That R15 Stores The Program Counter Pc For The Instruction Currently Being Executed By The System T 1 (99.37 KiB) Viewed 26 times
8. Convert Assume that r15 stores the program counter (PC) for the instruction currently being executed by the system. The program counter (PC) associated with the first instruction, MOV r0, #10, is 8. If the system is currently executing MOV pc, Ir, what values r0, r1, r2, r14 (Ir) and r15 (pc) should be, respectively? r0 = r1= r2 = r14{lr} = r15{pc} = 1 5 9 DHL34567 10 11 12 13 14 15 16 17 .include .text .global start: MOV MOV BL stop: MOV LDR SVC doadd: ADD MOV "address_map_arm.s" /* executable code _start 20, #10 rl, #3 doadd r0, #0x18 rl, =0x20026 #0x123456 12, 20, 21 pc, ir