Problem 1
25 Points
Suppose r0 = 0x1A, and r1 = 0xAB. Determine the values of the N, Z, C, V, and Q flags and the r0 and r1 registers in
hexadecimal after executing the following assembly program.
MSR xpsr_nzcvq, r0
BFI r1, r0, #3, #4
SMLAL r1, r0, r0, r1
SBFX r1, r1, #8, #3
SSAT r0, #3, r1
TEQ r0, r1