What are you talking about?What point are you trying to make?
On Thu, Apr 12, 2018 at 3:30 PM -0500, "Tom Marchant"
<[email protected]> wrote:
On Wed, 11 Apr 2018 20:15:12 +0000, Keven wrote:
>Using the UNPK/OI does mean no reading past the last byte of the value to be
>converted which may be desirable for a generalized implementation.
Sure, you could do something like this to convert two bytes to four hex digits:
UNPK OUT(3),IN(2)
MVC OUT+3(1),IN+1
OI OUT+2,X'F0'
OI OUT+3,X'F0'
TR OUT(4),TRTABLE-240
Or you can do:
UNPK OUT(5),IN(3)
TR OUT(4),TRTABLE-240
IN DS XL2
OUT DS CL5
TRTABLE DC C'0123456789ABCDEF'
I would opt for the latter.
--
Tom Marchant