From 5c8aedf98c462387ad073698918d5cb7d9965a4b Mon Sep 17 00:00:00 2001 From: Oxore Date: Mon, 8 May 2023 12:14:31 +0300 Subject: Impl ADDA, optimize some arg parsing --- test.bash | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test.bash') diff --git a/test.bash b/test.bash index 61f7572..a757ea5 100644 --- a/test.bash +++ b/test.bash @@ -93,6 +93,14 @@ run_test_iterative() { done } +# 4xxx adda +# +run_test_simple "addaw Dn, An" "\xd4\xc1" +run_test_simple "addal An, An" "\xdb\xca" +run_test_simple "addaw (An)+, An" "\xdb\xda" +run_test_simple "addaw #imm, An" "\xda\xfc\x01\x00" +run_test_simple "addal #imm, An" "\xdb\xfc\x80\x00\x00\x00" + # 4xxx add # run_test_simple "addb Dn, Dn" "\xd4\x01" -- cgit v1.2.3