@ Print output line for this memory location
NSTTTTSTTN | JSR > 111011 (debug:printmagnitude)
-SSSTTTSTSN | PUSH ASCII ':'
SSSTSSTN | PUSH ASCII '\t'
+SSSTTTSTSN | PUSH ASCII ':'
TNSS | PUTC
TNSS | PUTC
SNS | DUP
NSSVSSTTTSSTSSSSSSSTN | Mark: 00111001 00000001
SNS | DUP
NSTTTTSTTN | JSR > 111011 (debug:printmagnitude)
-SSSTTTSTSN | PUSH ASCII ':'
SSSTSSTN | PUSH ASCII '\t'
+SSSTTTSTSN | PUSH ASCII ':'
TNSS | PUTC
TNSS | PUTC
SNT | SWAP
tests = [
# Format: ['filename_without_extension', 'string for stdin', 'string for expected stdout']
- ['0001_dumpstack', '', 'TOS:\n1\t:+42\n0\t:+255\n'],
- ['0002_dumpheap', '', '32\t:+255\n33\t:+42\n'],
+ ['0001_dumpstack', '', 'TOS:\n1:\t+42\n0:\t+255\n'],
+ ['0002_dumpheap', '', '32:\t+255\n33:\t+42\n'],
]
for test in tests: