mirror of
https://github.com/marketideas/qasm.git
synced 2024-06-11 06:29:29 +00:00
add missing test cases for recent qasm iigs fixes.
This commit is contained in:
parent
bdbf62fe36
commit
7b8a81d605
39
testdata/3006-pea.S
vendored
Normal file
39
testdata/3006-pea.S
vendored
Normal 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
10
testdata/3007-data-star.S
vendored
Normal 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
14
testdata/3008-macro-strings.S
vendored
Normal 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
|
Loading…
Reference in New Issue
Block a user