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

14 lines
279 B
Plaintext
Raw Normal View History

2019-10-22 15:56:19 +00:00
// should fail analysis with a RangeExceededError
// because the index is detected to fall outside the
// allowable range of the table it is indexing.
2018-03-06 10:32:52 +00:00
byte table[8] message : "WHAT?"
define main routine
2018-03-06 10:32:52 +00:00
inputs message
outputs x, a, z, n
{
ld x, 9
ld a, message + x
}