Gil, that is clever as all get out.  Thanks for the idea, though I don't have 
any immediate use for it myself.  That's one to file in the ASM tools bag,

Peter

-----Original Message-----
From: IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU> On Behalf 
Of Paul Gilmartin
Sent: Monday, January 31, 2022 2:52 PM
To: ASSEMBLER-LIST@LISTSERV.UGA.EDU
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'

--

This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.

Reply via email to