Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Assembly Language Programming (ALP) Forum (http://www.go4expert.com/forums/assembly-language-programming-forum/)
-   -   Understanding RTS (http://www.go4expert.com/forums/understanding-rts-t25788/)

Phazon 14May2011 20:36

Understanding RTS
 
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.

xpi0t0s 17May2011 11:49

Re: Understanding RTS
 
Which processor?
Why would you want RTS to include the return address anyway?


All times are GMT +5.5. The time now is 10:22.