Instruction Set Summary
3-8 MC68030 USER’S MANUAL MOTOROLA
Table 3-4. Shift and Rotate Operations.
3.2.5 Bit Manipulation Instructions
Bit manipulation operations are accomplished using the following instructions: bit test
(BTST), bit test and set (BSET), bit test and clear (BCLR), and bit test and change (BCHG).
All bit manipulation operations can be performed on either registers or memory. The bit
number is specified as immediate data or in a data register. Register operands are 32 bits
long, and memory operands are 8 bits long. In Table 3–5, the summary of the bit
manipulation operations, Z refers to bit 2, the zero bit of the status register.
X/C
X/C 0
X/C0
C
C
XC
X/C
0
X C
MSW LSW