summaryrefslogtreecommitdiff
path: root/test.bash
diff options
context:
space:
mode:
Diffstat (limited to 'test.bash')
-rw-r--r--test.bash12
1 files changed, 12 insertions, 0 deletions
diff --git a/test.bash b/test.bash
index f503abe..371f535 100644
--- a/test.bash
+++ b/test.bash
@@ -93,6 +93,18 @@ run_test_iterative() {
done
}
+# 4e5x
+#
+run_test_simple "linkw positive" "\x4e\x52\x01\x00"
+run_test_simple "linkw negative" "\x4e\x52\xff\xff"
+run_test_simple "linkw negative" "\x4e\x52\x80\x00"
+run_test_simple "unlk" "\x4e\x5a"
+
+# 4e6x
+#
+run_test_simple "move to USP" "\x4e\x62"
+run_test_simple "move from USP" "\x4e\x6f"
+
# 40c0..40ff
#
run_test_simple "move from SR" "\x40\xc1"