Atari Logo
Atari Computer

Hauptseite -
Welches System? -
Hardware -
Software -
Emulatoren -
Internet
MausNet
Programmieren
Verweise
Über

Assembler

Previous Next TOC

NAME CMPM -- Compare memory
SYNOPSIS
CMPM(Ay)+,(Ax)+
Size = (Byte, Word, Long)
FUNCTION Subtracts the source operand from the destination operand and sets the condition codes according to the result. The destination operand is NOT changed. Operands are always addressed with the postincrement mode.
FORMAT
1514131211109876543210
1011Ax REGISTER1SIZE001Ay REGISTER
 <ea>
SIZE
00->one Byte operation
01->one Word operation
10->one Long operation
REGISTER Ax register specifies destination operand (for post-incrementation).
Ay register specifies source operand.
RESULT
X-Not affected
N-Set if the result is negative. Cleared otherwise.
Z-Set if the result is zero. Cleared otherwise.
V-Set if an overflow occours. Cleared otherwise.
C-Set if a borrow occours. Cleared otherwise.


Best viewed with any browser English version not yet available.

Änderungen und Irrtümer vorbehalten. Letzte Änderung:
14 September 2001.
Home - Mail an den Webmaster - Impressum