open-simh.simtools/tests/test-impword.mac
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

13 lines
310 B
Plaintext

;;;;;
;
; Test the implied .word construction
;
start: 3
start
; The following could be a macro which by accident is not defined
; which takes arguments that don't parse as expressions.
macro 8-BIT,1,2,3
; The following can by accident be parsed as an expression.
macro 7-BIT,1,2,3