TSB (test and set bits) (65C02 processor only) Tags: NVZ

Description:

Performs a logical OR on the bits of the given and the accumulator (A OR 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:

    TSB    date; logical or accumulator with a given