1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Motorolla 68HC11

Discussion in 'Assembly Language Programming (ALP) Forum' started by infinitig35, Dec 12, 2008.

  1. infinitig35

    infinitig35 New Member

    Joined:
    Oct 24, 2008
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    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
     
  2. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,012
    Likes Received:
    203
    Trophy Points:
    0
    Occupation:
    Senior Support Engineer
    Location:
    England
    Do you know what the two basic stack operations are and what they do?
     

Share This Page