Bit Manipulation Instructions - Motorola MC68030 User Manual

Enhanced 32-bit microprocessor
Hide thumbs Also See for MC68030:
Table of Contents

Advertisement

Instruction Set Summary

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.
3-8
Table 3-4. Shift and Rotate Operations.
X/C
X/C
0
C
C
X
MSW
MC68030 USER'S MANUAL
0
X/C
0
X/C
C
X
C
LSW
MOTOROLA

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents