r2 = 0x1C2D3E4F
r1 = 0x83FAC180
r0 = 0xF7
1. MVN r2, 0xFF000000; which means r2 <- NOT 0xFF000000 =>
r2 <- 0x00FFFFFF.
So, after this instruction r2 will hold, 0x00FFFFFF.
2. RSB r2, r0, 0xFF; Subtracts the value in r0 from the value
0xFF. i.e., r2 <- 0xFF - 0xF7, => r2 <- 0x08.
So, after this instruction r2 will hold, 0x08.
3. ROR r2, r0, #2; Rotates the bits in register r0 by 2
positions and store in r2. i.e., r2 <- 0xF7 rotates by 2
bits.
So, after this instruction r2 will hold, 0xC03D, assuming it to be
16 bit.
If it is 32 bit, then the value in r2 will be 0xC000003D.
4. REVSH r2, r1; Reverses byte order in bottom half word, and
sign extend the value in r1.
So, after this instruction r2 will hold, 0x83FA80C1
ASSEMBLY CODE NEED ASAP WILL RATE RIGHT AWAY all Verizon 6:48 PM What will r2 contain...
3) (5) What value will the carry flag contain after these instructions: a) MOV R1,#3 MOVS R2, R1, LSR #1 b) MOV R1,#2 MOVS R2, R1, LSR #1 4) (5) Will this instruction update the flags in the CPSR? ADD R1, R0, #1 Alo it Why or why not?