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,009
    Likes Received:
    203
    Trophy Points:
    63
    Occupation:
    Senior Support Engineer
    Location:
    England
    Which processor?
    Why would you want RTS to include the return address anyway?
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice