On Thu, 5 Apr 2018 13:45:04 +0200, Pieter Wiid wrote: >Not quite -- TR always wants a 256-byte table, so the standard >TR xx,HEX-C'0' only works if there are 240 byte before your hex table.
TR will only reference the locations in the translate table that are actually needed for the translation. For this purpose, the table can be 16 bytes, but you do need a register that points to 240 bytes before the table (or before). There are many ways to ensure that, including the LAY that Martin mentioned, or LARL, either of which is 6 bytes long. -- Tom Marchant
