Mnemonics Quickview


Die Angaben in der Tabelle beziehen sich auf die Schreibweise im Editor und haben nichts mit der realen Speicherung während der Ausführung gemeinsam!! Wir schreiben bekanntlich $C100, im Speicher wird eine Adresse aber LSB/MSB, also $00, $C1, abgelegt.
#$nn  = Zahl für unmittelbare Adressierung
$ll   = Zero-Page Adresse
$hhll = 16-Bit-Adresse

Zurück zu www.retro-programming.de.


Befehl
unmittelbar
absolut
absolut,X
absolut,Y
0-Page
0-Page,X
0-Page,Y
implizit
Akku
indirekt,X
indirekt,Y
relativ
indirekt
Befehlunmittelbarabsolutabsolut,Xabsolut,Y0-Page0-Page,X0-Page,YimplizitAkkuindirekt,Xindirekt,Yrelativindirekt
LoaD AkkuLDA #$nnLDA $hhllLDA $hhll,XLDA $hhll,YLDA $llLDA $ll,XLDA ($ll,X)LDA ($ll),Y
LoaD X-Reg.LDX #$nnLDX $hhllLDX $hhll,YLDX $llLDX $ll,Y
LoaD Y-Reg.LDY #$nnLDY $hhllLDY $hhll,XLDY $llLDY $ll,X
STore AkkuSTA $hhllSTA $hhll,XSTA $hhll,YSTA $llSTA $ll,XSTA ($ll,X)STA ($ll),Y
STore X-Reg.STX $hhllSTX $llSTX $ll,Y
STore Y-Reg.STY $hhllSTY $llSTY $ll,X
Transfer Akku to X-Reg.TAX
Transfer X-Reg. to AkkuTXA
Transfer Akku to Y-Reg.TAY
Transfer Y-Reg. to AkkuTYA
Transfer X-Reg. to Stackpointer TSX
Transfer Stackpointer to X-Reg.TXS
DEcrement AkkuDEC $hhllDEC $hhll,XDEC $llDEC $ll,XDEC
INcrement AkkuINC $hhllINC $hhll,XINC $llINC $ll,XINC
DEcrement X-Reg.DEX
INcrement X-Reg.INX
DEcrement Y-Reg.DEY
INcrement Y-Reg.INY
ADd with CarryADC #$nnADC $hhllADC $hhll,XADC $hhll,YADC $llADC $ll,XADC ($ll,X)ADC ($ll),Y
SUbtract with CarrySBC #$nnSBC $hhllSBC $hhll,XSBC $hhll,YSBC $llSBC $ll,XSBC ($ll,X)SBC ($ll),Y
AND with AkkuAND #$nnAND $hhllAND $hhll,XAND $hhll,YAND $llAND $ll,XAND ($ll,X)AND ($ll),Y
OR with AkkuORA #$nnORA $hhllORA $hhll,XORA $hhll,YORA $llORA $ll,XORA ($ll,X)ORA ($ll),Y
Exclusive OR with AkkuEOR #$nnEOR $hhllEOR $hhll,XEOR $hhll,YEOR $llEOR $ll,XEOR ($ll,X)EOR ($ll),Y
Aretmetic Shift LeftASL $hhllASL $hhll,XASL $llASL $ll,XASL
Logical Shift RightLSR $hhllLSR $hhll,XLSR $llLSR $ll,XLSR
ROtate LeftROL $hhllROL $hhll,XROL $llROL $ll,XROL
ROtate RightROR $hhllROR $hhll,XROR $llROR $ll,XROR
BIT testBIT $hhllBIT $ll
COmPare with AkkuCMP #$nnCMP $hhllCMP $hhll,XCMP $hhll,YCMP $llCMP $ll,XCMP ($ll,X)CMP ($ll),Y
ComPare with X-Reg.CPX #$nnCPX $hhllCPX $ll
ComPare with Y-Reg.CPY #$nnCPY $hhllCPY $ll
ReTurn from IterruptRTI
ReTurn from SubroutineRTS
Branch on Carry ClearBCC $hhll
Branch on Carry SetBCS $hhll
Branch if EQualBEQ $hhll
Branch if Not EqualBNE $hhll
Branch if PLusBPL $hhll
Branch if MInusBMI $hhll
Branch on oVerflow ClearBVC $hhll
Branch on oVerflow SetBVS $hhll
JuMP toJMP $hhllJMP ($hhll)
Jump to SubRoutineJSR $hhll
CLear CarryCLC
CLear InterruptCLI
CLear oVerflowCLV
CLear DecimalCLD
SEt CarrySEC
SEt DecimalSED
SEt InterruptSEI
PusH Akku to stackPHA
PuLl Akku from stackPLA
PusH Processor status to stackPHP
PuLl Processor status from stackPLP
No OPerationNOP
BReaKBRK

Zurück zu www.retro-programming.de.