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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/04/07 10:41
Read: times


 
#141487 - and listen to the guru! :-)
Responding to: ???'s previous message
I said:
Try rewriting the ISR in inline asm.

Andy Neil said:
No, don't do that!

Write it as a separate assembler module, in an assembler source file.

Andy,

That of course was just a quick shot from me - whatever you say on Keil's is certainly better than mine given the difference in our Keil experience (it's easy to subtract, mine is 0 :-) ) - but may I ask, why is a separate asm better than inline?

JW




List of 24 messages in thread
TopicAuthorDate
How to generate 100 Khz square wave 80C51            01/01/70 00:00      
   Tips            01/01/70 00:00      
      1 KHz            01/01/70 00:00      
         that's ...            01/01/70 00:00      
         SI Units            01/01/70 00:00      
            1024 = Ki            01/01/70 00:00      
   C interrupt overhead            01/01/70 00:00      
      RE: C interrupt overhead            01/01/70 00:00      
         and listen to the guru! :-)            01/01/70 00:00      
            several reasons            01/01/70 00:00      
               Yet another reason to avoid using HLL's!            01/01/70 00:00      
               Optimizations            01/01/70 00:00      
   Use Timer0 auo reload            01/01/70 00:00      
      using            01/01/70 00:00      
      interrupt vectoring vs. latency            01/01/70 00:00      
         Then the Interupt must be in ASM            01/01/70 00:00      
            do you mean...            01/01/70 00:00      
               No            01/01/70 00:00      
               Compiler generated IRQ vectors            01/01/70 00:00      
                  OOPS we both meant LJMP REALisr            01/01/70 00:00      
                  the original problem...            01/01/70 00:00      
         Interrupt Latency + Vectoring + Service            01/01/70 00:00      
   indufficient info            01/01/70 00:00      
   use MCS52 better option            01/01/70 00:00      

Back to Subject List