MC68HC711G5 MOTOROLA [Motorola, Inc], MC68HC711G5 Datasheet - Page 158

no-image

MC68HC711G5

Manufacturer Part Number
MC68HC711G5
Description
High-density Complementary Metal Oxide Semiconductor (HCMOS) Microcontroller
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
12.3.1.5
This group of instructions is used to operate on operands as small as a single bit, but these
instructions can also operate on any combination of bits within any 8-bit location in the 64 kbyte
memory space. The bit test (BITA or BITB) instructions perform an AND operation within the CPU
to update condition code bits without altering either operand. The BSET and BCLR instructions read
the operand, manipulate selected bits within the operand, and write the result back to the operand
address. Some care is required when read-modify-write instructions such as BSET and BCLR are
used on I/O and control register locations because the physical location read is not always the same
as the location written.
MOTOROLA
12-8
Bit(s) Test A with Memory
Bit(s) Test B with Memory
Clear Bit(s) in Memory
Set Bit(s) in Memory
Branch if Bit(s) Clea
Branch if Bit(s) Se
Data Testing and Bit Manipulation
Function
CPU, ADDRESSING MODES AND INSTRUCTION SET
Table 12-5. Data Testing and Bit Manipulation
Mnemonic
BRCLR
BRSET
BCLR
BSET
BITA
BITB
IMM
X
X
DIR
X
X
X
X
X
X
EXT
X
X
INDX
X
X
X
X
X
X
MC68HC11G5
INDY
X
X
X
X
X
X

Related parts for MC68HC711G5