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