next up previous contents index

[ENGN3213 Home]

Bit Manipulation

  Some instructions are available for manipulating single bits in an operand.

For example, the instruction

BTST #4,D3

tests bit 4 of register D3 and sets the Z flag (in the CCR) if that bit was zero.



ANU Engineering - ENGN3213