Motorola CPU32 Bedienungsanleitung Seite 185

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 646
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 184
Integer Instructions
MOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 4-81
CMPM Compare Memory CMPM
(M68000 Family)
Operation: Destination – Source cc
Assembler
Syntax: CMPM (Ay) + ,(Ax) +
Attributes: Size = (Byte, Word, Long)
Description: Subtracts the source operand from the destination operand and sets the
condition codes according to the results; the destination location is not changed. The
operands are always addressed with the postincrement addressing mode, using the
address registers specified in the instruction. The size of the operation may be
specified as byte, word, or long.
Condition Codes:
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 is generated; cleared otherwise.
C — Set if a borrow is generated; cleared otherwise.
Instruction Format:
Instruction Fields:
Register Ax field—(always the destination) Specifies an address register in the
postincrement addressing mode.
Size field—Specifies the size of the operation.
00 — Byte operation
01 — Word operation
10 — Long operation
Register Ay field—(always the source) Specifies an address register in the
postincrement addressing mode.
XNZVC
∗∗∗∗
1514131211109876543210
1011 REGISTER Ax 1 SIZE 0 0 1 REGISTER Ay
Seitenansicht 184
1 2 ... 180 181 182 183 184 185 186 187 188 189 190 ... 645 646

Kommentare zu diesen Handbüchern

Keine Kommentare