Re: macros to implement opcodes

2013-12-20 Thread Tony Harminc
On 20 December 2013 18:14, Ed Jaffe  wrote:
> 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
>  DCX'83'
>  ORG   *+3
>  MEXIT ,
>  MEND  ,

Of course there's nothing in the Principles of Operation to suggest
that Diagnose is an RX type instruction, and some well known earlier
machines such as the 370/168 and 3033 had very different formats.
Indeed the POO explicitly says Diagnose may be of any format at all;
all you can rely on is the length.

Practically speaking, all machines have used the VM-like format for
many generations, but to be general about Diagnose is impossible.

But this isn't a problem for ordinary instructions, i.e. I know of no
other instructions defined in the POO that have a unique format. In
the event that you find nothing to clone from your existing
instruction set, you will probably have to rely on S-type adcons and
perhaps fancier ORGs.

Tony H.


Automatic reply: ASSEMBLER-LIST Digest - 12 Dec 2013 to 20 Dec 2013 (#2013-179)

2013-12-20 Thread Bielskie Jr., Stephen
I am currently out of the office, returning Monday December 23. Emails will not 
be read. Please contact the following in my absence:

Michael Smith or Michael Reffler for system related issues
Jim Swinarski for Hardware, Capacity and Performance
Frank Cortell for management escalations.


Re: macros to implement opcodes

2013-12-20 Thread Paul Gilmartin
On 2013-12-20 17:04, Ian S. Worthington wrote:
> There's an idea...  Leverage a similar instruction to handle the machine code
> conversion hen just fix up the opcode.  Like it.
>
Does this report register references correctly?

> -- Original Message --
> Received: 06:16 PM COT, 12/20/2013
> From: Ed Jaffe 
>
>> 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
>>   DCX'83'
>>   ORG   *+3
>>   MEXIT ,
>>   MEND  ,

-- gil


Re: macros to implement opcodes

2013-12-20 Thread Ian S. Worthington
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 
To: ASSEMBLER-LIST@LISTSERV.UGA.EDU
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
>   DCX'83'
>   ORG   *+3
>   MEXIT ,
>   MEND  ,
>
> --
> Edward E Jaffe
> Phoenix Software International, Inc
> 831 Parkview Drive North
> El Segundo, CA 90245
> http://www.phoenixsoftware.com/


Re: macros to implement opcodes

2013-12-20 Thread Ed Jaffe

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
 DCX'83'
 ORG   *+3
 MEXIT ,
 MEND  ,

--
Edward E Jaffe
Phoenix Software International, Inc
831 Parkview Drive North
El Segundo, CA 90245
http://www.phoenixsoftware.com/


Automatic reply: macros to implement opcodes

2013-12-20 Thread Bowers, Greg
I am out of the office and will be returning Monday Dec 23.  If you need 
immediate assistance  please contact Robert H Lewis.  Otherwise I will reply to 
messages when I return.

Thank you,
Greg Bowers


Re: macros to implement opcodes

2013-12-20 Thread Mark Boonie
One that comes to mind is the DIAG macro in VM's DMSOM maclib.  I'm sure
z/OS has its version, too.

- mb

IBM Mainframe Assembler List  wrote on
12/20/2013 04:21:28 PM:

> From: "Ian S. Worthington" 
> To: ASSEMBLER-LIST@listserv.uga.edu,
> Date: 12/20/2013 04:26 PM
> Subject: macros to implement opcodes
> Sent by: IBM Mainframe Assembler List 
>
> I'd like to code up a handful of new opcodes for experimentation that are
> missing from my hlasm version.
>
> Are there, perchance, any samples around to get me started?
>
> i
>


Automatic reply: macros to implement opcodes

2013-12-20 Thread Ward Able, Grant
I will be out of the office, returning Monday December 30th. I will respond to 
your email ASAP once I am back.

In the meantime if you require an urgent response, please contact our Customer 
Support Centre on 212-855-1541.




_

DTCC DISCLAIMER: This email and any files transmitted with it are
confidential and intended solely for the use of the individual or
entity to whom they are addressed. If you have received this email
in error, please notify us immediately and delete the email and any
attachments from your system. The recipient should check this email
and any attachments for the presence of viruses.  The company
accepts no liability for any damage caused by any virus transmitted
by this email.


macros to implement opcodes

2013-12-20 Thread Ian S. Worthington
I'd like to code up a handful of new opcodes for experimentation that are
missing from my hlasm version.

Are there, perchance, any samples around to get me started?

i


Automatic reply: macros to implement opcodes

2013-12-20 Thread Lars Leth
Thank you for your e-mail. I´m on vacation and will be back on 2013-12-30.
Best regards,
Lars Leth


Automatic reply: macros to implement opcodes

2013-12-20 Thread Capps, Joey
I am Office Today - Dan Smith is in charge in my place.

Dan Smith
COE Owner for DataReplication |
Team Lead, Principal Subject Matter Expert |
GCS for PowerExchange and DataReplication
Email: dsm...@informatica.com
Office: +1.512.795.6988


Thanks,
Joey


Automatic reply: macros to implement opcodes

2013-12-20 Thread Bauer, Bobby (NIH/CIT) [E]
I am out of the office until Thursday 1/2/14