Motorola CPU32 Manuale Utente Pagina 160

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 646
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 159
Integer Instructions
4-56 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLA
BSET Test a Bit and Set BSET
(M68000 Family)
Operation: TEST ( < bit number > of Destination) Z; 1 < bit number > of Des-
tination
Assembler BSET Dn, < ea >
Syntax: BSET # < data > , < ea >
Attributes: Size = (Byte, Long)
Description: Tests a bit in the destination operand and sets the Z condition code
appropriately, then sets the specified bit in the destination operand. When a data
register is the destination, any of the 32 bits can be specified by a modulo 32-bit
number. When a memory location is the destination, 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 can be specified in either of two ways:
1. Immediate—The bit number is specified in the 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
—— ——
Vedere la pagina 159
1 2 ... 155 156 157 158 159 160 161 162 163 164 165 ... 645 646

Commenti su questo manuale

Nessun commento