Question: PROBLEM V Consider the two following assemblv files: test.s test2.s .globl test2 globltest globl testvar section .text globl test2Var section .text test: test2: ADRP X2,

 PROBLEM V Consider the two following assemblv files: test.s test2.s .globltest2 globltest globl testvar section .text globl test2Var section .text test: test2:

PROBLEM V Consider the two following assemblv files: test.s test2.s .globl test2 globltest globl testvar section .text globl test2Var section .text test: test2: ADRP X2, test2Var ADD X2, X2, :1o12:test2Var LDUR X3, [X2, 0] ADD X3, X3, 1 STUR X3, [X2, 0] ADRP XO, mysteryStr ADD XO, X0, :1o12 :mysteryStr BR X30 ADRP X2, testVar ADD X2, X2, :1o12:testVar LDUR X3, [X2, 0;] SUB X3, X3, 1 STUR X3, [X2, 0] ADRP XO, testString ADD XO, X0, :1o12:testString BR X30 section .data testVar: .quad 0xA .section .data test2Var: .quad 0xA testString: .asciiz "Fill String

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!