Oh boy, another useful instruction :-) Worth avoiding the delay of storage access, yes.
I'd probably have coded a pair (SLL and SRL) to achieve that, because old habits die hard. Roops On Sun, 22 Jun 2025, 07:33 Leonard D Woren, <[email protected]> wrote: > I've been doing that B' thing for ICM/STCM for many years, for the > reason stated -- it gives an easy visual indicator of the affected > byte(s). > > OTOH, I would replace your instruction with NILH R1,X'00FF'. No > storage ref. > > /Leonard > > > Rupert Reynolds wrote on 6/19/2025 1:25 PM: > > It loads 1 byte from =x'00' into the high byte of R1, leaving the rest > > unchanged. > > > > Using a binary mask for ICM just makes things clearer. > > > > Roops > > > > On Thu, 19 Jun 2025, 20:40 Steve Beaver, < > > [email protected]> wrote: > > > >> Second - What are you doing with this instruction? > >> > >> ICM R1,B'1000',=X'00' > >> > >> It makes no sense > >> > >> Steve > >> > >> > >> > >> > >> > > ---------------------------------------------------------------------- > > For IBM-MAIN subscribe / signoff / archive access instructions, > > send email to [email protected] with the message: INFO IBM-MAIN > > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
