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
(several more 5x opcodes) |
(some more 4x opcodes) |
||
Line 26: | Line 26: | ||
| 3x || 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 || || || || || ? || out || out || set || clr || mov || ? || ret || retsk || || | | 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 || ??? || ? | | 5x || || || movsk A,[HL+] || ? || not A || in A,[L] || ? || xchg || ? || ? || ? || ? || mov X,A || xchg X,A || ??? || ? |
Revision as of 22:11, 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 | ||||||||||||||||
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