ORA (logical OR) Tags: NZ

Description:

Performs a logical OR (alternative) on the bits of the given and the accumulator. The result remains in the accumulator.

OR function:

Until B (a) OR b
1 1 1
1 0 1
0 1 1
0 0 0

Example:

    ORA #@00000011;    setting the two lower bits in A
    ORA #$80        ; highest bit setting