We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
OR (SPC700): Difference between revisions
From SnesLab
(direct page admode) |
(abs admodes) |
||
Line 27: | Line 27: | ||
|4 cycles | |4 cycles | ||
|+ | |+ | ||
| | |[[Absolute Addressing | Absolute]] | ||
|05 | |05 | ||
|3 bytes | |3 bytes | ||
|4 cycles | |4 cycles | ||
|+ | |+ | ||
| | |[[Absolute Indexed by X]] | ||
|15 | |15 | ||
|3 bytes | |3 bytes | ||
|5 cycles | |5 cycles | ||
|+ | |+ | ||
| | |[[Absolute Indexed by Y]] | ||
|16 | |16 | ||
|3 bytes | |3 bytes |
Revision as of 19:01, 23 July 2023
Basic Info | |||||||
---|---|---|---|---|---|---|---|
Addressing Mode | Opcode | Length | Speed | ||||
Immediate | 08 | 2 bytes | 2 cycles | ||||
06 | 1 byte | 3 cycles | |||||
Direct Page | 04 | 2 bytes | 3 cycles | ||||
14 | 2 bytes | 4 cycles | |||||
Absolute | 05 | 3 bytes | 4 cycles | ||||
Absolute Indexed by X | 15 | 3 bytes | 5 cycles | ||||
Absolute Indexed by Y | 16 | 3 bytes | 5 cycles | ||||
07 | 2 bytes | 6 cycles | |||||
17 | 2 bytes | 6 cycles | |||||
19 | 1 bytes | 5 cycles | |||||
09 | 3 bytes | 6 cycles | |||||
18 | 3 bytes | 5 cycles |
Flags Affected | |||||||
---|---|---|---|---|---|---|---|
N | V | P | B | H | I | Z | C |
. | . | . | . | . | . |
OR is an SPC700 instruction that performs a logical or.
See Also
External Links
- Official Super Nintendo development manual on OR: Appendix C-6 of Book I