例2-4-41:读取位于$302 处的数据表中的数据
TBR EQU OEH
TEMP EQU 20H
:
:
001A LDI TBR,00H ;put index value (high nibble) 0 into TBR.
001B LDI TEMP,02 ;put index value (low nibble) 2 into AC
001C CALL 300H ;call subprogram.
001D :
:
:
ORG 300H
0300 TJMP ; get destination address $0302H according to (PC11~PC8),TBR,AC
0301 RTNW 00H,01H
0302 RTNW 00H,02H ;return to main program, H