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