Page 96 - ARM 64 Bit Assembly Language
P. 96
Load/store and branch instructions 81
c. x[9] = x[3];
3.8. Assume that x is an array of integers, and i and j are integers. Convert the following C
statements into arm64 assembly language.
a. x[i] = j;
b. x[j] = x[i];
c. x[i] = x[j*2];
3.9. What is the difference between the b instruction and the bl instruction? What is each
used for?
3.10. What is the meaning of the following instructions?
a. ldaxr
b. sttr
c. bgt
d. bne
e. bge
f. bcc