Instruction Set

10.4.4 Bit Manipulation Instructions

The CPU can set or clear any writable bit in the first 256 bytes of memory, which includes I/O registers and on-chip RAM locations. The CPU can also test and branch based on the state of any bit in any of the first 256 memory locations.

Table 10-4. Bit Manipulation Instructions

Instruction

Mnemonic

 

 

Bit Clear

BCLR

 

 

Branch if Bit Clear

BRCLR

 

 

Branch if Bit Set

BRSET

 

 

Bit Set

BSET

 

 

General Release Specification

 

MC68HC05RC16 — Rev. 3.0

 

 

 

94

Instruction Set

MOTOROLA