(the language is Pep/8)
Given the following state of memory (in hexadecimal) match the problem to the solution shown:
What are the contents of the A register after the execution of this instruction?
C1 00 01
I know that the answer is A2 11
But I have NO idea how to get there. I tried reading the book, but none of it makes sense. My teacher gave the answer to this, but she never explained how to get it.
I know to write out C1 00 01 as
1100 0001 0000 0000 0000 0001
But I have absolutely no clue how you get A2 11 from that.
Please explain! I am so confused.