ObStretch This thread is exactly why I was appaled by the "Model T" byte ("any 
size you want as long as it's 8") byte handling on the S/360, which z inherited.

Still, you can do a lot with the Rotate Then foo instructions.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Assembler List [[email protected]] on behalf 
of Paul Gilmartin [[email protected]]
Sent: Monday, January 31, 2022 2:52 PM
To: [email protected]
Subject: Re: Making Encoded Bits Human Readable

On Jan 31, 2022, at 12:31:15, Dave Clark wrote:
>
>        I have two pairs of encoded bits in the high order of a binary
> byte.  These two pairs (values of 0 to 3, each) actually represent the
> numbers 1 to 4 in each case.  Now, I know that I could do this the hard
> (long?) way by bit-testing these and come up with the human-readable zoned
> equivalents.  In fact, I've already done that.
>
I'm thinking:
    Isolate a bit-pair with shift-and-mask
    then AHI C'1'

--
gil

Reply via email to