XLAT
TRANSLATE XLAT
Operation: | Flags Affected: |
AL +- ((BX) + (AL)) | None |
Description:
XLAT translate-table
XLAT (translate) replac;es a byte in the AL register with a byte from a
The first byte in the table has an offset of O. For example, if AL contains 5H, and the sixth element of the translation table contains 33H, then AL will contain 33H following the instruction. XLAT is useful for translating characters from one code to another, the classic example being ASCII to EBCDIC or the reverse.
Encoding:
11010111
XLAT Operands Clocks Transfers Bytes XLAT Coding Example
11 | - 1 | 1 | XLAT ASCII_TAB |