Motorolla 68HC11

Newbie Member
12Dec2008,16:57   #1
infinitig35's Avatar
Good morning all. I have an end of semester homework problem that I'm stuck with no answer. Can someone help me out. Here's the question:

Assume there is no 68HC11 instruction available to swap the contents of AccA and AccB registers. Suggest a way of using the 68HC11 instructions and the stack to perform a swap of the contents of AccA and AccB.
thanks everyone
Mentor
12Dec2008,20:42   #2
xpi0t0s's Avatar
Do you know what the two basic stack operations are and what they do?