There's an idea...  Leverage a similar instruction to handle the machine code
conversion hen just fix up the opcode.  Like it.

i

------ Original Message ------
Received: 06:16 PM COT, 12/20/2013
From: Ed Jaffe <[email protected]>
To: [email protected]
Subject: Re: macros to implement opcodes

> On 12/20/2013 3:02 PM, Mark Boonie wrote:
> > One that comes to mind is the DIAG macro in VM's DMSOM maclib.  I'm sure
> > z/OS has its version, too.
>
> z/OS does not distribute a DIAG macro, so we wrote our own:
>
>           MACRO ,
> &LABEL   DIAG  &R1,&R2,&I1
> &LABEL   LA    &R1,&I1.(&R2.,0)    Diagnose
>           ORG   *-4
>           DC    X'83'
>           ORG   *+3
>           MEXIT ,
>           MEND  ,
>
> --
> Edward E Jaffe
> Phoenix Software International, Inc
> 831 Parkview Drive North
> El Segundo, CA 90245
> http://www.phoenixsoftware.com/

Reply via email to