??? 02/23/09 13:48 Read: times |
#162702 - Some thoughts... Responding to: ???'s previous message |
You might try moving the two flag bits from PSW to the bit-addressable portion of memory. Possibly one (or more) of the modules you are not showing, LCD, Delay, Hex2BCD, and others may be saving PSW which is subsequently altered by your ISR, and then restored to a previous condition.
Why do you not post all of your code? It would eliminate a lot of unecessary guesswork. |
Topic | Author | Date |
edge-triggered interrupt | 01/01/70 00:00 | |
no throrough analysis, but | 01/01/70 00:00 | |
edge triggered interrupt | 01/01/70 00:00 | |
you need to read "the bible" | 01/01/70 00:00 | |
I did | 01/01/70 00:00 | |
edge triggered interrupt | 01/01/70 00:00 | |
already answered | 01/01/70 00:00 | |
edge triggered interrupt | 01/01/70 00:00 | |
Need better comments | 01/01/70 00:00 | |
Document "why" instead of "how" | 01/01/70 00:00 | |
Clear Interrupt flag before enabling interrupt | 01/01/70 00:00 | |
still imprecise | 01/01/70 00:00 | |
Some thoughts... | 01/01/70 00:00 | |
the remaining part of the program![]() | 01/01/70 00:00 |