|
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 theanticipate
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
the number of operands, operand types etc. for agiven
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 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.