We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS

CIC Opcode Matrix: Difference between revisions

From SnesLab
Jump to: navigation, search
(some more 4x opcodes)
(added 6x mnemonics)
Line 30: Line 30:
| 5x || || || movsk  A,[HL+] || ? || not    A || in    A,[L] || ? || xchg || ? || ? || ? || ? || mov    X,A || xchg  X,A || ??? || ?
| 5x || || || movsk  A,[HL+] || ? || not    A || in    A,[L] || ? || xchg || ? || ? || ? || ? || mov    X,A || xchg  X,A || ??? || ?
|-  
|-  
| 6x || || || || || || || || || || || || || || || ||
| 6x || testsk || testsk || testsk || testsk || testsk || testsk || testsk || testsk || clr || clr || clr || clr || set || set || set || set
|-  
|-  
| 7x || add    A,[HL] || ? || adc    A,[HL] || adcsk  A,[HL] || mov H, 0 || mov H, 1|| mov H, 2|| mov H, 3|| || || || || || || ||
| 7x || add    A,[HL] || ? || adc    A,[HL] || adcsk  A,[HL] || mov H, 0 || mov H, 1|| mov H, 2|| mov H, 3|| || || || || || || ||

Revision as of 22:15, 20 April 2023

x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 xA xB xC xD xE xF
0x nop addsk addsk addsk addsk addsk addsk addsk addsk addsk addsk addsk addsk addsk addsk addsk
1x cmpsk cmpsk cmpsk cmpsk cmpsk cmpsk cmpsk cmpsk cmpsk cmpsk cmpsk cmpsk cmpsk cmpsk cmpsk cmpsk
2x mov mov mov mov mov mov mov mov mov mov mov mov mov mov mov mov
3x mov mov mov mov mov mov mov mov mov mov mov mov mov mov mov mov
4x mov xchg A,[HL] xchgsk A,[HL+] xchgsk A,[HL-] neg A ? out out set clr mov ? ret retsk ? ?
5x movsk A,[HL+] ? not A in A,[L] ? xchg ? ? ? ? mov X,A xchg X,A ??? ?
6x testsk testsk testsk testsk testsk testsk testsk testsk clr clr clr clr set set set set
7x add A,[HL] ? adc A,[HL] adcsk A,[HL] mov H, 0 mov H, 1 mov H, 2 mov H, 3

Source:

https://problemkaputt.de/fullsnes.htm#snescartridgecicinstructionset