MC81F4x16
X indexed indirect → [dp+X]
Processes memory data as Data, assigned by 16-bit pair memory which i s determined by pair data
[dp+X+1][dp+X] Operand plus X-register data in Direct page.
ADC, AND, CMP, EOR, LDA, OR, SBC, STA
Example :
:
:
;when G = 0
X = 10h
;
ADC [25h + X] ;op code is 16h
:
Y indexed indirect → [dp]+Y
Processes memory data as Data, assigned by the data [dp+1][dp] of 16-bit pair memory paired by
Operand in Direct page plus Y-register data.
ADC, AND, CMP, EOR, LDA, OR, SBC, STA
Example :
:
:
;when G = 0
Y = 10h
;
ADC [25h + Y] ;op code is 17h
:
70
October 19, 2009 Ver.1.35