| ??? 09/10/02 06:32 Read: times |
#28929 - RE: Making Global variables interrupt safe? |
Or try this code. You can also change the register bank when entering the critical section. It will be restored with the "pop psw" instruction.
setb c ;function entry
jbc EA,DisInt
clr c
DisInt: push PSW ;Carry holds the EA state
.
.
;Critical Section
.
.
pop PSW
Franc |
| Topic | Author | Date |
| Making Global variables interrupt safe? | 01/01/70 00:00 | |
| RE: Making Global variables interrupt safe? | 01/01/70 00:00 | |
| RE: Making Global variables interrupt safe? | 01/01/70 00:00 | |
| RE: Making Global variables interrupt safe? | 01/01/70 00:00 | |
| RE: Making Global variables interrupt sa | 01/01/70 00:00 | |
| RE: Using/Avoiding Global variables | 01/01/70 00:00 | |
| RE: Making Global variables interrupt safe? | 01/01/70 00:00 | |
| RE: Making Global variables interrupt sa | 01/01/70 00:00 | |
| RE: Making Global variables interrupt sa | 01/01/70 00:00 | |
| RE: Making Global variables interrupt sa | 01/01/70 00:00 | |
| RE: Making Global variables interrupt safe? | 01/01/70 00:00 | |
| RE: Making Global variables interrupt safe? | 01/01/70 00:00 | |
| RE: Making Global variables interrupt #2 | 01/01/70 00:00 | |
| RE: Making Global variables interrupt #2 | 01/01/70 00:00 | |
RE: Franc | 01/01/70 00:00 |



