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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/13/11 18:53
Modified:
  06/13/11 19:04

Read: times


 
#182644 - push pop
Responding to: ???'s previous message
!!!!last pushed register/variable should be pop-ed first!!!

If Your simulator takes EA pin in account - where is connected?



BTW. The sample (I've found it somewhere) below does something very similar to what I'm doing but it does work in this simulator. Mine doesn't.


That code is very poor with many errors.
External interrupt 0 causes changing accumulator - for example , this can be character You just sendind to LCD.

External interrupt 1 calls LCD output.
Believe me, LCD access in ISR can be used in extremal situations only.
Dont do it!

Keep ISR short !!!
Long ISR can be used , but needs more care.





List of 12 messages in thread
TopicAuthorDate
Timers/LCD and Interrupts problem            01/01/70 00:00      
   show sourcecode and BTW...            01/01/70 00:00      
      thanks            01/01/70 00:00      
         Using Google Documents....arrrgh.            01/01/70 00:00      
            I hope that's better            01/01/70 00:00      
   Button Connect to Interrupt :-(            01/01/70 00:00      
      but it can be good exercise            01/01/70 00:00      
         hmmm            01/01/70 00:00      
            irq pin            01/01/70 00:00      
               simulator            01/01/70 00:00      
                  push pop            01/01/70 00:00      
                     :(            01/01/70 00:00      

Back to Subject List