@Gil, I don't know if this was a "real problem" or just general venting
about EBCDIC and the HLASM, but it would seem to me like a good approach
would be the one-time effort to define a copy member with 256 statements
something like

ASCII_NUL         EQU  0
ASCII_SOH         EQU  1
...
ASCII_Space       EQU  X'20'
ASCII_Exclam      EQU  X'21'
...
ASCII_A_UC        EQU X'41'
...
ASCII_LeftBracket EQU X'5B'
...
ASCII_A_LC        EQU X'61'
...

Would probably only take an hour or two.

Then for your sample problem you could simply code 

MVI TARGET,ASCII_LeftBracket

Straightforward and self-evident.

Charles 

Reply via email to