summaryrefslogtreecommitdiff
path: root/test.bash
diff options
context:
space:
mode:
authorOxore <oxore@protonmail.com>2023-05-09 00:09:20 +0300
committerOxore <oxore@protonmail.com>2023-05-09 00:09:20 +0300
commit2f2c8dbc006ec03e9887ab7a91f7cf97bb6ce53d (patch)
tree11b32e6b75b9f162afa158b5edf6e9db82cbc242 /test.bash
parentb43a6b815d27e5fd846b50634af7b4a99b57c9ac (diff)
Impl CMPM
Diffstat (limited to 'test.bash')
-rw-r--r--test.bash7
1 files changed, 6 insertions, 1 deletions
diff --git a/test.bash b/test.bash
index 863e3c0..7de13cf 100644
--- a/test.bash
+++ b/test.bash
@@ -93,10 +93,15 @@ run_test_iterative() {
done
}
+# bxxx cmpm
+#
+run_test_simple "cmpmb (An)+, (An)+" "\xb1\x08"
+run_test_simple "cmpmw (An)+, (An)+" "\xb1\x48"
+run_test_simple "cmpml (An)+, (An)+" "\xb1\x88"
+
# bxxx eor
#
run_test_simple "eorb Dn, Dn" "\xb5\x01"
-run_test_expect_short "eorb Dn, An" "\xb5\x09"
run_test_simple "eorb Dn, (An)" "\xb5\x11"
run_test_simple "eorb Dn, (An)+" "\xb5\x19"
run_test_simple "eorw Dn, -(An)" "\xb5\x61"