English
Language : 

HMS87C5216 Datasheet, PDF (26/76 Pages) List of Unclassifed Manufacturers – CMOS SINGLE-CHIP 8-BIT MICROCONTROLLER FOR UR(Universal Remocon) & WIRELESS KEYBOARD
HMS87C5216
The operation within data memory (RAM)
ASL, BIT, DEC, INC, LSR, ROL, ROR
Example; Addressing accesses the address 0135H.
983500 INC !0035H
;A ←RAM[035H]
0035H
data
~~
0F100H
98
0F101H
35
0F102H
00
Ã
~~
À
data+1 →data
þ
address: 0035
(5) Indexed Addressing
X indexed direct page (no offset) →{X}
In this mode, a address is specified by the X register.
ADC, AND, CMP, EOR, LDA, OR, SBC, STA, XMA
Example; X=15H
D4
LDA {X}
;ACC←RAM[X].
15H
data
~~
0E550H
D4
À
~~
þ
data →A
X indexed direct page, auto increment→{X}+
In this mode, a address is specified within direct page by the X
register and the content of X is increased by 1.
LDA, STA
Example; X=35H
DB
LDA
{X}+
35H
data
~~
DB
À
~~
data →A
þ 36H →X
X indexed direct page (8 bit offset) →dp+X
This address value is the second byte (Operand) of command plus
the data of X-register. And it assigns the memory in Direct page.
ADC, AND, CMP, EOR, LDA, LDY, OR, SBC, STA STY,
XMA, ASL, DEC, INC, LSR, ROL, ROR
Example; X=015H
C645
LDA 45H+X
5AH
data
~~
0E550H
C6
0E551H
45
~~
þ
Ã
À data →A
45H+15H=5AH
SEP. 2004 Ver 1.01