What are the values of the registers, as decimal integers, afterexecuting the following code? (hint: convert the numbers to binaryfor the bitwise operations)
mov r0, #30 // decimal 30 mov r1, #15 // decimal 15 and r2, r0, r1 eor r3, r0, r1
R0: R1: R2: R3:
What are the values of the registers, as decimal integers, afterexecuting the following code?
mov r0, #100 // decimal 100 mov r1, #101 // decimal 101 eor r2, r2, r2 mov r3, r0 cmp r0, r1 blt else mov r2, #4 b skip else: mov r2, #5 skip: add r3, r3, r2
R0: R1: R2: R3:
Expert Answer
Answer to What are the values of the registers, as decimal integers, after executing the following code? (hint: convert the number…