13
IN STRUC TION S
Ab s o lu t e X
Ad d r e s s in g m o d e :
F u n c tio n :
In s tr u c tio n s :
Ex a m p le :
Absolute X
Specifies the contents in a memory location as the
data for the instruction. The address in the memory
location is determined by the following:
(a) Operand I is used as the low-order byte of an
address, Operand II as the high-order byte.
(b) Index Register X is added to the address above.
The result is the address in the memory location.
ADC, AND, ASL, CMP, DEC, EOR, INC, LDA, LDY, LSR,
ORA, ROL, ROR, SBC, STA
Mnemonic
Machine code
∆
ADC
∆
$AD12, X
7D
16
12
16
AD
16
Addressing mode
+ EE
16
= AE00
16
AAAAA
AAAAA
Op-code (7D
16
)
Operand I (12
16
)
Operand II (AD
16
)
(A)
←
(A) + (C) + XX
16
Data(XX
16
)
Memory
AE00
16
Absolute X
designation
Contetns of Index
Register X