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

Understanding RTS

Discussion in 'Assembly Language Programming (ALP) Forum' started by Phazon, May 14, 2011.

  1. Phazon

    Phazon New Member

    Joined:
    May 14, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Sorry in advance if I'm posting this in the wrong place. I just need to know something quickly about RTS. I've been told that the reason RTS can't hold the return address is because then the subroutine would only be callable from one place. Does anyone understand what they mean by this and could you possibly explain it to me? Thanks.
     
  2. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,012
    Likes Received:
    203
    Trophy Points:
    0
    Occupation:
    Senior Support Engineer
    Location:
    England
    Which processor?
    Why would you want RTS to include the return address anyway?
     

Share This Page