|
|
| Author |
Message |
delly999
New User
Joined: 12 Jan 2007 Posts: 9 Location: Ontario, Canada
|
|
|
|
Hi All,
Are there array maximums in assembler?
I know in PL/I the max for arrays are 32767. Is this the same for assembler, or is there some other number?
Thanks in advance |
|
| Back to top |
|
 |
References
|
Posted: Mon Jun 23, 2008 8:47 pm Post subject: Re: Array maximum in Assembler |
 |
|
|
 |
enrico-sorichetti
Global Moderator
Joined: 14 Mar 2007 Posts: 2562 Location: italy
|
|
|
|
there is no concept of array in assembler
all You have is...
a storage area ( static or getmained )
an algorithm to address a byte inside this storage area- more or less optimized
so I would say that the maximum size is that of the largest getmain |
|
| Back to top |
|
 |
delly999
New User
Joined: 12 Jan 2007 Posts: 9 Location: Ontario, Canada
|
|
|
|
Cool.
Thanks |
|
| Back to top |
|
 |
saravananj
New User
Joined: 23 Nov 2007 Posts: 16 Location: Chennai
|
|
|
|
| delly999 wrote: |
I know in PL/I the max for arrays are 32767. Is this the same for assembler, or is there some other number?
Thanks in advance |
I personally have seen arrays with more than 32767. Infact we have a program in our system that supports 95000 array elements. How do u say max for array is 32767 in PL/1 |
|
| Back to top |
|
 |
|
|