For LOC vs LOCR, at least those are two different machine formats. I can
understand the mask being placed differently in different machine formats.
In some cases I noticed that newer instructions (e.g., the "on condition"
additions from the Load/store-on-condition facility 1/2 that use machine
I do have the same curiosity- (I did notice the mask jumping from left
to right nibble even within one family, see LOC vs LOCR) .
Dan Greiner's answer was: no specific reason.
--
Martin
Pi_cap_CPU - all you ever need around MWLC/SCRT/CMT in z/VSE
more at http://www.picapcpu.de
Peter,
I'm too young to know how this has come into existence.
I do know how I explain this to students, though.
1) the machine instructions were architected for machine use
2) the assembler instructions are devised for programmer use
For the first two operands I apply these rules-of-thumb:
a)
Nifty, I doubt I'd ever dream that up.
thanks for the fun moment.
And - if used in real code - does deserve some additional comments...
Abe Kornelis
==
John Ehrman schreef op 26-3-2015 om 23:07:
Steve Smith asked for the answer to my quiz question of March 23:
While we're having fun:
I compiled it, and i can only share Sams comment:
I hope i never see code like this. ;-)
--
Martin
Pi_cap_CPU - all you ever need around MWLC/SCRT/CMT in z/VSE
more at http://www.picapcpu.de