6.8 Stack limitations

Certain processors have limitations on the size of the parameters and local variables in routines. This is shown in table (6.6).


Table 6.6: Maximum limits for processors




Processor Parameters Local variables



Intel 80x86 (all) 64K No limit
Motorola 68020 (default) 32K No limit
Motorola 68000 32K 32K




Furthermore, the m68k compiler, in 68000 mode, limits the size of data elements to 32K (arrays, records, objects, etc.). This restriction does not exist in 68020 mode.