Question: Problem 2: Trace the following ARM program L1: L2: ADDI X4,XZR,#11 ADDI X5,XZR,#10 ADDI X7,XZR,#0 SUBS X6,X4,X5 B.LE L1 ADDI X7,XZR,#400 B L2 X4
Problem 2: Trace the following ARM program L1: L2: ADDI X4,XZR,#11 ADDI X5,XZR,#10 ADDI X7,XZR,#0 SUBS X6,X4,X5 B.LE L1 ADDI X7,XZR,#400 B L2 X4 X5 X6 X7 ADDI X7,XZR,#100 SUBI X7,X7,#50 // use ADDI to load decimal constant into register use ADDI to load decimal constant into register use ADDI to load decimal constant into register // use ADDI to load decimal constant into register // use ADDI to load decimal constant into register Show final contents of registers X4,X5,X6,X7
Step by Step Solution
3.42 Rating (152 Votes )
There are 3 Steps involved in it
To trace the ARM program we will follow the instructions step by step ... View full answer
Get step-by-step solutions from verified subject matter experts
