summaryrefslogtreecommitdiff
path: root/test.bash
diff options
context:
space:
mode:
authorOxore <oxore@protonmail.com>2023-05-01 14:45:22 +0300
committerOxore <oxore@protonmail.com>2023-05-01 14:51:49 +0300
commit00038b83f7bfc0523ef06139498eadea67b16e22 (patch)
tree05ef9beb2c457b18be415f4eada3972a2394018f /test.bash
parent9f5afd04e4542fd385dbef235018b771b8f82952 (diff)
Impl TAS and TST
Diffstat (limited to 'test.bash')
-rw-r--r--test.bash9
1 files changed, 9 insertions, 0 deletions
diff --git a/test.bash b/test.bash
index fe3800d..57681e9 100644
--- a/test.bash
+++ b/test.bash
@@ -93,6 +93,15 @@ run_test_iterative() {
done
}
+# 4axx
+#
+run_test_simple "tas Dn" "\x4a\xc2"
+run_test_simple "tstb Dn" "\x4a\x02"
+run_test_simple "tstw Dn" "\x4a\x42"
+run_test_simple "tstl Dn" "\x4a\x82"
+run_test_expect_short "tas (d16,PC)" "\x4a\xfa\xff\xff"
+run_test_expect_short "tas (d8,PC,Xi)" "\x4a\xfb\x00\x00"
+
# 4xxx
#
run_test_simple "negxb Dn" "\x40\x04"