Motorola CPU32 Bedienungsanleitung Seite 131

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 646
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 130
Integer Instructions
MOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 4-27
BCHG Test a Bit and Change BCHG
(M68000 Family)
Operation: TEST ( < number > of Destination) Z;
TEST ( < number > of Destination) < bit number > of Destination
Assembler BCHG Dn, < ea >
Syntax: BCHG # < data > , < ea >
Attributes: Size = (Byte, Long)
Description: Tests a bit in the destination operand and sets the Z condition code
appropriately, then inverts the specified bit in the destination. When the destination is
a data register, any of the 32 bits can be specified by the modulo 32-bit number. When
the destination is a memory location, the operation is a byte operation, and the bit
number is modulo 8. In all cases, bit zero refers to the least significant bit. The bit
number for this operation may be specified in either of two ways:
1. Immediate—The bit number is specified in a second word of the instruction.
2. Register—The specified data register contains the bit number.
Condition Codes:
X Not affected.
N — Not affected.
Z Set if the bit tested is zero; cleared otherwise.
V Not affected.
C — Not affected.
XNZVC
——
*
——
Seitenansicht 130
1 2 ... 126 127 128 129 130 131 132 133 134 135 136 ... 645 646

Kommentare zu diesen Handbüchern

Keine Kommentare