Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/25/08 06:45
Read: times


 
#156185 - jump from a subroutine?
I am calling a subroutine to compare two numbers. If that condition is not met I do a ret and check again. But if the condition is met I don't want to ret. I want to be able to ljmp to the start of the program. How do I clear the pointer that would cause the next ret, somewhere else in the main program, to ret back to my compare subroutine?

List of 5 messages in thread
TopicAuthorDate
jump from a subroutine?            01/01/70 00:00      
   this is a poor practice...            01/01/70 00:00      
   this?            01/01/70 00:00      
   Why do you want to do this?!            01/01/70 00:00      
      this is how to do it without resorting to ...            01/01/70 00:00      

Back to Subject List