![]() |
Motor de Búsqueda de Datasheet de Componentes Electrónicos |
|
GMS81C2112 Datasheet(PDF) 37 Page - Hynix Semiconductor |
|
GMS81C2112 Datasheet(HTML) 37 Page - Hynix Semiconductor |
37 / 107 page ![]() GMS81C2112/GMS81C2120 JUNE. 2001 Ver 1.00 31 983501 INC !0135H ;A ←ROM[135H] (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, G=1 D4 LDA {X} ;ACC ←RAM[X]. 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; G=0, X=35H DB LDA {X}+ X indexed direct page (8 bit offset) → → → → dp+X This address value is the second byte (Operand) of com- mand plus the data of -register. And it assigns the mem- ory in Direct page. ADC, AND, CMP, EOR, LDA, LDY, OR, SBC, STA STY, XMA, ASL, DEC, INC, LSR, ROL, ROR Example; G=0, X=0F5H C645 LDA 45H+X Y indexed direct page (8 bit offset) → → → → dp+Y This address value is the second byte (Operand) of com- mand plus the data of Y-register, which assigns Memory in Direct page. This is same with above (2). Use Y register instead of X. Y indexed absolute → → → → !abs+Y Sets the value of 16-bit absolute address plus Y-register data as Memory.This addressing mode can specify memo- ry in whole area. Example; Y=55H 98 0F100H ~ ~ ~ ~ data 135H 01 0F102H 35 0F101H data+1 → data address: 0135 data D4 115H 0E550H data → A ~ ~ ~ ~ data DB 35H data Æ A ~ ~ ~ ~ 36H Æ X data 45 3AH 0E551H data → A ~ ~ ~ ~ C6 0E550H 45H+0F5H=13AH |