diff options
author | Oxore <oxore@protonmail.com> | 2023-05-02 00:16:07 +0300 |
---|---|---|
committer | Oxore <oxore@protonmail.com> | 2023-05-02 00:16:07 +0300 |
commit | edf839f2352095cbc375e1f679001f2b20404b9d (patch) | |
tree | 5ce71c2f1989be91c671d50b01723bb215b75690 /test.bash | |
parent | 0df8468808e922f694de264cae59762ff484b67e (diff) |
Impl CHK
Diffstat (limited to 'test.bash')
-rw-r--r-- | test.bash | 20 |
1 files changed, 14 insertions, 6 deletions
@@ -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 # |