We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
List of SPC700 Addressing Modes: Difference between revisions
From SnesLab
(→Reference: hid archive URL) |
(linkify) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
The [[SPC700]] supports some unusual addressing modes. The number of bytes column shows the total length of instructions using that addressing mode. | |||
{| class="wikitable" | |||
! Symbol !! Addressing Mode !! # of bytes | |||
|- | |||
| dp || [[Direct Page Addressing|Direct Page]] || 2 | |||
|- | |||
| dp+X || X-Indexed Direct Page || 2 | |||
|- | |||
| dp+Y || Y-Indexed Direct Page || 2 | |||
|- | |||
| (X) || [[Indirect Addressing|Indirect]] || 1 | |||
|- | |||
| (X)+ || Indirect Auto-Increment || 1 | |||
|- | |||
| dp. dp || Direct Page to D.P. || 3 | |||
|- | |||
| (X), (Y) || Indirect Page to I.P || 1 | |||
|- | |||
| dp, #imm || Immediate Data to D.P. || 3 | |||
|- | |||
| dp.bit || [[Direct Page Bit Addressing|Direct Page Bit]] || 2 | |||
|- | |||
| dp.bit, rel || [[Direct Page Bit Relative]] || 3 | |||
|- | |||
| mem.bit || [[Absolute Boolean Bit]] || 3 | |||
|- | |||
| !abs || Absolute || 3 | |||
|- | |||
| !abs+X || X-Indexed Absolute || 3 | |||
|- | |||
| !abs+y || Y-Indexed Absolute || 3 | |||
|- | |||
| [DP+X] || X-Indexed Indirect || 2 | |||
|- | |||
| [DP+Y] || Indirect Y-Indexed Indirect || 2 | |||
|} | |||
=== Reference === | === Reference === | ||
* Figure 3-8-3 | * Figure 3-8-3 on [https://archive.org/details/SNESDevManual/book1/page/n187 page 3-8-9 of Book I] of the official Super Nintendo development manual | ||
[[Category:Lists]] | [[Category:Lists]] | ||
[[Category:Addressing Modes]] | [[Category:Addressing Modes]] | ||
[[Category:SPC700]] |
Latest revision as of 14:44, 1 August 2024
The SPC700 supports some unusual addressing modes. The number of bytes column shows the total length of instructions using that addressing mode.
Symbol | Addressing Mode | # of bytes |
---|---|---|
dp | Direct Page | 2 |
dp+X | X-Indexed Direct Page | 2 |
dp+Y | Y-Indexed Direct Page | 2 |
(X) | Indirect | 1 |
(X)+ | Indirect Auto-Increment | 1 |
dp. dp | Direct Page to D.P. | 3 |
(X), (Y) | Indirect Page to I.P | 1 |
dp, #imm | Immediate Data to D.P. | 3 |
dp.bit | Direct Page Bit | 2 |
dp.bit, rel | Direct Page Bit Relative | 3 |
mem.bit | Absolute Boolean Bit | 3 |
!abs | Absolute | 3 |
!abs+X | X-Indexed Absolute | 3 |
!abs+y | Y-Indexed Absolute | 3 |
[DP+X] | X-Indexed Indirect | 2 |
[DP+Y] | Indirect Y-Indexed Indirect | 2 |
Reference
- Figure 3-8-3 on page 3-8-9 of Book I of the official Super Nintendo development manual