summaryrefslogtreecommitdiff
path: root/test.bash
diff options
context:
space:
mode:
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"