Re: MI400 Digest, Vol 8, Issue 5

Bruce Wilson <[email protected]> Sun, 7 Mar 2010 00:11:22 -0800 (PST)
Newsgroups gmane.comp.lang.as400.mi
Message-ID <[email protected]>
retired ::  you ask a question (and if i look) [developed a MI xlator OPM] which could reconstruct the subject program from the code  .. though i dont trace what IBM has done in recent releases i do have some understanding ... will review your e-mail
OPM is well known  .. perhaps not documented 

--- On Sat, 3/6/10, mi400-request-Zwy7GipZuJhWk0Htik3J/[email protected] <mi400-request-Zwy7GipZuJhWk0Htik3J/[email protected]> wrote:
> From: mi400-request-Zwy7GipZuJhWk0Htik3J/[email protected] <mi400-request-Zwy7GipZuJhWk0Htik3J/[email protected]>
> Subject: MI400 Digest, Vol 8, Issue 5
> To: mi400-Zwy7GipZuJhWk0Htik3J/[email protected]
> Date: Saturday, March 6, 2010, 10:00 AM
> Send MI400 mailing list submissions
> to
>     mi400-Zwy7GipZuJhWk0Htik3J/[email protected]
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>     http://lists.midrange.com/mailman/listinfo/mi400
> or, via email, send a message with subject or body 'help'
> to
>     mi400-request-Zwy7GipZuJhWk0Htik3J/[email protected]
> 
> You can reach the person managing the list at
>     mi400-owner-Zwy7GipZuJhWk0Htik3J/[email protected]
> 
> When replying, please edit your Subject line so it is more
> specific
> than "Re: Contents of MI400 digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: QPROCT and QPRODT (Richard
> Thomas)
> 
> 
> ----------------------------------------------------------------------
> 
> message: 1
> date: Fri, 5 Mar 2010 19:10:35 -0000
> from: "Richard Thomas" <richard_matthew_thomas-/[email protected]>
> subject: Re: [MI400] QPROCT and QPRODT
> 
> Gene,
> 
> I can't thank you enough for your help. I'll let you know
> how I get along.
> 
> Best wishes,
> 
> Richard
> 
> -----Original Message-----
> From: mi400-bounces-Zwy7GipZuJhWk0Htik3J/[email protected]
> [mailto:mi400-bounces-Zwy7GipZuJhWk0Htik3J/[email protected]]
> On
> Behalf Of Gene_Gaunt-GDFlLPZ4eRKEK/[email protected]
> Sent: 05 March 2010 14:30
> To: MI Programming on the AS400 / iSeries
> Subject: Re: [MI400] QPROCT and QPRODT
> 
> > I'm in the process of writing a routine to parse the
> > instruction stream component of an OPM program and
> > return the IRP. I'm hoping to use the information
> > within QPROCT and QPRODT to help my routine
> anticipate
> > the number of operands, operand types etc. for a
> given
> > op code. I've been able to determine the easy parts
> > (e.g. op code, op name, number of parameters) from a
> > part of the QPROCT space, but am at a loss as to what
> > an op code's associated entry in the QPRODT index is
> > telling me.
> >
> > Can anyone throw some light on any of the information
> > contained in these two objects?
> >
> > Many thanks.
> 
> 
> Here is how to read those QPRODT index entries into your MI
> disassembler
> project.  Break each 94-byte index entry into two
> 2-byte chunks and fifteen
> 6-byte chunks, and PRINT them in this order:
> 
> 00  01
> 02  03
> 04  05  06  07  08  09
> 0A  0B  0C  0D  0E  0F
> 10  11  12  13  14  15
> 16  17  18  19  1A  1B
> 1C  1D  1E  1F  20  21
> 22  23  24  25  26  27
> 28  29  2A  2B  2C  2D
> 2E  2F  30  31  32  33
> 34  35  36  37  38  39
> 3A  3B  3C  3D  3E  3F
> 40  41  42  43  44  45
> 46  47  48  49  4A  4B
> 4C  4D  4E  4F  50  51
> 52  53  54  55  56  57
> 58  59  5A  5B  5C  5D
> 
> Study the PRINT-OUT this way, you'll have an Aha! moment
> and will see the
> choice pool of operand types and lengths.
> 
> _______________________________________________
> This is the MI Programming on the AS400 / iSeries (MI400)
> mailing list
> To post a message email: MI400-Zwy7GipZuJhWk0Htik3J/[email protected]
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/mi400
> or email: MI400-request-Zwy7GipZuJhWk0Htik3J/[email protected]
> Before posting, please take a moment to review the
> archives
> at http://archive.midrange.com/mi400.
> 
> 
> 
> 
> 
> ------------------------------
> 
> _______________________________________________
> This is the MI Programming on the AS400 / iSeries (MI400)
> digest list
> To post a message email: MI400-Zwy7GipZuJhWk0Htik3J/[email protected]
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/mi400
> or email: MI400-request-Zwy7GipZuJhWk0Htik3J/[email protected]
> Before posting, please take a moment to review the
> archives
> at http://archive.midrange.com/mi400.
> 
> 
> 
> End of MI400 Digest, Vol 8, Issue 5
> ***********************************
> 
_______________________________________________
This is the MI Programming on the AS400 / iSeries (MI400) mailing list
To post a message email: MI400-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/mi400
or email: MI400-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/mi400.