View previous topic :: View next topic
|
Author |
Message |
delly999
New User
Joined: 12 Jan 2007 Posts: 13 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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 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: 13 Location: Ontario, Canada
|
|
|
|
Cool.
Thanks |
|
Back to top |
|
|
saravananj
New User
Joined: 23 Nov 2007 Posts: 17 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 |
|
|
|