diff --git a/testdata/3006-pea.S b/testdata/3006-pea.S new file mode 100644 index 0000000..14bc02e --- /dev/null +++ b/testdata/3006-pea.S @@ -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 #"'" diff --git a/testdata/3007-data-star.S b/testdata/3007-data-star.S new file mode 100644 index 0000000..0d6a175 --- /dev/null +++ b/testdata/3007-data-star.S @@ -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 *,* diff --git a/testdata/3008-macro-strings.S b/testdata/3008-macro-strings.S new file mode 100644 index 0000000..6bd9863 --- /dev/null +++ b/testdata/3008-macro-strings.S @@ -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