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
(linkify admode) |
(linkify) |
||
(5 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" | {| class="wikitable" | ||
! Symbol !! Addressing Mode !! # of bytes | ! Symbol !! Addressing Mode !! # of bytes | ||
|- | |- | ||
| dp || Direct Page || 2 | | dp || [[Direct Page Addressing|Direct Page]] || 2 | ||
|- | |- | ||
| dp+X || X-Indexed Direct Page || 2 | | dp+X || X-Indexed Direct Page || 2 | ||
Line 8: | Line 10: | ||
| dp+Y || Y-Indexed Direct Page || 2 | | dp+Y || Y-Indexed Direct Page || 2 | ||
|- | |- | ||
| (X) || Indirect || 1 | | (X) || [[Indirect Addressing|Indirect]] || 1 | ||
|- | |- | ||
| (X)+ || Indirect Auto-Increment || 1 | | (X)+ || Indirect Auto-Increment || 1 | ||
Line 18: | Line 20: | ||
| dp, #imm || Immediate Data to D.P. || 3 | | dp, #imm || Immediate Data to D.P. || 3 | ||
|- | |- | ||
| dp.bit || Direct Page Bit || 2 | | dp.bit || [[Direct Page Bit Addressing|Direct Page Bit]] || 2 | ||
|- | |- | ||
| dp.bit, rel || [[Direct Page Bit Relative]] || 3 | | dp.bit, rel || [[Direct Page Bit Relative]] || 3 | ||
|- | |- | ||
| mem.bit || Absolute Boolean Bit || 3 | | mem.bit || [[Absolute Boolean Bit]] || 3 | ||
|- | |- | ||
| !abs || Absolute || 3 | | !abs || Absolute || 3 |
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