add missing test cases for recent qasm iigs fixes.

This commit is contained in:
Kelvin Sherlock 2020-10-12 18:07:54 -04:00
parent bdbf62fe36
commit 7b8a81d605
3 changed files with 63 additions and 0 deletions

39
testdata/3006-pea.S vendored Normal file
View File

@ -0,0 +1,39 @@
* verify pea doesn't have address mode errors with quoted strings
pea ','
pea ';'
pea ' '
pea '['
pea ']'
pea '('
pea ')'
pea #','
pea #';'
pea #' '
pea #'['
pea #']'
pea #'('
pea #')'
pea ","
pea ";"
pea " "
pea "["
pea "]"
pea "("
pea ")"
pea #","
pea #";"
pea #" "
pea #"["
pea #"]"
pea #"("
pea #")"
pea '"'
pea "'"
pea #'"'
pea #"'"

10
testdata/3007-data-star.S vendored Normal file
View File

@ -0,0 +1,10 @@
* merlin (Apple II) updates the value of the * pc after each operand
* of a data statement.
adr *,*
adrl *,*
da *,*
db *,*
ddb *,*
dfb *,*
dw *,*

14
testdata/3008-macro-strings.S vendored Normal file
View File

@ -0,0 +1,14 @@
*
* verify macro operand parsing handles quoted strings.
*
xx mac
asc ]1
eom
xx '"hello"'
xx "'hello'"
xx 'hello'
xx "hello"
xx 'abc',00
xx ff