From e7a1ec0ee07d60b4d7ce652f32dd446bcf892517 Mon Sep 17 00:00:00 2001 From: Ross Wilson Date: Sat, 20 Feb 2016 16:22:44 +0700 Subject: [PATCH] Added to display opcode tests --- .../asm_tests/tests/test_display_opcodes.asm | 56 +++++++++++++++++-- ...bug_pseudo_ops.asm => test_pseudo_ops.asm} | 0 2 files changed, 51 insertions(+), 5 deletions(-) rename pyasm/asm_tests/tests/{debug_pseudo_ops.asm => test_pseudo_ops.asm} (100%) diff --git a/pyasm/asm_tests/tests/test_display_opcodes.asm b/pyasm/asm_tests/tests/test_display_opcodes.asm index 9b31ba1..29551d3 100644 --- a/pyasm/asm_tests/tests/test_display_opcodes.asm +++ b/pyasm/asm_tests/tests/test_display_opcodes.asm @@ -4,10 +4,48 @@ ;************************** org 0100 + dhlt + dnop +;|$1 0000000 +;| 0004000 + dsts 0 + dsts 1 + dsts 2 + dsts 3 +;| 0004004 +;| 0004005 +;| 0004006 +;| 0004007 + dstb 0 + dstb 1 + dstb 2 + dstb 3 +;| 0004010 +;| 0004011 +;| 0004012 +;| 0004013 + ddsp +;| 0004020 + dixm +;| 0005000 + diym +;| 0004400 + drjm +;| 0004040 + ddxm +;| 0004200 + ddym +;| 0004100 + dhvc ; early PDS-1 only +;| 0006000 + dopr 015 + dopr 014 +;| 0004015 +;| 0004014 dlxa 0 dlxa 1 dlxa 01777 -;|$1 0010000 + 0 +;| 0010000 + 0 ;| 0010000 + 1 ;| 0010000 + 01777 dlya 0 @@ -18,6 +56,18 @@ ;| 0020000 + 01777 inc e,f ;| 0030171 + inc e,n +;| 0030111 + inc e,r +;| 0030151 + inc e,p + inc p,f +;| 0030200 +;| 0100171 + inc e,a0377 + inc f,f +;| 0030377 +;| 0074571 inc e,d+3+3 inc d+2+1,b-3+2 inc b-2-2,b+0-3 @@ -96,9 +146,5 @@ ;| 0004100 dhvc ;| 0006000 - dopr 015 - dopr 014 -;| 0004015 -;| 0004014 end diff --git a/pyasm/asm_tests/tests/debug_pseudo_ops.asm b/pyasm/asm_tests/tests/test_pseudo_ops.asm similarity index 100% rename from pyasm/asm_tests/tests/debug_pseudo_ops.asm rename to pyasm/asm_tests/tests/test_pseudo_ops.asm