2020-04-22 21:19:12 -04:00
|
|
|
STACK OVERFLOW PROTECTION: To avoid having to check for stack
|
|
|
|
underflow after each pop operation (which can end up being
|
2020-05-11 21:08:24 -04:00
|
|
|
prohibitive in terms of costs), PS_ADDR should be set to
|
|
|
|
at least 6 bytes before its actual limit. 6 bytes because we
|
|
|
|
seldom have words requiring more than 3 items from the stack.
|
|
|
|
Then, at each "exit" call we check for stack underflow.
|