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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/01/03 11:06
Read: times


 
#40353 - RE: How to handle program code boundaries?
Responding to: ???'s previous message
Robin, you are confused. There are no 256 byte segments of code, it's only that a relative jump can not jump back or ahead more than 128 bytes. It has nothing to do with what address your code starts from, and thus can not be fixed with ORG.
The only fix is to either make the code between the CJNE and the address where you want to go shorter by refining it, or to add a relaying JMP somewhere in the middle (but that doesn't deserve a beayty prize).

List of 9 messages in thread
TopicAuthorDate
How to handle program code boundaries?            01/01/70 00:00      
   RE: How to handle program code boundaries?            01/01/70 00:00      
      RE: How to handle program code boundaries?            01/01/70 00:00      
         RE: How to handle program code boundaries?            01/01/70 00:00      
            RE: How to handle program code boundaries?            01/01/70 00:00      
               RE: How to handle program code boundaries?            01/01/70 00:00      
   RE: How to handle program code boundaries?            01/01/70 00:00      
      RE: How to handle program code boundaries?            01/01/70 00:00      
         RE: How to handle program code boundaries?            01/01/70 00:00      

Back to Subject List