Merge pull request #54 from ksherlock/new-test-cases

add missing test cases for recent qasm iigs fixes.
This commit is contained in:
Lane Roathe 2020-10-13 13:38:35 -07:00 committed by GitHub
commit c9d2c39b5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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