summaryrefslogtreecommitdiff
path: root/test.bash
diff options
context:
space:
mode:
authorOxore <oxore@protonmail.com>2023-05-01 23:36:42 +0300
committerOxore <oxore@protonmail.com>2023-05-01 23:36:42 +0300
commitf1083d93821cf9e3d9041f451ed8e14474db02f7 (patch)
tree2816b62bc3ea0488b01968d410aea37d4aa14bab /test.bash
parent67cd57b5e5dcf4c434e368a805f566daf829853f (diff)
Impl MOVEP
Diffstat (limited to 'test.bash')
-rw-r--r--test.bash9
1 files changed, 8 insertions, 1 deletions
diff --git a/test.bash b/test.bash
index 90279ec..9bde77c 100644
--- a/test.bash
+++ b/test.bash
@@ -76,7 +76,7 @@ run_test_simple() {
cat ${file_asm}
else
echo -e "${CGREEN}OK${CRST}"
- cat ${file_asm}
+ #cat ${file_asm}
fi
}
@@ -93,6 +93,13 @@ run_test_iterative() {
done
}
+# 0xxx movep
+#
+run_test_simple "movepw Dn to (An)" "\x01\x0b\x00\xa0"
+run_test_simple "movepl Dn to (An)" "\x03\x4a\x00\xa0"
+run_test_simple "movepw (An) to Dn" "\x05\x89\x00\xa0"
+run_test_simple "movepl (An) to Dn" "\x07\xc8\x00\xa0"
+
# 0xxx bitwise ops
#
run_test_simple "btstl immediate in Dn" "\x08\x07\x00\x06"