At 17:42 -0500 on 02/18/2014, Gerhard Postpischil wrote about Re: assembler:
You seem to be deliberately confounding the issue. There is no efficient way of testing the validity of a bit number using only bytes. Let me simplify this for you - when the OP has 62 stores, then the allocation obviously is for a minimum of 8 bytes, but the value for checking validity of a bit is 62, not 8, and not 8*8.
That is true. OTOH, once you validate the store number, the bit number (ie: Offset into the byte) is mod (store#,8) [IOW: The remainder of dividing the store# by 8] and the byte offset is floor(store#/8). Thus there is no way to get a bit number of 6 or 7 in byte 8 since these bits are invalid with only 62 stores.
---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
