>>> I get: >>> >>> //SYSIN DD PATHOPTS=ORDONLY,FILEDATA=TEXT,RECFM=FB,LRECL=80, >>> // BLKSIZE=8000,PATH='/tmp/user/Polyglot.s' >>> >>> 1 High Level Assembler Option Summary (PTF UK97444) Page 1 >>> ... >>> 000000 ADBD 2 DC C'[]' 037: BA BB >>> 1047: AD BD 1148: 4A 5A >>> 000002 ADBD 3 DC CA'[]' 5B 5D >>> >>> OK. I mostly understand the first line. Those are brackets in IBM-1047 >>> (but I thought the default was 037). >>> >>> But isn't DC CA'[]' supposed to translate to ASCII, which would be 5B5D? >> >> Brackets in codepage 037 are BA and BB. I get: >> >> 000000 ADBD 3024 DC C'[]' >> 000002 ADBD 3025 DC CA'[]' >> 000004 5B5D 3026 DC CA'..' >> >> (where the ".." in the third line is the hex characters BABB). This gives >> you your 5B5D. >> > ??? > What's the difference between C'...' and CA'...'? I thought the "CA" meant > generate text in ASCII. > > -- gil
Yes, but what you're seeing as "[]" in your listing above is the codepage-1047 [] characters (hex AD/BD). But the Assembler expects codepage-037 characters. AD and BD don't correspond to printable characters in codepage 037 (or at least not ones that HLASM seems to want to handle; it looks to me like they're a capital Y-acute and an umlaut), so it looks like it just leaves them alone. Cheers, Allen
