Re: QPROCT and QPRODT

"James H. H. Lampert" <jamesl-6/ELSmrcqeUu8xhjR5IN5AC/[email protected]> Fri, 30 Apr 2010 11:17:20 -0700
Newsgroups gmane.comp.lang.as400.mi
Message-ID <[email protected]>
Richard Thomas wrote:

> My question is: Given that QPRCRTPG is responsible for converting "the
> symbolic representation of a machine interface (MI) program into an OPM
> program object." - (i.e. from the IRP) - then surely its IRP syntax-checker
> should flag /MXD as an invalid indicator/branch form for the ADDN op-code? 

But "MXD" is the same as "POS" and "HI."

They're just synonyms for the same configuration of the condition flags, 
provided purely for the sake of source code readability: surely you'd 
have trouble, without profuse comments, understanding that a ZC 
condition meant "greater than" on a comparison, "positive" on a numeric 
operation, and "mixed" on a TSTBUM. The synonyms allow us to use result 
mnemonics that match what we're conceptually testing for, rather than 
just matching the actual flags.

--
JHHL
_______________________________________________
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.