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