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
Jump to: navigation, search
(Spc700 Category)
(added table)
 
Line 1: Line 1:
{| class="wikitable"
! 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 ===
=== Reference ===
* Figure 3-8-3. [https://archive.org/details/SNESDevManual/book1/page/n187 page 3-8-9 of Book I] of the official Super Nintendo development manual
* 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]]
[[Category:SPC700]]

Latest revision as of 07:28, 18 December 2023

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