-
Notifications
You must be signed in to change notification settings - Fork 2
Assertion Tester
Chysn edited this page Jan 30, 2022
·
5 revisions
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.
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.