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
(opcode 26) |
(opcode 27) |
||
Line 42: | Line 42: | ||
|5 cycles | |5 cycles | ||
|+ | |+ | ||
| | |[[Direct Page Indexed by X]] | ||
|27 | |27 | ||
|2 bytes | |2 bytes |
Revision as of 05:43, 24 July 2023
Basic Info | |||||||
---|---|---|---|---|---|---|---|
Addressing Mode | Opcode | Length | Speed | ||||
Immediate | 28 | 2 bytes | 2 cycles | ||||
Implied (type 1) | 26 | 1 byte | 3 cycles | ||||
Direct Page | 24 | 2 bytes | 3 cycles | ||||
Direct Page Indexed by X | 34 | 2 bytes | 4 cycles | ||||
Absolute | 25 | 3 bytes | 4 cycles | ||||
Absolute Indexed by X | 35 | 3 bytes | 5 cycles | ||||
Absolute Indexed by Y | 36 | 3 bytes | 5 cycles | ||||
Direct Page Indexed by X | 27 | 2 bytes | 6 cycles | ||||
37 | 2 bytes | 6 cycles | |||||
39 | 1 bytes | 5 cycles | |||||
29 | 3 bytes | 6 cycles | |||||
Direct Page Immediate | 38 | 3 bytes | 5 cycles |
Flags Affected | |||||||
---|---|---|---|---|---|---|---|
N | V | P | B | H | I | Z | C |
. | . | . | . | . | . |
AND is an SPC700 instruction that performs a logical conjunction.
See Also
External Links
- Official Super Nintendo development manual on AND: Appendix C-6 of Book I