Mutex: Difference between revisions
m
→{{header|8086 Assembly}}: added an additional example and deleted a statement I'm not sure about
Puppydrum64 (talk | contribs) |
Puppydrum64 (talk | contribs) m (→{{header|8086 Assembly}}: added an additional example and deleted a statement I'm not sure about) |
||
Line 30:
* You cannot <code>LOCK</code> registers (unless they are in brackets). This makes sense - each processor has its own registers and they can't access each others' registers anyway.
* <code>LOCK</code> can't be placed in front of any instruction on the 8086, only ones where it actually applies.
<lang asm>
lock dec byte ptr [es:di]</lang>
|