summaryrefslogtreecommitdiff
path: root/test.bash
diff options
context:
space:
mode:
authorOxore <oxore@protonmail.com>2023-05-09 00:02:19 +0300
committerOxore <oxore@protonmail.com>2023-05-09 00:02:19 +0300
commitb43a6b815d27e5fd846b50634af7b4a99b57c9ac (patch)
treebff1da6bc0169bcc4cd03d97858cdd687f8e169a /test.bash
parent944d1d40ae18d4cc4ad78102676d866ca76c66cc (diff)
Impl EOR
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 62d6391..863e3c0 100644
--- a/test.bash
+++ b/test.bash
@@ -93,6 +93,15 @@ run_test_iterative() {
done
}
+# 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"
+run_test_simple "eorl Dn, (xxx).L" "\xb5\xb9\xff\xff\x00\x00"
+
# bxxx cmp
#
run_test_simple "cmpb Dn, Dn" "\xb4\x01"