> You want printable hex, so replace the CVD, MVC, ED, NC, and TR with the
> following:
>          ST     R0,FULLWORD
>          UNPK   M1CC+1(9),FULLWORD(5)
>          TR      M1CC+1(8),=C'0123456789ABCDEF'-X'F0'
> After this, M1CC will contain X'F0F0F0F0F0F0F8C2', which will print as
> 0000008B.
>
> Your NC and TR will work, but only if the original hex number is first
> unpacked into twice as many bytes.  If you use the tricky literal I used,
you
> avoid needing to do the NC instruction.  After the UNPK, you can do
either your
> original NC and TR or my tricky TR.
>
>
> Bill  Fairchild

Precisely.  Unless her program is < X'F0' long at the place in the LTORG
where constant gets generated.

Todd

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to