Mirror of CollapseOS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
367B

  1. STACK OVERFLOW PROTECTION: To avoid having to check for stack
  2. underflow after each pop operation (which can end up being
  3. prohibitive in terms of costs), PS_ADDR should be set to
  4. at least 6 bytes before its actual limit. 6 bytes because we
  5. seldom have words requiring more than 3 items from the stack.
  6. Then, at each "exit" call we check for stack underflow.