1
0
mirror of https://github.com/catseye/SixtyPical.git synced 2024-06-01 12:41:30 +00:00
SixtyPical/eg/rudiments/errorful/add.60p
2019-10-22 16:56:19 +01:00

12 lines
284 B
Plaintext

// should fail analysis with an UnmeaningfulReadError
// because adding 4 to the accumulator reads the carry
// but the carry has neither been provided as input
// nor set to anything in particular by this routine.
define add_four routine
inputs a
outputs a
{
add a, 4
}