Assertion Tester - Chysn/VIC20-wAx2 GitHub Wiki

To test memory-based assertions, use the Assertion Tester Tool:

.= addr nn [nn] [nn] [nn] [nn] [nn] [nn] [nn]

where addr is a valid 16-bit address, followed by between 1 and 8 test bytes.

If any of the bytes does not match the byte at the corresponding address, the = command will return a ?MISMATCH ERROR.

The Assertion Tester can be used to generate unit tests in BASIC programs.

Quick Peek

To show two values at an address, use the Assertion Tester Tool with only an address:

.= addr

This will show the value at the address and the following address, in a Memory Editor format.