diff options
author | Oxore <oxore@protonmail.com> | 2023-05-08 16:33:37 +0300 |
---|---|---|
committer | Oxore <oxore@protonmail.com> | 2023-05-08 16:39:39 +0300 |
commit | 8ea1d138088f73e677d623edd8b8ad2427b4e482 (patch) | |
tree | 41d17a1a2005b3db84cb479d52b40f20b1c132d4 /test.bash | |
parent | c12ef2015384fd7f35150f058dfb3b3df46dcd2c (diff) |
Impl NBCD, SWAP and PEA
Diffstat (limited to 'test.bash')
-rw-r--r-- | test.bash | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -93,6 +93,22 @@ run_test_iterative() { done } +# 48xx nbcd swap pea +# +run_test_simple "swapw Dn" "\x48\x47" +run_test_simple "swapw Dn" "\x48\x42" +run_test_simple "peal (An)" "\x48\x50" +run_test_simple "peal (d16,An)" "\x48\x68\x80\x00" +run_test_simple "peal (d8,An,An)" "\x48\x77\x90\xfe" +run_test_simple "peal (d16,PC)" "\x48\x7a\x7f\xff" +run_test_simple "peal (d8,PC,Dn)" "\x48\x7b\x68\xfe" +run_test_simple "nbcdb Dn" "\x48\x03" +run_test_simple "nbcdb (An)" "\x48\x14" +run_test_simple "nbcdb (An)+" "\x48\x1c" +run_test_simple "nbcdb -(An)" "\x48\x25" +run_test_simple "nbcdb (d16,An)" "\x48\x28\x80\x00" +run_test_simple "nbcdb (d8,An,An)" "\x48\x37\x90\xfe" + # 48xx ext # run_test_simple "extw %d7" "\x48\x87" |