Maschinensprache – die Befehle der MOS 6502

ADC  addiere zu A-Regadd memory or value to accumulator with carry
ANDlogisches UND"AND" memory or value with accumulator
ASLschiebe bitweise nach linksshift left one bit
BCCSprung bei Carry-Flag = 0branch on carry clear
BCSSprung bei Carry-Flag = 1branch on carry set
BEQSprung bei Zero-Flag = 1branch on result zero
BITteste Speicher mit A-Regtest bits in memory with accumulator
BMISprung bei Negativ-Flag = 1branch on result minus
BNESprung bei Zero-Flag = 0branch on result not zero
BPLSprung bei Negativ-Flag = 0branch on result plus
BRKSoftware-Interruptforce break
BVCSprung bei Overflow-Flag = 0branch on overflow clear
BVSSprung bei Overflow-Flag = 1branch on overflow set
CLClösche Carry-Flagclear carry flag
CLDlösche Decimal-Flagclear decimal mode
CLIlösche Interrupt-Flagclear interrupt disable bit
CLVlösche Overflow-Flagclear overflow flag
CMPvergleiche mit Inhalt von A-Regcompare memory or value with accumulator
CPXvergleiche mit Inhalt von X-Regcompare memory or value with register X
CPYvergleiche mit Inhalt von Y-Reg  compare memory or value with register Y
DECverkleinere Speicherstelle um 1  decrement memory by one
DEXverkleinere X-Reg um 1decrement register X by one
DEYverkleinere Y-Reg um 1decrement register Y by one
EORlogisches Exlusiv-ODER"Exclusive-OR" memory or value with accumulator
INCerhöhe Speicherstelle um 1increment memory by one
INXerhöhe X-Reg um 1increment register X by one
INYerhöhe Y-Reg um 1increment register Y by one
JMPunbedingter Sprungjump to new location
JSRSprung auf Unterprogrammjump to mew location saving return address
LDAlade A-Regload accumulator with memory or value
LDXlade X-Regload register X with memory or value
LDYlade Y-Regload register Y with memory or value
LSRschiebe bitweise nach rechtsshift right one bit
NOPnichts für 2 Taktzyklenno operation
ORAlogisches ODER"OR" memory or value with accumulator
PHAspeichere A-Reg auf Stackpush accumulator on stack
PHPspeicher Status-Reg auf Stackpush processor status on stack
PLAlade A-Reg mit Stackwertpull accumulator from stack
PLPlade Status-Reg mit Stackwertpull processor status from stack
ROLrotiere bitweise nach linksrotate one bit left
RORrotiere bitweise nach rechtsrotate one bit right
RTIRückkehr von Interruptreturn from interrupt
RTSRückkehr von Unterprogramm  return from subroutine
SBCsubtrahiere von A-Regsubtract memory or value from accumulator
SECsetze Carry-Flagset carry flag
SEDsetze Decimal-Flagset decimal mode
SEIsetze Interrupt-Flagset interrupt disable status
STAspeichere A-Regstore accumulator in memory
STXspeichere X-Regstore register X in memory
STYspeichere Y-Regstore register Y in memory
TAXkopiere A-Reg in X-Regtransfer accumulator to register X
TAYkopiere A-Reg in Y-Regtransfer accumulator to register Y
TSXkopiere Stackpointer in X-Reg  transfer stack pointer to register X
TXAkopiere X-Reg in A-Regtransfer register X to accumulator
TXSkopiere X-Reg in Stackpointertransfer register X to stack pointer
TYAkopiere Y-Reg in A-Regtransfer register Y to accumulator