From f1083d93821cf9e3d9041f451ed8e14474db02f7 Mon Sep 17 00:00:00 2001 From: Oxore Date: Mon, 1 May 2023 23:36:42 +0300 Subject: Impl MOVEP --- test.bash | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'test.bash') 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" -- cgit v1.2.3