Changes

Jump to: navigation, search

6502 Math

1 byte removed, 18:06, 18 January 2022
Bitwise Operations
A NOT operation can be performed using EOR with an immediate value of #$FF, and this can be combined with ORA and AND instructions to build NOR and NAND operations.
The BIT instruction performs a bitwise AND, sets the Z flag based on the result, and transfers bits 6 and 7 of the operatnd operand into the N and V flags.

Navigation menu