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
(fixed target)
(added description)
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

Revision as of 20:16, 12 July 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