Question: show work please For problems through 34, give the Z and C flags and affected registers after execution of each instruction. Assume the register and
For problems through 34, give the Z and C flags and affected registers after execution of each instruction. Assume the register and memory contents given in the table below at the beginning of each problem, with initial flag values of Z-0,C-1. Location WO W1 Value Ox0804 Ox0806 0x8301 OXFOA2 OxFFFF Location 0x1000 0x1002 Ox1004 0x1006 0x1008 Value 0x382A OxFB80 0x80FF 0x7B03 0x0001 W2 W3 W4 16. sl W1, #2, WO 17. rinc.b 0x1000 18.rinc Ox 1000 19. rlc Ox1002 20. rlc.b 0x1003 21. rrne 0x1000 22. rre.b 0x1000 23. rre.b 0x1002 24.rre Ox 1006 25. sub W1, WO,W2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
