From edf839f2352095cbc375e1f679001f2b20404b9d Mon Sep 17 00:00:00 2001 From: Oxore Date: Tue, 2 May 2023 00:16:07 +0300 Subject: Impl CHK --- test.bash | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) (limited to 'test.bash') diff --git a/test.bash b/test.bash index d615b32..be8a5be 100644 --- a/test.bash +++ b/test.bash @@ -93,13 +93,21 @@ run_test_iterative() { done } -# 4xxx lea +# 4xxx chkw # -run_test_simple "lea (An)" "\x41\xd0" -run_test_simple "lea (d16,An)" "\x47\xe9\x80\x00" -run_test_simple "lea (d8,An,Xi)" "\x47\xf2\xa8\x7f" -run_test_simple "lea (d16,PC)" "\x47\xfa\x7f\xff" -run_test_simple "lea (d8,PC,Xi)" "\x47\xfb\xa8\x80" +run_test_simple "chkw Dn" "\x47\x82" +run_test_simple "chkw (An)" "\x41\x90" +run_test_simple "chkw (An)+" "\x47\x9b" +run_test_simple "chkw (d16,An)" "\x47\xa9\x80\x00" +run_test_simple "chkw (d8,An,Xi)" "\x47\xb2\xa8\x7f" + +# 4xxx leal +# +run_test_simple "leal (An)" "\x41\xd0" +run_test_simple "leal (d16,An)" "\x47\xe9\x80\x00" +run_test_simple "leal (d8,An,Xi)" "\x47\xf2\xa8\x7f" +run_test_simple "leal (d16,PC)" "\x47\xfa\x7f\xff" +run_test_simple "leal (d8,PC,Xi)" "\x47\xfb\xa8\x80" # 0xxx movep # -- cgit v1.2.3