TRB
(test and reset bits) (65C02 and 65816 processor only) Tags: NVZ
Description:
Executes logical AND on bits of a given value with the accumulator’s compliment (~A AND M -> M). The result is written to the specified memory byte. The Z bit is set if the result of (A AND M) is zero. The accumulator is not changed.
Example:
|