On 08/03/2020 14:18, Martin Gregorie wrote:
> On Sun, 08 Mar 2020 13:57:47 +0000, mm0fmf wrote:
>
>> On 08/03/2020 13:03, Martin Gregorie wrote:
>>> so I found its collation sequence rather nasty - and still do.
>>
>> You need to learn 8086 assembler then. Instruction set support for
>> EBCDICASCII.
>>
> Nah, just need to implement a suitable Java Comparable class
Java: another Dodo language like COBOL.
XLAT was added to the original 8086 instruction set by Intel at IBM's
request specifically for speeding up conversions to and from EBCDIC.
Load DS:BX with the table address, element index in to AL and
XLAT loads AL with the byte at DS:BX + AL.
I wrote some 8086 code that specifically used it in maybe 1985 ISTR.
Never used it again and was surprised to see it has made it's way into
the 64bit instruction set. Last 80x86 assembler I wrote was 1996 for an
80186EB embedded thing. Luckily I've only needed ARM (assorted sizes)
and MIPS since then in the job that pays the bills and some PIC 8bit for
hobbyjobbies.
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|