open-simh.simtools/tests/test-rept.mac
Olaf Seibert 2349d80ec8 Fix .REPT 0 to not repeat the code block at all.
Also, now list the calculated repeat count for reference.
This occurred a few times in the regression tests to fix the expected
outcome.
2020-03-06 21:58:53 +01:00

23 lines
467 B
Plaintext

.REPT 0
THIS IS A BIG BLOCK OF COMMENTS
WE DON'T EXPECT THAT IT WILL EVER BE ASSEMBLED
MORE STUFF TO SAY HERE
.ENDR
clr r1
.rept 1
inc r1
.endr
clr r2
.rept 2
inc r2
.endr
clr r0
.rept undefd
inc r0
.endr