diff --git a/etc/asma-test.sh b/etc/asma-test.sh index e6487db..48aae5c 100755 --- a/etc/asma-test.sh +++ b/etc/asma-test.sh @@ -67,6 +67,10 @@ expect_failure 'Address not in zero page: .hello' <<'EOD' |1000 @hello .hello EOD +expect_failure 'Address not in zero page: -hello' <<'EOD' +|1000 @hello + -hello +EOD expect_failure 'Address outside range: ,hello' <<'EOD' |1000 @hello |2000 ,hello @@ -93,6 +97,15 @@ EOD expect_failure 'Label not found: ;blah' <<'EOD' |1000 ;blah EOD +expect_failure 'Label not found: :blah' <<'EOD' +|1000 :blah +EOD +expect_failure 'Label not found: =blah' <<'EOD' +|1000 =blah +EOD +expect_failure 'Label not found: -blah' <<'EOD' +|1000 -blah +EOD expect_failure 'Label not found: ,blah' <<'EOD' |1000 ,blah EOD