| 
 | Hauptseite - Welches System? - Hardware - Software - Emulatoren - | Internet MausNet Programmieren Verweise Über | 
| NAME | CAS -- Compare and swap (68020+) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| SYNOPSIS | 
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FUNCTION | This instruction is a read-modify-write instruction and should
NEVER be used on Amiga because of conflicts with customs chips.
Destination operand, which is in memory at address specified
by <ea>, is compared to data register Dc (Data Compare). This
register is used as reference in the principle of this instruction. If there's equality (Z=1), destination operand can be updated, i.e. the new operand Du (Data Update) is moved in destination. If there's no equality (Z=0), it's the reference register Dc which must be updated. So there's a move from destination operand to Dc. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FORMAT | 
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SIZE | 
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| REGISTER | Du register: indicates number of data register, which contains the
new value to update in destination operand. Dc register: indicates number of data register, which contains the reference value to compare to destination operand. <ea> is always destination, addressing modes are the following: 
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| RESULT | 
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|   | English version not yet available. |