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
Olaf Seibert
c80c87b2d4
Test another weird delimiter: .ASCIZ &&
2018-11-10 17:12:21 +01:00
Olaf Seibert
2920e9f2f9
Test a few error message with .IIF.
2018-11-10 17:12:21 +01:00
Olaf Seibert
2dbf80388e
Add tests for (N)'DF foo!bar' and (N)'DF foo&bar'.
2018-11-10 17:12:21 +01:00
Olaf Seibert
a42b49f73b
Bug: '.iif conf, label: foo' didn't work.
2018-11-10 17:12:21 +01:00
Olaf Seibert
877400f236
Fix error message for .odd with argument.
2017-12-18 14:50:17 +01:00
Olaf Seibert
d98c1e54d0
Initial Travis CI config.
...
Try to get Travis' gmake to run ./make-git-info in before compiling macro11.c.
In RunTests, reflect differences in exit status, for automated testing.
2017-12-18 14:30:30 +01:00
Olaf Seibert
ea5ef8587f
Add .ENABL LCM. Its default setting was incorrect.
2017-05-06 17:53:15 +02:00
Olaf Seibert
f3af0d060f
Adjust tests: .ENABL LC can now be removed.
...
This changes all the 2.11 listings.
2017-05-06 17:15:20 +02:00
Olaf Seibert
6be865911c
Each pass starts implicitly with .ENABL LC.
2017-05-06 17:11:56 +02:00
Olaf Seibert
203a812664
Add 2.11BSD's m11 sources as regression tests.
2017-05-06 15:49:18 +02:00
Olaf Seibert
f5e1227317
Add some tests for .if etc. Fix a sign bit.
2017-05-04 23:00:43 +02:00
Olaf Seibert
4916b699fa
Add ^pl and ^ph expressions from 2.11BSD's m11.
...
I hope I understood what this is doing!
2017-04-28 23:02:06 +02:00
Olaf Seibert
d61cad6bb4
Add some tests for .BLKB .BLKW .ODD .EVEN
...
.BLKB and .BLKW should have an argument, but if missing it is 1.
.ODD and .EVEN are not allowed to have an argument.
2017-04-27 21:56:02 +02:00
Olaf Seibert
eb60cfe315
Very simple .LIST and .NLIST implementation.
...
Thanks to Don North. Also added a simple test.
Fixes #3 .
2017-04-23 18:25:17 +02:00
Olaf Seibert
c771c875cb
Fix a use-after-free. Found by Don North.
...
Also adjust test case to include this code.
Fixes #2 .
2017-04-23 18:24:38 +02:00
Olaf Seibert
b8a955792c
Fix operand check for XOR which is shared with JSR.
...
Fixes issue #1 .
2016-07-11 22:10:15 +02:00
Olaf Seibert
d76e294b06
Add some tests for operators and their (lack of) precedence.
2015-11-09 21:24:10 +01:00
Olaf Seibert
82f68e0d60
Implement .RAD50 <CHR> syntax, and tests.
2015-11-09 21:17:57 +01:00
Olaf Seibert
e148471a19
Extension .ascii ^/.../ conflicts with .ascii ^...^
...
so I removed it.
2015-11-09 21:11:41 +01:00
Olaf Seibert
09717c3a5a
Add comparison files for tests.
2015-11-08 17:41:46 +01:00
Olaf Seibert
137a9db671
More tests. Refine string delimiter test for .ASCII a bit.
...
Make the delimiters for .INCLUDE and .LIBRARY accept the same
delimiters (= is not disallowed, it just makes the line look like
an assignment).
2015-06-04 12:11:14 +02:00
Olaf Seibert
c423ee346a
Handle invalid expressions in .WORD directives with a message.
...
This is most relevant in implied .WORD directives which are caused by an
attempt to call a macro (which happens to be undefined) with arguments
that don't parse as valid expressions.
2015-06-01 23:30:16 +02:00
Olaf Seibert
ff5179743c
Add addressing mode check for JSR, and a test.
2015-06-01 00:28:49 +02:00
Olaf Seibert
a24e3ba3ea
Fix check for JMP Rn (which is illegal).
2015-05-31 23:34:05 +02:00
Olaf Seibert
bc450511d8
Add some tests for things I have fixed while the last weeks.
2015-05-27 21:54:00 +02:00
Toby Thain
e0dcdd467d
Add test for crash bug on undef macro.
2015-02-03 19:38:34 -05:00