1,885
edits
Changes
→Arithmetic and Bitwise Operations
=== Arithmetic and Bitwise Operations ===
'''For full details on all of the arithmetic and bitwise instructions, see the [[6502 Math]] page.'''
The 6502 has rudimentry addition and subtraction instructions, which operate on the accumulator (A):
EOR ; bitwise exclusive-OR (with accumulator)
ORA ; bitwise OR (with accumulator)
=== Test and Comparison Operations ===