??? 01/08/07 16:33 Read: times |
#130435 - Hardware solution called for Responding to: ???'s previous message |
The problem seems to me to be the same, whether you are coding in C or assembler. Some processors have hardware to help you, the 8051 sadly doesn't. The Infineon C166 has an atomic instruction which you can prefix to a sequence of up to 4 instructions that you want to execute atomically. |