Assume the following MC68HC1112 register and condition code
Assume the following: MC68HC11/12 register and condition code setting before an instruction execution What is the content of the accumulator A and the condition code setting after an instruction \"CLRA\" has been executed? What is the content of the accumulator B and the condition code setting after an instruction \"LSRB\" has been executed?
Solution
Accumulator A during the first execution has been cleared(CLRA) and will have $00 value with the condition code 0010
Accumulator B during the second execution has been logically shifted right (LSRB) and will have value $00 with the condition code 0001
