× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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@xxxxxxxxxxxx <mi400-request@xxxxxxxxxxxx> wrote:
From: mi400-request@xxxxxxxxxxxx <mi400-request@xxxxxxxxxxxx>
Subject: MI400 Digest, Vol 8, Issue 5
To: mi400@xxxxxxxxxxxx
Date: Saturday, March 6, 2010, 10:00 AM
Send MI400 mailing list submissions
to
    mi400@xxxxxxxxxxxx

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@xxxxxxxxxxxx

You can reach the person managing the list at
    mi400-owner@xxxxxxxxxxxx

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@xxxxxxxxxxx>
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@xxxxxxxxxxxx
[mailto:mi400-bounces@xxxxxxxxxxxx]
On
Behalf Of Gene_Gaunt@xxxxxxxxxxxxxxx
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@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/mi400
or email: MI400-request@xxxxxxxxxxxx
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@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/mi400
or email: MI400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the
archives
at http://archive.midrange.com/mi400.



End of MI400 Digest, Vol 8, Issue 5
***********************************


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.