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

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

1 Expert Approved Answer
Step: 1 Unlock

To trace the ARM program we will follow the instructions step by step ... View full answer

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!