Statics

A rewritten test that static variables are file-local.

Test setup:

  • RAM[0]=256 in the script.
  • Tester is responsible for starting Sys.init

Files:

Read the book if you are unfamiliar with handling code given in multiple files.

Results:

  • Stack, starting at RAM[256] should contain: 111, 222, 23, 15, 6, 8.
  • SP=262
Last modified February 20, 2025: Reorganize Ch 08 web, more tests cases. (e34f122)