1
0
mirror of https://github.com/catseye/SixtyPical.git synced 2024-11-25 23:49:17 +00:00
SixtyPical/eg/rudiments/errorful/range.60p
2019-10-22 16:56:19 +01:00

14 lines
279 B
Plaintext

// should fail analysis with a RangeExceededError
// because the index is detected to fall outside the
// allowable range of the table it is indexing.
byte table[8] message : "WHAT?"
define main routine
inputs message
outputs x, a, z, n
{
ld x, 9
ld a, message + x
}