We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
AND (SPC700): Difference between revisions
From SnesLab
(created page) |
(added official Nintendo doc link) |
||
Line 91: | Line 91: | ||
| | | | ||
|} | |} | ||
=== External Links === | |||
* Official Nintendo documentation on AND: https://archive.org/details/SNESDevManual/book1/page/n231 | |||
[[Category:ASM]] | [[Category:ASM]] | ||
[[Category:SPC700]] | [[Category:SPC700]] | ||
[[Category:8-bit Logic Operation Commands]] | [[Category:8-bit Logic Operation Commands]] |
Revision as of 03:20, 17 May 2023
CMP is an SPC700 instruction that compares.
Basic Info | |||||||
---|---|---|---|---|---|---|---|
Addressing Mode | Opcode | Length | Speed | ||||
28 | 2 bytes | 2 cycles | |||||
26 | 1 byte | 3 cycles | |||||
24 | 2 bytes | 3 cycles | |||||
34 | 2 bytes | 4 cycles | |||||
25 | 3 bytes | 4 cycles | |||||
35 | 3 bytes | 5 cycles | |||||
36 | 3 bytes | 5 cycles | |||||
27 | 2 bytes | 6 cycles | |||||
37 | 2 bytes | 6 cycles | |||||
39 | 1 bytes | 5 cycles | |||||
29 | 3 bytes | 6 cycles | |||||
38 | 3 bytes | 5 cycles |
Flags Clobbered | |||||||
---|---|---|---|---|---|---|---|
N | V | P | B | H | I | Z | C |
. | . | . | . | . | . |
External Links
- Official Nintendo documentation on AND: https://archive.org/details/SNESDevManual/book1/page/n231