From c04ca8aab1ad9811372738113cfb5365ec056516 Mon Sep 17 00:00:00 2001 From: Oxore Date: Mon, 1 May 2023 01:31:21 +0300 Subject: Impl MOVEQ --- test.bash | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test.bash') diff --git a/test.bash b/test.bash index 5d282e8..c95d3ad 100644 --- a/test.bash +++ b/test.bash @@ -62,6 +62,14 @@ run_test_iterative() { done } +# 70xx / 72xx/ 74xx / 76xx / 78xx / 7axx / 7cxx / 7exx +# +run_test_simple "moveq #0 to D0" "\x70\x00" +run_test_simple "moveq #1 to D2" "\x74\x01" +run_test_simple "moveq #127 to D7" "\x7e\x7f" +run_test_simple "moveq #-1 to D5" "\x7a\xff" +run_test_simple "moveq #-128 to D1" "\x72\x80" + # From random tests # run_test_simple "movel %pc@(-16,%a0:l),%a3@+ with nop" "\x26\xfb\x88\xf0\x4e\x71" -- cgit v1.2.3