summaryrefslogtreecommitdiff
path: root/test_marks_referencing.bash
diff options
context:
space:
mode:
authorOxore <oxore@protonmail.com>2023-05-20 15:33:04 +0300
committerOxore <oxore@protonmail.com>2023-05-20 15:33:45 +0300
commitd9136afc4a89ad26663e18afd61683dd9dae523f (patch)
tree6e82355441312845d9b55c1a3bbc677a3a2ca208 /test_marks_referencing.bash
parentbad358209af4abcc85a23e4091564e61b99cf0e1 (diff)
Impl marks referencing for MOVEM
Diffstat (limited to 'test_marks_referencing.bash')
-rw-r--r--test_marks_referencing.bash5
1 files changed, 4 insertions, 1 deletions
diff --git a/test_marks_referencing.bash b/test_marks_referencing.bash
index 1a17882..a5aaa67 100644
--- a/test_marks_referencing.bash
+++ b/test_marks_referencing.bash
@@ -49,7 +49,7 @@ run_test_r() {
fi
local run_check=$4
$run_check
- #cat ${file_asm}
+ echo && cat ${file_asm}
echo -e "${CGREEN}OK${CRST}"
}
@@ -89,3 +89,6 @@ run_test_rdisp "bras ." "\x60\xfe"
run_test_rdisp "bras .-2" "\x4e\x71\x60\xfc"
run_test_rdisp "bras .-1" "\x4e\x71\x60\xfd"
run_test_rdisp "braw .+2" "\x4e\x71\x60\x00\x00\x00"
+run_test_rword "moveml 0x0:w,%d0" "\x4c\xf8\x00\x01\x00\x00"
+run_test_rword "moveml 0x6:w,%a0" "\x4c\xf8\x01\x00\x00\x06\x4e\x71\x4e\x71"
+run_test_rword "movemw 0x0:l,%a0" "\x4e\x71\x4e\x71\x4c\xb9\x01\x00\x00\x00\x00\x02"