#2
jc96692023-02-13 18:04
|
哪位前辈帮忙解下下面的题。
Convert the following assembly statements to machine code:
Note: L1 is located at 2064
SUBI X1, X2, #15
LDUR X1, [X2, #64]
B L1
CBNZ X1, L1
5. Write the assembly instructions for the following pseudocode
for(x=0, x<=5, x++){
if x = 2
y = x + 4
}
6. Write the assembly instructions for (set X9 = 20 & X10 = 5
while (X9 != X10){
X9 = X9 >> 1;
}
7. Write the assembly instruction to create the constant: 1,235,456,423,213 (start with 0..0 ... 0..0 0..0 1111 0101 0000 0000)