Sign in Join
FPDoc Onlineexperiment

Stack limitations

Certain processors have limitations on the size of the parameters and local variables in routines. This is shown in table Code issues.

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.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.