1,885
edits
Changes
no edit summary
The BIT instruction performs a bitwise AND, sets the Z flag based on the result, and transfers bits 6 and 7 of the operand into the N and V flags.
== Multiplication and Division ==
There are no multiplication or division instructions on the 6502; it is up to the programmer to provide the appropriate logic.