Article View: bit.listserv.asm370
Article #275new type of CA for ascii strings
From: John R. Ehrman (408-463-3543 T/5...
Date: Fri, 22 Sep 2006 17:17
Date: Fri, 22 Sep 2006 17:17
41 lines
2667 bytes
2667 bytes
The easy explanation is that HLASM doesn't support CA terms.
Character self-defining terms are complex. When the assemblers
assumed only code page 037 for input, C'$' meant X'5B'. But we
now have dozens of EBCDIC code pages containing the $ character,
C'$' can have values X'5B' (the HLASM default), X'67', and X'4A'
just among the set of code pages HLASM supports for Unicode
translation.
Many EBCDIC code pages are now used to prepare input for HLASM.
A statement with the term C'$' could contain any of the code
points just mentioned; each has a different ASCII translation.
A possible solution would be to make *all* character terms and
constants subject to translation, but the impact on existing
applications is very difficult to determine.
Your thoughts and suggestions are welcomed.
John Ehrman
(------------------ Referenced Note Follows --------------------)
Date: Fri, 22 Sep 2006 15:33:43 +0200
From: Martin <martin@pi-sysprog.de>
To: those that teach HLASM
how do you "sell"/"explain" this to your students?
It is totaly okay to use
MVI FIELD,C'A'
to move the EBCDIC constant A to a field
but it is not okay to use
MVI FIELD,CA'A'
to move the ASCII constant A to a field.
ASCII is certainly not UNICODE-16.
Technical Details
Message-ID:
<200609221738.k8MHcXSh030000@d03av01.boulder.ibm.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!news.glorb.com!sn-xt-sjc-05!sn-xt-sjc-07!sn-xt-sjc-12!supernews.com!foggy!vm.sas.com!vnet.ibm.com!ehrmanShow Full Headers
Complete Article Headers
X-Google-Thread: fcdcb,433aad44ed0b5bdb
X-Google-Attributes: gidfcdcb,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!news.glorb.com!sn-xt-sjc-05!sn-xt-sjc-07!sn-xt-sjc-12!supernews.com!foggy!vm.sas.com!vnet.ibm.com!ehrman
From: "John R. Ehrman (408-463-3543 T/543-)" <ehrman@vnet.ibm.com>
Newsgroups: bit.listserv.asm370
Subject: new type of CA for ascii strings
Date: Fri, 22 Sep 2006 10:17:15 -0700
Organization: SAS Inc.
Lines: 41
Sender: IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU>
Message-ID: <200609221738.k8MHcXSh030000@d03av01.boulder.ibm.com>
NNTP-Posting-Host: mozart.unx.sas.com
Mime-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Trace: foggy.unx.sas.com 1158946732 10758 10.19.150.41 (22 Sep 2006 17:38:52 GMT)
X-Complaints-To: usenet@unx.sas.com
NNTP-Posting-Date: Fri, 22 Sep 2006 17:38:52 +0000 (UTC)
Comments: Gated by NETNEWS@VM.SAS.COM
Return-Path: <owner-assembler-list@LISTSERV.UGA.EDU>
X-Scanned-By: Digested by UGA Mail Gateway on 128.192.1.75
Approved-By: "John R. Ehrman (408-463-3543 T/543-)" <ehrman@VNET.IBM.COM>
Return-Path: owner-assembler-list@LISTSERV.UGA.EDU
X-OriginalArrivalTime: 22 Sep 2006 17:38:49.0202 (UTC)
FILETIME=[F6522D20:01C6DE6D]
Originator: daemon@mozart.unx.sas.com