diff options
author | Oxore <oxore@protonmail.com> | 2023-05-02 00:07:04 +0300 |
---|---|---|
committer | Oxore <oxore@protonmail.com> | 2023-05-02 00:07:04 +0300 |
commit | 0df8468808e922f694de264cae59762ff484b67e (patch) | |
tree | 771b439587ddca3031218147d4f7eb5c28cee286 /test.bash | |
parent | f1083d93821cf9e3d9041f451ed8e14474db02f7 (diff) |
Impl LEA
Diffstat (limited to 'test.bash')
-rw-r--r-- | test.bash | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -93,6 +93,14 @@ run_test_iterative() { done } +# 4xxx lea +# +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" + # 0xxx movep # run_test_simple "movepw Dn to (An)" "\x01\x0b\x00\xa0" |