Go4Expert (http://www.go4expert.com/)
-   Assembly Language Programming (ALP) Forum (http://www.go4expert.com/forums/assembly-language-programming-forum/)
-   -   Motorolla 68HC11 (http://www.go4expert.com/forums/motorolla-68hc11-t15475/)

infinitig35 12Dec2008 16:57

Motorolla 68HC11
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 12Dec2008 20:42

Re: Motorolla 68HC11
Do you know what the two basic stack operations are and what they do?

All times are GMT +5.5. The time now is 19:34.