•  Back 
  •  Assembler 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help 
  •  Show info about hypertext 
  •  View a new file 
Topic       : Pure Assembler Documentation
Author      : John Kormylo
Version     : PASM.HYP 1.0
Subject     : Documentation/Pure Assembler
Nodes       : 740
Index Size  : 20262
HCP-Version : 3
Compiled on : Atari
@charset    : atarist
@lang       : en
@default    : 
@help       : Help
@options    : +g -i -s +x +z -t4
@width      : 75
View Ref-File[ Addressing Modes ]

Dn            Data Register Direct
An            Address Register Direct
(An)          Address Register Indirect
(An)+         Address Register Indirect with Post-increment
-(An)         Address Register Indirect with Pre-decrement
d(An)         Address Register Indirect with Displacement
d(An,Rx)      Address Register Indirect with Index.
addr          Absolute Address
#data         Immediate
d(PC)         Program Counter Relative.
d(PC,Rx)      Program Counter Relative with Index.

([b,An],Rx,d) Memory Indirect Post-indexed.              (CPUs: 234)
([b,An,Rx],d) Memory Indirect Pre-indexed.               (CPUs: 234)
([b,PC],Rx,d) PC Memory Indirect Post-indexed.           (CPUs: 234)
([b,PC,Rx],d) PC Memory Indirect Pre-indexed.            (CPUs: 234)

Rx = Dn, Dn.s, An, An.s                                  (CPUs: 01234)
     Dn*f, Dn.s*f, An*f, An.s*f                          (CPUs: 234)
n = 0 ... 7
s = W or L                                               (default = L)
f = 1, 2, 4 or 8                                         (default = 1)
b & d are numbers or labels.

A7 is used as the stack pointer, and can also be referred to as SP.