XLATB
No operands
Translate byte from table. Copy value of memory byte at DS:[BX + unsigned AL]
to AL register.
Algorithm:
AL = DS:[BX + unsigned AL]
Example:
#make_COM#
ORG 100h
LEA BX, dat
MOV AL, 2
XLATB ; AL = 33h
RET
dat DB 11h, 22h, 33h, 44h, 55h
Flags:
C Z S O P A
unchanged