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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/15/08 12:35
Read: times


 
#153372 - High, higher, highest...
Responding to: ???'s previous message
Chris Bertrand said:
If your ISR code label is BEYOND the org 100 statement, that would be "higher memory" relative to ALL the ISR routines vector locations.

Ah, that makes sense - but you actually said "high" rather than "higher" memory in your previous post.

SO a LJMP or a LCALL (although JMP makes more sense) is a smarter, IMO, decision

Or AJMP or ACALL.

You typically want to keep an ISR routine "together", not start at the interrupt vector and then "jump" to the remain larger part of the code.

Yes: if you're going to Jump (or call) anyhow, you might as well keep it all together.

I s'pose the exception could be if there's some cases where the ISR does (next to) nothing and others where it has more stuff to do - then you might want to have the trivial case just in the vector location, and jump (or call) for the other case...?


By the way: "ISR routine" is a tautology.

List of 18 messages in thread
TopicAuthorDate
8051 interrupt            01/01/70 00:00      
   what language?            01/01/70 00:00      
      8051            01/01/70 00:00      
         Ok            01/01/70 00:00      
            Re: OK            01/01/70 00:00      
               As mentioned            01/01/70 00:00      
                  High, higher, highest...            01/01/70 00:00      
                  Re: As mentioned            01/01/70 00:00      
                     My words are not casual......            01/01/70 00:00      
            It's assembler            01/01/70 00:00      
   this may be help            01/01/70 00:00      
      external trigger address            01/01/70 00:00      
         Read the tutorials...            01/01/70 00:00      
         Check the emulator manual            01/01/70 00:00      
            +800            01/01/70 00:00      
               read andy's post above            01/01/70 00:00      
               RE: Does this make sense to you?            01/01/70 00:00      
   I am sorted            01/01/70 00:00      

Back to Subject List