Motorolla 68HC11

infinitig35's Avatar, Join Date: Oct 2008
Newbie Member
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
xpi0t0s's Avatar, Join Date: Aug 2004
Do you know what the two basic stack operations are and what they do?