??? 04/22/07 07:47 Read: times Msg Score: +1 +1 Informative |
#137756 - favourite atomic test-and-set instructions Responding to: ???'s previous message |
Another atomic test-and-set instruction family are the eXCHange instructions, of which the '51 has a selection, too.
They are good for byte-wide "flags", though, not typical for microcontrollers. JW PS. I linked into this thread from the 'atomicity" FAQ. |
Topic | Author | Date |
lesson learned | 01/01/70 00:00 | |
"atomic" | 01/01/70 00:00 | |
atomicity | 01/01/70 00:00 | |
if thatb is so | 01/01/70 00:00 | |
Indeed | 01/01/70 00:00 | |
Bit test and clear | 01/01/70 00:00 | |
JBC | 01/01/70 00:00 | |
favourite atomic test-and-set instructions | 01/01/70 00:00 | |
SDCC also | 01/01/70 00:00 | |
Classic atomic problem | 01/01/70 00:00 | |
and/or ... | 01/01/70 00:00 | |
another example![]() | 01/01/70 00:00 |