× 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.


  • Subject: Re: MI maximum
  • From: "Leif Svalgaard" <leif@xxxxxxxx>
  • Date: Fri, 11 May 2001 14:31:03 -0500

Gene,

I found out that the limit currently is 32k for ODT and 64k for instructions
simply by writing 4 programs with 32k+-1 and 64K+-1 data and code
and see what the compiler told me.

----- Original Message -----
From: <Gene_Gaunt@ReviewWorks.com>
To: <MI400@midrange.com>
Sent: Friday, May 11, 2001 9:13 AM
Subject: RE: MI maximum


>
> Well I dug out microfiche (don't ask).  Version 0 program template has
> maximum 8191 dictionary entries, instruction operands are two bytes.
> Operand bits 3-15 hold a dictionary number 1-8191.  Operand bits 0-2 denote
> the operand type:
>
> 000:  simple dictionary reference or null operand
> 001:  unsigned immediate value
> 010:  subscript, e.g.  ARRAY(INDEX)
> 011:  substring, e.g. STRING(INDEX:LENGTH)
> 100:  explicit base, e.g. BASEPTR -> DICTNO
> 101:  signed immediate value
> 110:  explicit based subscript, e.g. BASEPTR -> ARRAY(INDEX)
> 111:  explicit based substring, e.g. BASEPTR -> STRING(INDEX:LENGTH)
>
> Version 1 program template has maximum 65535 dictionary entries,
> instruction operands are three bytes.  Operand bits 8-23 hold a dictionary
> number 1-65535.  Operand bits 5-7 denote the operand type.
>
> By the way the template allows some interesting things that the QPR*
> programs don't.  For example four forms of branch extenders can appear in
> the template:
>
> CMPNV(B) A,B / EQ(SKIP);   /* branch point form */
> CMPNV(B) A,B / EQ(IPTR);   /* instruction pointer form */
> CMPNV(B) A,B / EQ( =+2);   /* relative instruction number form */
> CMPNV(B) A,B / EQ(123);   /* absolute instruction number form */
>
> However the QPR* programs don't allow the 'absolute instruction number
> form'.  Some OS/400 programs and development tools (SEU,PDM,SDA) used to
> come with program creation templates.  When I ran them through my template
> disassembler, I observed they used 'absolute instruction number forms'.  So
> perhaps they weren't born through the QPR* process?
>
> +---
> | This is the MI Programmers Mailing List!
> | To submit a new message, send your mail to MI400@midrange.com.
> | To subscribe to this list send email to MI400-SUB@midrange.com.
> | To unsubscribe from this list send email to MI400-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator: dr2@cssas400.com
> +---

+---
| This is the MI Programmers Mailing List!
| To submit a new message, send your mail to MI400@midrange.com.
| To subscribe to this list send email to MI400-SUB@midrange.com.
| To unsubscribe from this list send email to MI400-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: dr2@cssas400.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.