I should have clarified that it's a mix of z15 and z16; nothing older. But both 
the code and the training are older.

Of course, even with modernized training they're not going to cover everything 
in a 2K+ page PoOps and a 500+ HLASM reference manual.

-- 
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3
עַם יִשְׂרָאֵל חַי
נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר



________________________________________
From: IBM Mainframe Assembler List <[email protected]> on behalf 
of Ngan, Robert (DXC Luxoft) <[email protected]>
Sent: Thursday, July 11, 2024 4:13 PM
To: [email protected]
Subject: Re: Moving beyond S/370

CLIJx
I coded a macro that emulated this with CHI/Jx, back in the days where 
customers may have had machines that didn't support these instructions. Failed 
assembly on a real CLIJx if immediate was not in 0:255 range, or -128:127 for 
CIJx, That horrendous CHI instruction I posted previously does assembly time 
bounds checking that I had to add to fix this.

EXRL
Before the existence of TRAP type instructions, we used EX n,* to generate S0C3 
abends with n in the 0:15 range to distinguish the various S0C3 generated 
within a specific module.
EXRL n,* where n is non-zero may alter the EXRL instruction to something other 
than EXRL, which may not abend and then fall thru to the next instruction.

LARL
Same deal with CLIJx, coded a macro to generate BASR reg,0 followed by AHI (or 
2 AHI's) to emulate LARL for up to 32K (or 64K with 2 AHI's). Real LARL failed 
assembly if offset was not even, but emulated version happily generated odd 
offsets. Had to add code to make BASR second operand the expression 0-(offset 
// 2)**2 which resolves to zero if offset is even (good), and -1 if it is odd 
(bad, fails assembly).

TMLL
There is a subtle difference between the condition codes set by TMxx vs. TM, I 
always need to check the POPS whenever I  use TMxx for testing conditions other 
than Z or O.

Robert Ngan
DXC Luxoft

-----Original Message-----
From: IBM Mainframe Assembler List <[email protected]> On Behalf 
Of Seymour J Metz
Sent: Thursday, July 11, 2024 13:59
To: [email protected]
Subject: Moving beyond S/370

I'm dealingusing these won't creat a maintena with some code that currently 
uses nothing newer than BAS/BASR. I've made some changes using a few newer 
instructions, plus the SP macros from the toolkit. Any advice on convincing 
reviewers that there's nothing exotic in these:

    CLIJx
    ELSE
    ENDIF
    EXRL
    IF
    J
    JAS
    LARL
    LAY
    NILL
    TMLL


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3
עַם יִשְׂרָאֵל חַי
נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר



Reply via email to