Or NILH Rx,X'00ff'
Or NILF, Rx,X'00ffffff'

For production code, I'm restricted to the opcode set required by the oldest supported release of z/OS, and [LL|I|O|N|X]I[H|L][H|L] instructions pass. NILF does not, but it isn't needed in this particular case.

sas

On 8/5/2014 9:43, John Gilmore wrote:
Much sooner than I had expected, Steve Hobson and I have in fact found
something to agree about.

Hexadecimal representations can sometimes be more perspicuous than
decimal ones, and vice versa.  Thus

|          N   Rx,X'00FFFFFF'

is certainly more perspicuous than

|          N  Rx,F'16777215'

albeit marginally so for the experienced.

In other cases it is not  obvious to me that the choice matters much:

|&whatever seta  BYTE(x'40')

and

|&whatever seta  BYTE(+64)

seem to me to be interchangeable.  An assembly-language programmer for
whom 4 x 16 = 64 is not immediate should find other work.

John Gilmore, Ashland, MA 01721 - USA
.

Reply via email to