|
Hauptseite - Welches System? - Hardware - Software - Emulatoren - |
Internet MausNet Programmieren Verweise Über |
NAME | CAS2 -- Compare and swap (two-operand) (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 1, which is in memory to specified address by
(Rn1), is compared to data register Dc1. If there's equality (Z=1),
destination operand 2, which is in memory to specified address by
(Rn2), is compared to data register Dc2.
If there's equality (Z=1), destination operand 1 can be updated, i.e. new operand Du1 (Data Update) is moved in destination (Rn1). And also, destination operand 2 can be updated, i.e. new operand Du2 (Data Update) is moved in destination (Rn2). If there's no equality (Z=0), reference registers Dc1 and Dc2 have to be updated. So there's move from destination operand (Rn1) in Dc1, and from (Rn2) in Dc2. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
FORMAT |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SIZE |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
REGISTER |
Dc1, Dc2 registers: indicates number of data register, which contains the reference value to compare to destination operand. Rn1, Rn2 registers: indicates number of destination registers. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
RESULT |
|
English version not yet available. |