Question
Initially the registers hold the following values: r0: = 0 times 12345678 r1: = 0 times 87654321 r2: =0 times 9ABCDEF0 r3: = 0 times 0FEDCBA9 r4:= 0 times DEADBEEF r5: = 0 times BADCAFE5 r6: 0 times 0246BACE r7: = 0 times ECA86420 r8: = 0 times 13579BDF r9: = 0 times FDB97531 r10: = 0 times AAAAFFFF r11: = 0 times 20202020 r12: = 0 times 00008085. r13: = 0 times 00004004 r14: = 0 times 0001066 r15: = 0times 00002004. Then an instruction with the following mnemonic is executed: Mov r0, 11 What 32 bit value (in hexadecimal his held in register 0 after this instruction is executed?
Explanation / Answer
syntax: mov destination , source
mov r0,r11
here the contents of r11 register are copied into r0 register.
so after execution of mov r0,r11..........r0 = 0x20202020.