English
Language : 

ACE1502 Datasheet, PDF (10/33 Pages) Fairchild Semiconductor – Arithmetic Controller Engine for Low Power Applications
3.3 Addressing Modes
The ACEx microcontroller has seven addressing modes
indexed, indirect, direct, immediate, absolute jump, and relative
jump.
Indexed
The instruction allows an 8-bit unsigned offset value to be
added to the 11-LSBs of the X-pointer yielding a new effective
address. This mode can be used to address either data or pro-
gram memory space.
Indirect
The instruction allows the X-pointer to address any location
within the data memory space.
Direct
The instruction contains an 8-bit address field that directly
points to the data memory space as an operand.
Immediate
The instruction contains an 8-bit immediate field as an operand.
Inherent
This instruction has no operands associated with it.
Absolute
The instruction contains an 11-bit address that directly points to
a location in the program memory space. There are two oper-
ands associated with this addressing mode. Each operand con-
tains a byte of an address. This mode is used only for the long
jump (JMP) and JSR instructions.
Relative
This mode is used for the short jump (JP) instructions where the
operand is a value relative to the current PC address. With this
instruction, software is limited to the number of bytes it can
jump, -31 or +32.
Table 8. Instruction Addressing Modes
Instruction Immediate
Direct
ADC
ADD
AND
OR
SUBC
XOR
A, #
A, M
A, #
A, M
A, #
A, M
A, #
A, M
A, #
A, M
A, #
A, M
CLR
M
INC
M
DEC
M
IFEQ
IFGT
IFNE
IFLT
A, # X, # M,#
A, # X, #
A, # X, # M,#
X, #
A, M
A, M
A, M
SC
RC
IFC
IFNC
INVC
LDC
#, M
STC
#, M
RLC
M
RRC
M
LD
A, # M, # X, # A, M M, M
ST
A, M
NOP
IFBIT
#, A
#, M
IFNBIT
SBIT
RBIT
#, A
#, M
#, M
#, M
JP
JSR
JMP
RET
RETI
INTR
Indexed
A, [#, X]
A, [#, X]
A, [#, X]
A, [#, X]
A, [#, X]
A, [#, X]
A, [#, X]
A, [#, X]
A, [#, X]
Indirect
A, [X]
A, [X]
A, [X]
A, [X]
A, [X]
A, [X]
A, [X]
A, [X]
A, [X]
Inherent
A
X
A
X
A
X
Relative
Absolute
no-op
no-op
no-op
no-op
no-op
A
A
A, [#, X]
A, [#, X]
A, [X]
A, [X]
no-op
[#, X]
[#, X]
[#, X]
[#, X]
[#, X]
[#, X]
Rel
M
M
no-op
no-op
no-op
10
ACE1502 Product Family Rev. 1.7
www.fairchildsemi.com