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
(note about skipping) |
(bolded source) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 37: | Line 37: | ||
|} | |} | ||
=== See Also === | |||
* [[Checking Integrated Circuit]] | |||
https://problemkaputt.de/fullsnes.htm#snescartridgecicinstructionset | === Source === | ||
* https://problemkaputt.de/fullsnes.htm#snescartridgecicinstructionset | |||
[[Category:ASM]] | |||
[[Category:Tables]] |
Latest revision as of 06:23, 12 November 2024
Mnemonics ending in "sk" may skip the next instruction.
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 | jmp | jmp | jmp | jmp | call | call | call | call |