What I do is use the O' attribute to test whether a particular
instruction is a machine instruction or not.  That's usually what you
really want to know, but you could find a representative instruction
for any level anyway.  E.G.:

.unlock  aif   (O'LAN eq 'O').dolan1
         L     R0,CVPL_TABLE_CONTROL   Get flags and count
         LR    R1,R0                   Copy
         NILH  R1,CVPL_TABLE_UNLK_&task
         ST    R1,CVPL_TABLE_CONTROL   Reset lock word
         ago   .nolan1
.dolan1  anop
         LLILF R1,X'&CVPL_UNLOCK.FFFF'
         LAN   R0,R1,CVPL_TABLE_CONTROL Reset lock word
.nolan1  anop


On Fri, Sep 29, 2017 at 8:08 AM, Charles Mills <[email protected]> wrote:
> I am writing a macro that I want to be parametrized by the MACHINE level:
> generate one thing if MACHINE greater than or equal to ZS-6 and another
> thing if less.
>

-- 
sas

Reply via email to