Difference between revisions of "User:Kan/OpTable"
From ALttP Speedrunning Wiki
m (Kan moved page User:Fmp/OpTable to User:Kan/OpTable without leaving a redirect: Automatically moved page while renaming the user "Fmp" to "Kan") |
|||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
td { font-size: 80%; color: #666666; white-space: nowrap; } | td { font-size: 80%; color: #666666; white-space: nowrap; } | ||
td b { font-size: 120% !important; color: #000000; } | td b { font-size: 120% !important; color: #000000; } | ||
+ | tr:nth-of-type(odd) { background: #EEEEFF; } | ||
+ | tr:nth-of-type(odd):not(:first-child) th { background: #DDDDFF !important; } | ||
}} | }} | ||
{| class="wikitable" style=" font-family: consolas;" | {| class="wikitable" style=" font-family: consolas;" | ||
− | ! !! 0 !! 1 !! 2 !! 3 !! 4 !! 5 !! 6 !! 7 !! 8 !! 9 !! A !! B !! C !! D !! E !! F | + | ! !! 0 !! 1 !! 2 !! 3 !! 4 !! 5 !! 6 !! 7 !! 8 !! 9 !! A !! B !! C !! D !! E !! F !! |
|- | |- | ||
! 0 | ! 0 | ||
| '''BRK''' || '''ORA''' (dp, X) || '''COP''' || '''ORA''' sr,S || '''TSB''' dp || '''ORA''' dp || '''ASL''' dp || '''ORA''' [dp] | | '''BRK''' || '''ORA''' (dp, X) || '''COP''' || '''ORA''' sr,S || '''TSB''' dp || '''ORA''' dp || '''ASL''' dp || '''ORA''' [dp] | ||
| '''PHP''' || '''ORA''' #const || '''ASL''' A || '''PHD''' || '''TSB''' addr || '''ORA''' addr || '''ASL''' addr || '''ORA''' long | | '''PHP''' || '''ORA''' #const || '''ASL''' A || '''PHD''' || '''TSB''' addr || '''ORA''' addr || '''ASL''' addr || '''ORA''' long | ||
+ | ! 0 | ||
|- | |- | ||
! 1 | ! 1 | ||
| '''BPL''' || '''ORA''' (dp),Y || '''ORA''' (dp) || '''ORA''' (sr,S),Y || '''TRB''' dp || '''ORA''' dp, X || '''ASL''' dp,X || '''ORA''' [dp],Y | | '''BPL''' || '''ORA''' (dp),Y || '''ORA''' (dp) || '''ORA''' (sr,S),Y || '''TRB''' dp || '''ORA''' dp, X || '''ASL''' dp,X || '''ORA''' [dp],Y | ||
| '''CLC''' || '''ORA''' addr,Y || '''INC''' A || '''TCS''' || '''TRB''' addr || '''ORA''' addr,X || '''ASL''' addr,X || '''ORA''' long,X | | '''CLC''' || '''ORA''' addr,Y || '''INC''' A || '''TCS''' || '''TRB''' addr || '''ORA''' addr,X || '''ASL''' addr,X || '''ORA''' long,X | ||
+ | ! 1 | ||
|- | |- | ||
! 2 | ! 2 | ||
| '''JSR''' addr || '''AND''' (_dp,_X) || '''JSL''' long || '''AND''' sr,S || '''BIT''' dp || '''AND''' dp || '''ROL''' dp || '''AND''' [dp] | | '''JSR''' addr || '''AND''' (_dp,_X) || '''JSL''' long || '''AND''' sr,S || '''BIT''' dp || '''AND''' dp || '''ROL''' dp || '''AND''' [dp] | ||
| '''PLP''' || '''AND''' #const || '''ROL''' A || '''PLD''' || '''BIT''' addr || '''AND''' addr || '''ROL''' addr || '''AND''' long | | '''PLP''' || '''AND''' #const || '''ROL''' A || '''PLD''' || '''BIT''' addr || '''AND''' addr || '''ROL''' addr || '''AND''' long | ||
+ | ! 2 | ||
|- | |- | ||
! 3 | ! 3 | ||
| '''BMI''' || '''AND''' (dp),Y || '''AND''' (dp) || '''AND''' (sr,S),Y || '''BIT''' dp,X || '''AND''' dp,X || '''ROL''' dp,X || '''AND''' [dp],Y | | '''BMI''' || '''AND''' (dp),Y || '''AND''' (dp) || '''AND''' (sr,S),Y || '''BIT''' dp,X || '''AND''' dp,X || '''ROL''' dp,X || '''AND''' [dp],Y | ||
| '''SEC''' || '''AND''' addr,Y || '''DEC''' A || '''TSC''' || '''BIT''' addr,X || '''AND''' addr,X || '''ROL''' addr,X || '''AND''' long,X | | '''SEC''' || '''AND''' addr,Y || '''DEC''' A || '''TSC''' || '''BIT''' addr,X || '''AND''' addr,X || '''ROL''' addr,X || '''AND''' long,X | ||
+ | ! 3 | ||
|- | |- | ||
! 4 | ! 4 | ||
| '''RTI''' || '''EOR''' (_dp,_X) || '''WDM''' || '''EOR''' sr,S || '''MVP''' || '''EOR''' dp || '''LSR''' dp || '''EOR''' [dp] | | '''RTI''' || '''EOR''' (_dp,_X) || '''WDM''' || '''EOR''' sr,S || '''MVP''' || '''EOR''' dp || '''LSR''' dp || '''EOR''' [dp] | ||
| '''PHA''' || '''EOR''' #const || '''LSR''' A || '''PHK''' || '''JMP''' addr || '''EOR''' addr || '''LSR''' addr || '''EOR''' long | | '''PHA''' || '''EOR''' #const || '''LSR''' A || '''PHK''' || '''JMP''' addr || '''EOR''' addr || '''LSR''' addr || '''EOR''' long | ||
+ | ! 4 | ||
|- | |- | ||
! 5 | ! 5 | ||
| '''BVC''' || '''EOR''' (dp),Y || '''EOR''' (dp) || '''EOR''' (sr,S),Y || '''MVN''' || '''EOR''' dp,X || '''LSR''' dp,X || '''EOR''' [dp],Y | | '''BVC''' || '''EOR''' (dp),Y || '''EOR''' (dp) || '''EOR''' (sr,S),Y || '''MVN''' || '''EOR''' dp,X || '''LSR''' dp,X || '''EOR''' [dp],Y | ||
| '''CLI''' || '''EOR''' addr,Y || '''PHY''' || '''TCD''' || '''JML''' long || '''EOR''' addr,X || '''LSR''' addr,X || '''EOR''' long,X | | '''CLI''' || '''EOR''' addr,Y || '''PHY''' || '''TCD''' || '''JML''' long || '''EOR''' addr,X || '''LSR''' addr,X || '''EOR''' long,X | ||
+ | ! 5 | ||
|- | |- | ||
! 6 | ! 6 | ||
| '''RTS''' || '''ADC''' (dp,X) || '''PER''' || '''ADC''' sr,S || '''STZ''' dp || '''ADC''' dp || '''ROR''' dp || '''ADC''' [dp] | | '''RTS''' || '''ADC''' (dp,X) || '''PER''' || '''ADC''' sr,S || '''STZ''' dp || '''ADC''' dp || '''ROR''' dp || '''ADC''' [dp] | ||
| '''PLA''' || '''ADC''' #const || '''ROR''' A || '''RTL''' || '''JMP''' (addr) || '''ADC''' addr || '''ROR''' addr || '''ADC''' long | | '''PLA''' || '''ADC''' #const || '''ROR''' A || '''RTL''' || '''JMP''' (addr) || '''ADC''' addr || '''ROR''' addr || '''ADC''' long | ||
+ | ! 6 | ||
|- | |- | ||
! 7 | ! 7 | ||
| '''BVS''' || '''ADC''' (dp),Y || '''ADC''' (dp) || '''ADC''' (sr,S),Y || '''STZ''' dp,X || '''ADC''' dp,X || '''ROR''' dp,X || '''ADC''' [dp],Y | | '''BVS''' || '''ADC''' (dp),Y || '''ADC''' (dp) || '''ADC''' (sr,S),Y || '''STZ''' dp,X || '''ADC''' dp,X || '''ROR''' dp,X || '''ADC''' [dp],Y | ||
| '''SEI''' || '''ADC''' addr,Y || '''PLY''' || '''TDC''' || '''JMP''' (addr,X) || '''ADC''' addr,X || '''ROR''' addr,X || '''ADC''' long,X | | '''SEI''' || '''ADC''' addr,Y || '''PLY''' || '''TDC''' || '''JMP''' (addr,X) || '''ADC''' addr,X || '''ROR''' addr,X || '''ADC''' long,X | ||
+ | ! 7 | ||
|- | |- | ||
! 8 | ! 8 | ||
| '''BRA''' || '''STA''' (_dp,_X) || '''BRL''' || '''STA''' sr,S || '''STY''' dp || '''STA''' dp || '''STX''' dp || '''STA''' [dp] | | '''BRA''' || '''STA''' (_dp,_X) || '''BRL''' || '''STA''' sr,S || '''STY''' dp || '''STA''' dp || '''STX''' dp || '''STA''' [dp] | ||
| '''DEY''' || '''BIT''' #const || '''TXA''' || '''PHB''' || '''STY''' addr || '''STA''' addr || '''STX''' addr || '''STA''' long | | '''DEY''' || '''BIT''' #const || '''TXA''' || '''PHB''' || '''STY''' addr || '''STA''' addr || '''STX''' addr || '''STA''' long | ||
+ | ! 8 | ||
|- | |- | ||
! 9 | ! 9 | ||
| '''BCC''' || '''STA''' (dp),Y || '''STA''' (dp) || '''STA''' (sr,S),Y || '''STY''' dp,X || '''STA''' dp,X || '''STX''' dp,Y || '''STA''' [dp],Y | | '''BCC''' || '''STA''' (dp),Y || '''STA''' (dp) || '''STA''' (sr,S),Y || '''STY''' dp,X || '''STA''' dp,X || '''STX''' dp,Y || '''STA''' [dp],Y | ||
| '''TYA''' || '''STA''' addr,Y || '''TXS''' || '''TXY''' || '''STZ''' addr || '''STA''' addr,X || '''STZ''' addr,X || '''STA''' long,X | | '''TYA''' || '''STA''' addr,Y || '''TXS''' || '''TXY''' || '''STZ''' addr || '''STA''' addr,X || '''STZ''' addr,X || '''STA''' long,X | ||
+ | ! 9 | ||
|- | |- | ||
! A | ! A | ||
| '''LDY''' #const || '''LDA''' (_dp,_X) || '''LDX''' #const || '''LDA''' sr,S || '''LDY''' dp || '''LDA''' dp || '''LDX''' dp || '''LDA''' [dp] | | '''LDY''' #const || '''LDA''' (_dp,_X) || '''LDX''' #const || '''LDA''' sr,S || '''LDY''' dp || '''LDA''' dp || '''LDX''' dp || '''LDA''' [dp] | ||
| '''TAY''' || '''LDA''' #const || '''TAX''' || '''PLB''' || '''LDY''' addr || '''LDA''' addr || '''LDX''' addr || '''LDA''' long | | '''TAY''' || '''LDA''' #const || '''TAX''' || '''PLB''' || '''LDY''' addr || '''LDA''' addr || '''LDX''' addr || '''LDA''' long | ||
+ | ! A | ||
|- | |- | ||
! B | ! B | ||
| '''BCS''' || '''LDA''' (dp),Y || '''LDA''' (dp) || '''LDA''' (sp,S),Y || '''LDY''' dp,X || '''LDA''' dp,X || '''LDX''' dp,Y || '''LDA''' [dp],Y | | '''BCS''' || '''LDA''' (dp),Y || '''LDA''' (dp) || '''LDA''' (sp,S),Y || '''LDY''' dp,X || '''LDA''' dp,X || '''LDX''' dp,Y || '''LDA''' [dp],Y | ||
| '''CLV''' || '''LDA''' addr,Y || '''TSX''' || '''TYX''' || '''LDY''' addr,X || '''LDA''' addr,X || '''LDX''' addr,Y || '''LDA''' long,X | | '''CLV''' || '''LDA''' addr,Y || '''TSX''' || '''TYX''' || '''LDY''' addr,X || '''LDA''' addr,X || '''LDX''' addr,Y || '''LDA''' long,X | ||
+ | ! B | ||
|- | |- | ||
! C | ! C | ||
| '''CPY''' #const || '''CMP''' (_dp,_X) || '''REP''' || '''CMP''' sr,S || '''CPY''' dp || '''CMP''' dp || '''DEC''' dp || '''CMP''' [dp] | | '''CPY''' #const || '''CMP''' (_dp,_X) || '''REP''' || '''CMP''' sr,S || '''CPY''' dp || '''CMP''' dp || '''DEC''' dp || '''CMP''' [dp] | ||
| '''INY''' || '''CMP''' #const || '''DEX''' || '''WAI''' || '''CPY''' addr || '''CMP''' addr || '''DEC''' addr || '''CMP''' long | | '''INY''' || '''CMP''' #const || '''DEX''' || '''WAI''' || '''CPY''' addr || '''CMP''' addr || '''DEC''' addr || '''CMP''' long | ||
+ | ! C | ||
|- | |- | ||
! D | ! D | ||
| '''BNE''' || '''CMP''' (dp),Y || '''CMP''' (dp) || '''CMP''' (sr,S),Y || '''PEI''' (dp) || '''CMP''' dp,X || '''DEC''' dp,X || '''CMP''' [dp],Y | | '''BNE''' || '''CMP''' (dp),Y || '''CMP''' (dp) || '''CMP''' (sr,S),Y || '''PEI''' (dp) || '''CMP''' dp,X || '''DEC''' dp,X || '''CMP''' [dp],Y | ||
| '''CLD''' || '''CMP''' addr,Y || '''PHX''' || '''STP''' || '''JML''' [addr] || '''CMP''' addr,X || '''DEC''' addr,X || '''CMP''' long,X | | '''CLD''' || '''CMP''' addr,Y || '''PHX''' || '''STP''' || '''JML''' [addr] || '''CMP''' addr,X || '''DEC''' addr,X || '''CMP''' long,X | ||
+ | ! D | ||
|- | |- | ||
! E | ! E | ||
| '''CPX''' #const || '''SBC''' (_dp,_X) || '''SEP''' || '''SBC''' sr,S || '''CPX''' dp || '''SBC''' dp || '''INC''' dp || '''SBC''' [dp] | | '''CPX''' #const || '''SBC''' (_dp,_X) || '''SEP''' || '''SBC''' sr,S || '''CPX''' dp || '''SBC''' dp || '''INC''' dp || '''SBC''' [dp] | ||
| '''INX''' || '''SBC''' #const || '''NOP''' || '''XBA''' || '''CPX''' addr || '''SBC''' addr || '''INC''' addr || '''SBC''' long | | '''INX''' || '''SBC''' #const || '''NOP''' || '''XBA''' || '''CPX''' addr || '''SBC''' addr || '''INC''' addr || '''SBC''' long | ||
+ | ! E | ||
|- | |- | ||
! F | ! F | ||
| '''BEQ''' || '''SBC''' (dp),Y || '''SBC''' (dp) || '''SBC''' (sr,S),Y || '''PEA''' addr || '''SBC''' dp,X || '''INC''' dp,X || '''SBC''' [dp],Y | | '''BEQ''' || '''SBC''' (dp),Y || '''SBC''' (dp) || '''SBC''' (sr,S),Y || '''PEA''' addr || '''SBC''' dp,X || '''INC''' dp,X || '''SBC''' [dp],Y | ||
| '''SED''' || '''SBC''' addr,Y || '''PLX''' || '''XCE''' || '''JSR''' (addr,X) || '''SBC''' addr,X || '''INC''' addr,X || '''SBC''' long,X | | '''SED''' || '''SBC''' addr,Y || '''PLX''' || '''XCE''' || '''JSR''' (addr,X) || '''SBC''' addr,X || '''INC''' addr,X || '''SBC''' long,X | ||
+ | ! F | ||
+ | |- | ||
+ | ! !! 0 !! 1 !! 2 !! 3 !! 4 !! 5 !! 6 !! 7 !! 8 !! 9 !! A !! B !! C !! D !! E !! F !! | ||
|} | |} |
Latest revision as of 12:35, 31 August 2020
0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | A | B | C | D | E | F | ||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | BRK | ORA (dp, X) | COP | ORA sr,S | TSB dp | ORA dp | ASL dp | ORA [dp] | PHP | ORA #const | ASL A | PHD | TSB addr | ORA addr | ASL addr | ORA long | 0 |
1 | BPL | ORA (dp),Y | ORA (dp) | ORA (sr,S),Y | TRB dp | ORA dp, X | ASL dp,X | ORA [dp],Y | CLC | ORA addr,Y | INC A | TCS | TRB addr | ORA addr,X | ASL addr,X | ORA long,X | 1 |
2 | JSR addr | AND (_dp,_X) | JSL long | AND sr,S | BIT dp | AND dp | ROL dp | AND [dp] | PLP | AND #const | ROL A | PLD | BIT addr | AND addr | ROL addr | AND long | 2 |
3 | BMI | AND (dp),Y | AND (dp) | AND (sr,S),Y | BIT dp,X | AND dp,X | ROL dp,X | AND [dp],Y | SEC | AND addr,Y | DEC A | TSC | BIT addr,X | AND addr,X | ROL addr,X | AND long,X | 3 |
4 | RTI | EOR (_dp,_X) | WDM | EOR sr,S | MVP | EOR dp | LSR dp | EOR [dp] | PHA | EOR #const | LSR A | PHK | JMP addr | EOR addr | LSR addr | EOR long | 4 |
5 | BVC | EOR (dp),Y | EOR (dp) | EOR (sr,S),Y | MVN | EOR dp,X | LSR dp,X | EOR [dp],Y | CLI | EOR addr,Y | PHY | TCD | JML long | EOR addr,X | LSR addr,X | EOR long,X | 5 |
6 | RTS | ADC (dp,X) | PER | ADC sr,S | STZ dp | ADC dp | ROR dp | ADC [dp] | PLA | ADC #const | ROR A | RTL | JMP (addr) | ADC addr | ROR addr | ADC long | 6 |
7 | BVS | ADC (dp),Y | ADC (dp) | ADC (sr,S),Y | STZ dp,X | ADC dp,X | ROR dp,X | ADC [dp],Y | SEI | ADC addr,Y | PLY | TDC | JMP (addr,X) | ADC addr,X | ROR addr,X | ADC long,X | 7 |
8 | BRA | STA (_dp,_X) | BRL | STA sr,S | STY dp | STA dp | STX dp | STA [dp] | DEY | BIT #const | TXA | PHB | STY addr | STA addr | STX addr | STA long | 8 |
9 | BCC | STA (dp),Y | STA (dp) | STA (sr,S),Y | STY dp,X | STA dp,X | STX dp,Y | STA [dp],Y | TYA | STA addr,Y | TXS | TXY | STZ addr | STA addr,X | STZ addr,X | STA long,X | 9 |
A | LDY #const | LDA (_dp,_X) | LDX #const | LDA sr,S | LDY dp | LDA dp | LDX dp | LDA [dp] | TAY | LDA #const | TAX | PLB | LDY addr | LDA addr | LDX addr | LDA long | A |
B | BCS | LDA (dp),Y | LDA (dp) | LDA (sp,S),Y | LDY dp,X | LDA dp,X | LDX dp,Y | LDA [dp],Y | CLV | LDA addr,Y | TSX | TYX | LDY addr,X | LDA addr,X | LDX addr,Y | LDA long,X | B |
C | CPY #const | CMP (_dp,_X) | REP | CMP sr,S | CPY dp | CMP dp | DEC dp | CMP [dp] | INY | CMP #const | DEX | WAI | CPY addr | CMP addr | DEC addr | CMP long | C |
D | BNE | CMP (dp),Y | CMP (dp) | CMP (sr,S),Y | PEI (dp) | CMP dp,X | DEC dp,X | CMP [dp],Y | CLD | CMP addr,Y | PHX | STP | JML [addr] | CMP addr,X | DEC addr,X | CMP long,X | D |
E | CPX #const | SBC (_dp,_X) | SEP | SBC sr,S | CPX dp | SBC dp | INC dp | SBC [dp] | INX | SBC #const | NOP | XBA | CPX addr | SBC addr | INC addr | SBC long | E |
F | BEQ | SBC (dp),Y | SBC (dp) | SBC (sr,S),Y | PEA addr | SBC dp,X | INC dp,X | SBC [dp],Y | SED | SBC addr,Y | PLX | XCE | JSR (addr,X) | SBC addr,X | INC addr,X | SBC long,X | F |
0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | A | B | C | D | E | F |