From 632231943932361e8c8618283f7871ff1df04aa6 Mon Sep 17 00:00:00 2001 From: j8takagi Date: Sat, 6 Feb 2010 13:55:35 +0900 Subject: [PATCH] =?utf8?q?=E3=82=B3=E3=83=9E=E3=83=B3=E3=83=89=E5=8B=95?= =?utf8?q?=E4=BD=9C=E6=A4=9C=E8=A8=BC=E7=94=A8=E3=81=AECASL2=E3=83=97?= =?utf8?q?=E3=83=AD=E3=82=B0=E3=83=A9=E3=83=A0=E6=95=B4=E7=90=86=E3=82=92?= =?utf8?q?=E9=96=8B=E5=A7=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- as/CMD/ADDA/adda0_0.casl | 7 + as/CMD/ADDA/adda0_ov0.casl | 7 + as/CMD/ADDA/adda0_ov1.casl | 7 + as/CMD/ADDA/adda0_s0.casl | 7 + as/CMD/ADDA/adda0_s1.casl | 7 + as/CMD/{adda1.casl => ADDA/adda1_0.casl} | 0 as/CMD/ADDA/adda1_ov0.casl | 8 + as/CMD/ADDA/adda1_ov1.casl | 8 + as/CMD/ADDA/adda1_s0.casl | 8 + as/CMD/ADDA/adda1_s1.casl | 8 + as/CMD/ADDL/addl.casl | 8 + as/CMD/ADDL/addl0.casl | 7 + as/CMD/ADDL/addl0_ov0.casl | 7 + as/CMD/ADDL/addl0_ov1.casl | 7 + as/CMD/ADDL/addl0_s0.casl | 7 + as/CMD/ADDL/addl1_ov0.casl | 8 + as/CMD/ADDL/addl1_ov1.casl | 8 + as/CMD/ADDL/addl1_s0.casl | 8 + as/CMD/AND/and0.casl | 7 + as/CMD/AND/and1.casl | 8 + as/CMD/{ => CALL}/call0.casl | 0 as/CMD/{ => CALL}/call1.casl | 0 as/CMD/{ => CALL}/call2.casl | 0 as/CMD/{ => CPA}/cpa1.casl | 0 as/CMD/{ => CPL}/cpl1.casl | 0 as/CMD/{ => CPL}/cpl2.casl | 0 as/CMD/{ => CPL}/cpl3.casl | 0 as/CMD/{ => DC}/dc_overflow.casl | 0 as/CMD/{ => DC}/dc_spc.casl | 0 as/CMD/{ => DS}/ds_0.casl | 0 as/CMD/{ => LAD}/lad0.casl | 0 as/CMD/{ => LAD}/lad1.casl | 0 as/CMD/{ => LAD}/lad2.casl | 0 as/CMD/{ => LAD}/lad3.casl | 0 as/CMD/{ => LAD}/lad4.casl | 0 as/CMD/{ => LD}/ld0.casl | 0 as/CMD/{ => LD}/ld1.casl | 0 as/CMD/{ => LD}/ld2.casl | 0 as/CMD/{ => LD}/ld3.casl | 0 as/CMD/{ => LD}/ld4.casl | 0 as/CMD/{ => LD}/ld5.casl | 0 as/CMD/{ => LD}/ld_loop.casl | 0 as/CMD/{ => NOP}/nop.casl | 0 as/CMD/{ => OUT}/out0.casl | 0 as/CMD/{ => OUT}/out1.casl | 0 as/CMD/{ => PUSH}/pushpop.casl | 0 as/CMD/{ => SLA}/sla2.casl | 0 as/CMD/{ => SLA}/sla3.casl | 0 as/CMD/{ => SLA}/sll2.casl | 0 as/CMD/{ => SLA}/sll3.casl | 0 as/CMD/{ => SRA}/sra2.casl | 0 as/CMD/{ => SRA}/sra3.casl | 0 as/CMD/{ => SRA}/sra4.casl | 0 as/CMD/{ => ST}/st0.casl | 0 as/CMD/{ => ST}/st1.casl | 0 as/CMD/{ => SVC}/svc2.casl | 0 as/CMD/XOR/literal_spc.casl | 9 + as/CMD/{ => XOR}/xor0.casl | 0 as/CMD/{ => XOR}/xor1.casl | 0 as/CMD/{ => XOR}/xor3.casl | 0 as/CMD/{ => XOR}/xor4.casl | 0 as/CMD/{ => XOR}/xor5.casl | 0 as/CMD/adda0.casl | 6 - as/CMD/adda_overflow.casl | 6 - as/CMD/addl.casl | 9 - as/CMD/addl_overflow.casl | 11 -- as/CMD/and0.casl | 6 - as/CMD/and1.casl | 6 - as/CMD/and2.casl | 5 - as/CMD/and3.casl | 5 - as/CMD/literal_spc.casl | 9 - as/CMD/literalstr.casl | 6 +- as/hello.casl | 12 +- as/macro/in/in.casl | 8 + as/macro/in/intest0.casl | 7 + as/macro/in/intest1.casl | 14 ++ as/macro/in/str.txt | 1 + as/macro/out/hello0.casl | 6 + .../svc2_out.casl => macro/out/hello1.casl} | 11 +- as/macro/out/out.casl | 11 ++ test/integration/Makefile | 4 +- .../casl2/{adda0 => cmd_adda0}/0.txt | 0 .../casl2/{adda0 => cmd_adda0}/Makefile | 0 .../casl2/{adda1 => cmd_adda1}/0.txt | 0 .../casl2/{adda1 => cmd_adda1}/Makefile | 0 .../0.txt | 0 .../Makefile | 0 .../casl2/{addl => cmd_addl}/0.txt | 0 .../casl2/{addl => cmd_addl}/Makefile | 0 .../0.txt | 0 .../Makefile | 0 .../casl2/{and0 => cmd_and0}/0.txt | 0 .../casl2/{and0 => cmd_and0}/Makefile | 0 .../casl2/{and1 => cmd_and1}/0.txt | 0 .../casl2/{and1 => cmd_and1}/Makefile | 0 .../casl2/{and2 => cmd_and2}/0.txt | 0 .../casl2/{and2 => cmd_and2}/Makefile | 0 .../casl2/{and3 => cmd_and3}/0.txt | 0 .../casl2/{and3 => cmd_and3}/Makefile | 0 .../casl2/{call0 => cmd_call0}/0.txt | 0 .../casl2/{call0 => cmd_call0}/Makefile | 0 .../casl2/{call1 => cmd_call1}/0.txt | 0 .../casl2/{call1 => cmd_call1}/Makefile | 0 .../casl2/{call2 => cmd_call2}/0.txt | 0 .../casl2/{call2 => cmd_call2}/Makefile | 0 .../casl2/{cpa1 => cmd_cpa1}/0.txt | 0 .../casl2/{cpa1 => cmd_cpa1}/Makefile | 0 .../{dc_overflow => cmd_dc_overflow}/0.txt | 0 .../{dc_overflow => cmd_dc_overflow}/Makefile | 0 .../casl2/{dc_spc => cmd_dc_spc}/0.txt | 0 .../casl2/{dc_spc => cmd_dc_spc}/Makefile | 0 .../casl2/{ds_0 => cmd_ds_0}/0.txt | 0 .../casl2/{ds_0 => cmd_ds_0}/Makefile | 0 .../casl2/{lad0 => cmd_lad0}/0.txt | 0 .../casl2/{lad0 => cmd_lad0}/Makefile | 0 .../casl2/{lad1 => cmd_lad1}/0.txt | 0 .../casl2/{lad1 => cmd_lad1}/Makefile | 0 .../casl2/{lad2 => cmd_lad2}/0.txt | 0 .../casl2/{lad2 => cmd_lad2}/Makefile | 0 .../casl2/{lad3 => cmd_lad3}/0.txt | 0 .../casl2/{lad3 => cmd_lad3}/Makefile | 0 test/integration/casl2/{ld0 => cmd_ld0}/0.txt | 0 .../casl2/{ld0 => cmd_ld0}/Makefile | 0 test/integration/casl2/{ld1 => cmd_ld1}/0.txt | 0 .../casl2/{ld1 => cmd_ld1}/Makefile | 0 test/integration/casl2/{ld2 => cmd_ld2}/0.txt | 0 .../casl2/{ld2 => cmd_ld2}/Makefile | 0 test/integration/casl2/{ld3 => cmd_ld3}/0.txt | 0 .../casl2/{ld3 => cmd_ld3}/Makefile | 0 test/integration/casl2/{ld4 => cmd_ld4}/0.txt | 0 .../casl2/{ld4 => cmd_ld4}/Makefile | 0 test/integration/casl2/{ld5 => cmd_ld5}/0.txt | 0 .../casl2/{ld5 => cmd_ld5}/Makefile | 0 .../casl2/{ld_loop => cmd_ld_loop}/0.txt | 0 .../casl2/{ld_loop => cmd_ld_loop}/Makefile | 0 .../{literal_spc => cmd_literal_spc}/0.txt | 0 .../{literal_spc => cmd_literal_spc}/Makefile | 0 .../{literalstr => cmd_literalstr}/0.txt | 0 .../{literalstr => cmd_literalstr}/Makefile | 0 .../casl2/{out0 => cmd_out0}/0.txt | 0 .../casl2/{out0 => cmd_out0}/Makefile | 0 .../casl2/{out1 => cmd_out1}/0.txt | 0 .../casl2/{out1 => cmd_out1}/Makefile | 0 .../casl2/{pushpop => cmd_pushpop}/0.txt | 0 .../casl2/{pushpop => cmd_pushpop}/Makefile | 0 .../casl2/{sla2 => cmd_sla2}/0.txt | 0 .../casl2/{sla2 => cmd_sla2}/Makefile | 0 .../casl2/{sra2 => cmd_sra2}/0.txt | 0 .../casl2/{sra2 => cmd_sra2}/Makefile | 0 .../casl2/{sra3 => cmd_sra3}/0.txt | 0 .../casl2/{sra3 => cmd_sra3}/Makefile | 0 .../casl2/{sra4 => cmd_sra4}/0.txt | 0 .../casl2/{sra4 => cmd_sra4}/Makefile | 0 test/integration/casl2/{st0 => cmd_st0}/0.txt | 0 .../casl2/{st0 => cmd_st0}/Makefile | 0 test/integration/casl2/{st1 => cmd_st1}/0.txt | 0 .../casl2/{st1 => cmd_st1}/Makefile | 0 .../casl2/{svc2 => cmd_svc2}/0.txt | 0 .../casl2/{svc2 => cmd_svc2}/Makefile | 0 .../casl2/{xor0 => cmd_xor0}/0.txt | 0 .../casl2/{xor0 => cmd_xor0}/Makefile | 0 .../casl2/{xor1 => cmd_xor1}/0.txt | 0 .../casl2/{xor1 => cmd_xor1}/Makefile | 0 .../casl2/{xor3 => cmd_xor3}/0.txt | 0 .../casl2/{xor3 => cmd_xor3}/Makefile | 0 .../casl2/{xor4 => cmd_xor4}/0.txt | 0 .../casl2/{xor4 => cmd_xor4}/Makefile | 0 .../casl2/{xor5 => cmd_xor5}/0.txt | 0 .../casl2/{xor5 => cmd_xor5}/Makefile | 0 test/integration/casl2/hello/0.txt | 26 +-- .../casl2/{svc2_out => misc_out_hello}/0.txt | 181 +++++++++--------- .../integration/casl2/misc_out_hello/Makefile | 6 + test/integration/casl2/svc2_out/Makefile | 6 - test/integration/comet2/abs_call/a.o | Bin 872 -> 884 bytes test/integration/comet2/binout/a.o | Bin 230 -> 232 bytes test/integration/comet2/count_call/a.o | Bin 650 -> 652 bytes test/integration/comet2/dc_spc/a.o | Bin 44 -> 46 bytes test/integration/comet2/divl0_call/a.o | Bin 716 -> 724 bytes test/integration/comet2/divl1_call/a.o | Bin 794 -> 802 bytes test/integration/comet2/fib_outl/a.o | Bin 564 -> 566 bytes test/integration/comet2/floatedit/a.o | Bin 672 -> 676 bytes test/integration/comet2/hanoi/a.o | Bin 186 -> 188 bytes test/integration/comet2/hello/a.o | Bin 68 -> 70 bytes test/integration/comet2/iotest/a.o | Bin 408 -> 416 bytes test/integration/comet2/literal_spc/a.o | Bin 54 -> 56 bytes test/integration/comet2/minim_call/a.o | Bin 670 -> 672 bytes .../{svc2_out => misc_out_hello1}/0.txt | 2 +- .../comet2/misc_out_hello1/Makefile | 4 + test/integration/comet2/misc_out_hello1/a.o | Bin 0 -> 68 bytes test/integration/comet2/mula0_call/a.o | Bin 1090 -> 1096 bytes test/integration/comet2/mula1_call/a.o | Bin 1084 -> 1090 bytes test/integration/comet2/mula2_call/a.o | Bin 1140 -> 1146 bytes test/integration/comet2/mull0_call/a.o | Bin 916 -> 924 bytes test/integration/comet2/mull1_call/a.o | Bin 922 -> 930 bytes test/integration/comet2/out0/a.o | Bin 44 -> 46 bytes test/integration/comet2/out1/a.o | Bin 86 -> 88 bytes test/integration/comet2/outa_call/a.o | Bin 680 -> 682 bytes test/integration/comet2/outb_call/a.o | Bin 640 -> 642 bytes test/integration/comet2/outd_q15_call/a.o | Bin 438 -> 440 bytes test/integration/comet2/outl_call/a.o | Bin 614 -> 616 bytes test/integration/comet2/ptn1/a.o | Bin 582 -> 584 bytes test/integration/comet2/ptn2/a.o | Bin 582 -> 584 bytes test/integration/comet2/ptn3/a.o | Bin 568 -> 570 bytes test/integration/comet2/ptn4/a.o | Bin 650 -> 652 bytes test/integration/comet2/rev_call/a.o | Bin 204 -> 208 bytes test/integration/comet2/sum_call/a.o | Bin 564 -> 566 bytes test/integration/comet2/summary/a.o | Bin 574 -> 578 bytes test/integration/comet2/svc2_out/Makefile | 4 - test/integration/comet2/svc2_out/a.o | Bin 50 -> 0 bytes test/unit/TEST.mk | 7 +- .../print_cmdtype_code/print_cmdtype_code.c | 36 ++++ test/unit/print_code_type/print_code_type.c | 41 +++- 212 files changed, 412 insertions(+), 195 deletions(-) create mode 100644 as/CMD/ADDA/adda0_0.casl create mode 100644 as/CMD/ADDA/adda0_ov0.casl create mode 100644 as/CMD/ADDA/adda0_ov1.casl create mode 100644 as/CMD/ADDA/adda0_s0.casl create mode 100644 as/CMD/ADDA/adda0_s1.casl rename as/CMD/{adda1.casl => ADDA/adda1_0.casl} (100%) create mode 100644 as/CMD/ADDA/adda1_ov0.casl create mode 100644 as/CMD/ADDA/adda1_ov1.casl create mode 100644 as/CMD/ADDA/adda1_s0.casl create mode 100644 as/CMD/ADDA/adda1_s1.casl create mode 100644 as/CMD/ADDL/addl.casl create mode 100644 as/CMD/ADDL/addl0.casl create mode 100644 as/CMD/ADDL/addl0_ov0.casl create mode 100644 as/CMD/ADDL/addl0_ov1.casl create mode 100644 as/CMD/ADDL/addl0_s0.casl create mode 100644 as/CMD/ADDL/addl1_ov0.casl create mode 100644 as/CMD/ADDL/addl1_ov1.casl create mode 100644 as/CMD/ADDL/addl1_s0.casl create mode 100644 as/CMD/AND/and0.casl create mode 100644 as/CMD/AND/and1.casl rename as/CMD/{ => CALL}/call0.casl (100%) rename as/CMD/{ => CALL}/call1.casl (100%) rename as/CMD/{ => CALL}/call2.casl (100%) rename as/CMD/{ => CPA}/cpa1.casl (100%) rename as/CMD/{ => CPL}/cpl1.casl (100%) rename as/CMD/{ => CPL}/cpl2.casl (100%) rename as/CMD/{ => CPL}/cpl3.casl (100%) rename as/CMD/{ => DC}/dc_overflow.casl (100%) rename as/CMD/{ => DC}/dc_spc.casl (100%) rename as/CMD/{ => DS}/ds_0.casl (100%) rename as/CMD/{ => LAD}/lad0.casl (100%) rename as/CMD/{ => LAD}/lad1.casl (100%) rename as/CMD/{ => LAD}/lad2.casl (100%) rename as/CMD/{ => LAD}/lad3.casl (100%) rename as/CMD/{ => LAD}/lad4.casl (100%) rename as/CMD/{ => LD}/ld0.casl (100%) rename as/CMD/{ => LD}/ld1.casl (100%) rename as/CMD/{ => LD}/ld2.casl (100%) rename as/CMD/{ => LD}/ld3.casl (100%) rename as/CMD/{ => LD}/ld4.casl (100%) rename as/CMD/{ => LD}/ld5.casl (100%) rename as/CMD/{ => LD}/ld_loop.casl (100%) rename as/CMD/{ => NOP}/nop.casl (100%) rename as/CMD/{ => OUT}/out0.casl (100%) rename as/CMD/{ => OUT}/out1.casl (100%) rename as/CMD/{ => PUSH}/pushpop.casl (100%) rename as/CMD/{ => SLA}/sla2.casl (100%) rename as/CMD/{ => SLA}/sla3.casl (100%) rename as/CMD/{ => SLA}/sll2.casl (100%) rename as/CMD/{ => SLA}/sll3.casl (100%) rename as/CMD/{ => SRA}/sra2.casl (100%) rename as/CMD/{ => SRA}/sra3.casl (100%) rename as/CMD/{ => SRA}/sra4.casl (100%) rename as/CMD/{ => ST}/st0.casl (100%) rename as/CMD/{ => ST}/st1.casl (100%) rename as/CMD/{ => SVC}/svc2.casl (100%) create mode 100644 as/CMD/XOR/literal_spc.casl rename as/CMD/{ => XOR}/xor0.casl (100%) rename as/CMD/{ => XOR}/xor1.casl (100%) rename as/CMD/{ => XOR}/xor3.casl (100%) rename as/CMD/{ => XOR}/xor4.casl (100%) rename as/CMD/{ => XOR}/xor5.casl (100%) delete mode 100644 as/CMD/adda0.casl delete mode 100644 as/CMD/adda_overflow.casl delete mode 100644 as/CMD/addl.casl delete mode 100644 as/CMD/addl_overflow.casl delete mode 100644 as/CMD/and0.casl delete mode 100644 as/CMD/and1.casl delete mode 100644 as/CMD/and2.casl delete mode 100644 as/CMD/and3.casl delete mode 100644 as/CMD/literal_spc.casl create mode 100644 as/macro/in/in.casl create mode 100644 as/macro/in/intest0.casl create mode 100644 as/macro/in/intest1.casl create mode 100644 as/macro/in/str.txt create mode 100644 as/macro/out/hello0.casl rename as/{CMD/svc2_out.casl => macro/out/hello1.casl} (57%) create mode 100644 as/macro/out/out.casl rename test/integration/casl2/{adda0 => cmd_adda0}/0.txt (100%) rename test/integration/casl2/{adda0 => cmd_adda0}/Makefile (100%) rename test/integration/casl2/{adda1 => cmd_adda1}/0.txt (100%) rename test/integration/casl2/{adda1 => cmd_adda1}/Makefile (100%) rename test/integration/casl2/{adda_overflow => cmd_adda_overflow}/0.txt (100%) rename test/integration/casl2/{adda_overflow => cmd_adda_overflow}/Makefile (100%) rename test/integration/casl2/{addl => cmd_addl}/0.txt (100%) rename test/integration/casl2/{addl => cmd_addl}/Makefile (100%) rename test/integration/casl2/{addl_overflow => cmd_addl_overflow}/0.txt (100%) rename test/integration/casl2/{addl_overflow => cmd_addl_overflow}/Makefile (100%) rename test/integration/casl2/{and0 => cmd_and0}/0.txt (100%) rename test/integration/casl2/{and0 => cmd_and0}/Makefile (100%) rename test/integration/casl2/{and1 => cmd_and1}/0.txt (100%) rename test/integration/casl2/{and1 => cmd_and1}/Makefile (100%) rename test/integration/casl2/{and2 => cmd_and2}/0.txt (100%) rename test/integration/casl2/{and2 => cmd_and2}/Makefile (100%) rename test/integration/casl2/{and3 => cmd_and3}/0.txt (100%) rename test/integration/casl2/{and3 => cmd_and3}/Makefile (100%) rename test/integration/casl2/{call0 => cmd_call0}/0.txt (100%) rename test/integration/casl2/{call0 => cmd_call0}/Makefile (100%) rename test/integration/casl2/{call1 => cmd_call1}/0.txt (100%) rename test/integration/casl2/{call1 => cmd_call1}/Makefile (100%) rename test/integration/casl2/{call2 => cmd_call2}/0.txt (100%) rename test/integration/casl2/{call2 => cmd_call2}/Makefile (100%) rename test/integration/casl2/{cpa1 => cmd_cpa1}/0.txt (100%) rename test/integration/casl2/{cpa1 => cmd_cpa1}/Makefile (100%) rename test/integration/casl2/{dc_overflow => cmd_dc_overflow}/0.txt (100%) rename test/integration/casl2/{dc_overflow => cmd_dc_overflow}/Makefile (100%) rename test/integration/casl2/{dc_spc => cmd_dc_spc}/0.txt (100%) rename test/integration/casl2/{dc_spc => cmd_dc_spc}/Makefile (100%) rename test/integration/casl2/{ds_0 => cmd_ds_0}/0.txt (100%) rename test/integration/casl2/{ds_0 => cmd_ds_0}/Makefile (100%) rename test/integration/casl2/{lad0 => cmd_lad0}/0.txt (100%) rename test/integration/casl2/{lad0 => cmd_lad0}/Makefile (100%) rename test/integration/casl2/{lad1 => cmd_lad1}/0.txt (100%) rename test/integration/casl2/{lad1 => cmd_lad1}/Makefile (100%) rename test/integration/casl2/{lad2 => cmd_lad2}/0.txt (100%) rename test/integration/casl2/{lad2 => cmd_lad2}/Makefile (100%) rename test/integration/casl2/{lad3 => cmd_lad3}/0.txt (100%) rename test/integration/casl2/{lad3 => cmd_lad3}/Makefile (100%) rename test/integration/casl2/{ld0 => cmd_ld0}/0.txt (100%) rename test/integration/casl2/{ld0 => cmd_ld0}/Makefile (100%) rename test/integration/casl2/{ld1 => cmd_ld1}/0.txt (100%) rename test/integration/casl2/{ld1 => cmd_ld1}/Makefile (100%) rename test/integration/casl2/{ld2 => cmd_ld2}/0.txt (100%) rename test/integration/casl2/{ld2 => cmd_ld2}/Makefile (100%) rename test/integration/casl2/{ld3 => cmd_ld3}/0.txt (100%) rename test/integration/casl2/{ld3 => cmd_ld3}/Makefile (100%) rename test/integration/casl2/{ld4 => cmd_ld4}/0.txt (100%) rename test/integration/casl2/{ld4 => cmd_ld4}/Makefile (100%) rename test/integration/casl2/{ld5 => cmd_ld5}/0.txt (100%) rename test/integration/casl2/{ld5 => cmd_ld5}/Makefile (100%) rename test/integration/casl2/{ld_loop => cmd_ld_loop}/0.txt (100%) rename test/integration/casl2/{ld_loop => cmd_ld_loop}/Makefile (100%) rename test/integration/casl2/{literal_spc => cmd_literal_spc}/0.txt (100%) rename test/integration/casl2/{literal_spc => cmd_literal_spc}/Makefile (100%) rename test/integration/casl2/{literalstr => cmd_literalstr}/0.txt (100%) rename test/integration/casl2/{literalstr => cmd_literalstr}/Makefile (100%) rename test/integration/casl2/{out0 => cmd_out0}/0.txt (100%) rename test/integration/casl2/{out0 => cmd_out0}/Makefile (100%) rename test/integration/casl2/{out1 => cmd_out1}/0.txt (100%) rename test/integration/casl2/{out1 => cmd_out1}/Makefile (100%) rename test/integration/casl2/{pushpop => cmd_pushpop}/0.txt (100%) rename test/integration/casl2/{pushpop => cmd_pushpop}/Makefile (100%) rename test/integration/casl2/{sla2 => cmd_sla2}/0.txt (100%) rename test/integration/casl2/{sla2 => cmd_sla2}/Makefile (100%) rename test/integration/casl2/{sra2 => cmd_sra2}/0.txt (100%) rename test/integration/casl2/{sra2 => cmd_sra2}/Makefile (100%) rename test/integration/casl2/{sra3 => cmd_sra3}/0.txt (100%) rename test/integration/casl2/{sra3 => cmd_sra3}/Makefile (100%) rename test/integration/casl2/{sra4 => cmd_sra4}/0.txt (100%) rename test/integration/casl2/{sra4 => cmd_sra4}/Makefile (100%) rename test/integration/casl2/{st0 => cmd_st0}/0.txt (100%) rename test/integration/casl2/{st0 => cmd_st0}/Makefile (100%) rename test/integration/casl2/{st1 => cmd_st1}/0.txt (100%) rename test/integration/casl2/{st1 => cmd_st1}/Makefile (100%) rename test/integration/casl2/{svc2 => cmd_svc2}/0.txt (100%) rename test/integration/casl2/{svc2 => cmd_svc2}/Makefile (100%) rename test/integration/casl2/{xor0 => cmd_xor0}/0.txt (100%) rename test/integration/casl2/{xor0 => cmd_xor0}/Makefile (100%) rename test/integration/casl2/{xor1 => cmd_xor1}/0.txt (100%) rename test/integration/casl2/{xor1 => cmd_xor1}/Makefile (100%) rename test/integration/casl2/{xor3 => cmd_xor3}/0.txt (100%) rename test/integration/casl2/{xor3 => cmd_xor3}/Makefile (100%) rename test/integration/casl2/{xor4 => cmd_xor4}/0.txt (100%) rename test/integration/casl2/{xor4 => cmd_xor4}/Makefile (100%) rename test/integration/casl2/{xor5 => cmd_xor5}/0.txt (100%) rename test/integration/casl2/{xor5 => cmd_xor5}/Makefile (100%) rename test/integration/casl2/{svc2_out => misc_out_hello}/0.txt (87%) create mode 100644 test/integration/casl2/misc_out_hello/Makefile delete mode 100644 test/integration/casl2/svc2_out/Makefile rename test/integration/comet2/{svc2_out => misc_out_hello1}/0.txt (63%) create mode 100644 test/integration/comet2/misc_out_hello1/Makefile create mode 100644 test/integration/comet2/misc_out_hello1/a.o delete mode 100644 test/integration/comet2/svc2_out/Makefile delete mode 100644 test/integration/comet2/svc2_out/a.o diff --git a/as/CMD/ADDA/adda0_0.casl b/as/CMD/ADDA/adda0_0.casl new file mode 100644 index 0000000..ec6f2f8 --- /dev/null +++ b/as/CMD/ADDA/adda0_0.casl @@ -0,0 +1,7 @@ +MAIN START +BEGIN LAD GR1,A + ADDA GR1,B + RET +A DC 3 +B DC 1 + END diff --git a/as/CMD/ADDA/adda0_ov0.casl b/as/CMD/ADDA/adda0_ov0.casl new file mode 100644 index 0000000..d0f5163 --- /dev/null +++ b/as/CMD/ADDA/adda0_ov0.casl @@ -0,0 +1,7 @@ +MAIN START + LD GR1,A + ADDA GR1,B + RET +A DC 32767 +B DC 10 + END diff --git a/as/CMD/ADDA/adda0_ov1.casl b/as/CMD/ADDA/adda0_ov1.casl new file mode 100644 index 0000000..b3a940e --- /dev/null +++ b/as/CMD/ADDA/adda0_ov1.casl @@ -0,0 +1,7 @@ +MAIN START + LD GR1,A + ADDA GR1,B + RET +A DC #8001 ; -32767 +B DC #FFF6 ; -10 + END diff --git a/as/CMD/ADDA/adda0_s0.casl b/as/CMD/ADDA/adda0_s0.casl new file mode 100644 index 0000000..3770d34 --- /dev/null +++ b/as/CMD/ADDA/adda0_s0.casl @@ -0,0 +1,7 @@ +MAIN START + LD GR1,A + ADDA GR1,B + RET +A DC 10 +B DC #FFEC ; -20 + END diff --git a/as/CMD/ADDA/adda0_s1.casl b/as/CMD/ADDA/adda0_s1.casl new file mode 100644 index 0000000..3b8fd4d --- /dev/null +++ b/as/CMD/ADDA/adda0_s1.casl @@ -0,0 +1,7 @@ +MAIN START + LD GR1,A + ADDA GR1,B + RET +A DC -10 +B DC 20 + END diff --git a/as/CMD/adda1.casl b/as/CMD/ADDA/adda1_0.casl similarity index 100% rename from as/CMD/adda1.casl rename to as/CMD/ADDA/adda1_0.casl diff --git a/as/CMD/ADDA/adda1_ov0.casl b/as/CMD/ADDA/adda1_ov0.casl new file mode 100644 index 0000000..1a38af5 --- /dev/null +++ b/as/CMD/ADDA/adda1_ov0.casl @@ -0,0 +1,8 @@ +MAIN START + LD GR1,A + LD GR2,B + ADDA GR1,GR2 + RET +A DC 32767 +B DC 10 + END diff --git a/as/CMD/ADDA/adda1_ov1.casl b/as/CMD/ADDA/adda1_ov1.casl new file mode 100644 index 0000000..326a3d1 --- /dev/null +++ b/as/CMD/ADDA/adda1_ov1.casl @@ -0,0 +1,8 @@ +MAIN START + LD GR1,A + LD GR2,B + ADDA GR1,GR2 + RET +A DC -32767 +B DC -10 + END diff --git a/as/CMD/ADDA/adda1_s0.casl b/as/CMD/ADDA/adda1_s0.casl new file mode 100644 index 0000000..054f189 --- /dev/null +++ b/as/CMD/ADDA/adda1_s0.casl @@ -0,0 +1,8 @@ +MAIN START + LD GR1,A + LD GR2,B + ADDA GR1,GR2 + RET +A DC 10 +B DC #FFEC ; -20 + END diff --git a/as/CMD/ADDA/adda1_s1.casl b/as/CMD/ADDA/adda1_s1.casl new file mode 100644 index 0000000..9f28bc1 --- /dev/null +++ b/as/CMD/ADDA/adda1_s1.casl @@ -0,0 +1,8 @@ +MAIN START + LD GR1,A + LD GR2,B + ADDA GR1,GR2 + RET +A DC -10 +B DC 20 + END diff --git a/as/CMD/ADDL/addl.casl b/as/CMD/ADDL/addl.casl new file mode 100644 index 0000000..6c69581 --- /dev/null +++ b/as/CMD/ADDL/addl.casl @@ -0,0 +1,8 @@ +MAIN START +BEGIN LD GR1,A + LD GR2,B + ADDA GR1,GR2 + RET +A DC 3 +B DC 1 + END diff --git a/as/CMD/ADDL/addl0.casl b/as/CMD/ADDL/addl0.casl new file mode 100644 index 0000000..5e2924c --- /dev/null +++ b/as/CMD/ADDL/addl0.casl @@ -0,0 +1,7 @@ +MAIN START +BEGIN LAD GR1,A + ADDL GR1,B + RET +A DC 3 +B DC 1 + END diff --git a/as/CMD/ADDL/addl0_ov0.casl b/as/CMD/ADDL/addl0_ov0.casl new file mode 100644 index 0000000..2c48a47 --- /dev/null +++ b/as/CMD/ADDL/addl0_ov0.casl @@ -0,0 +1,7 @@ +MAIN START + LD GR1,A + ADDL GR1,B + RET +A DC 32767 +B DC 10 + END diff --git a/as/CMD/ADDL/addl0_ov1.casl b/as/CMD/ADDL/addl0_ov1.casl new file mode 100644 index 0000000..4ef996f --- /dev/null +++ b/as/CMD/ADDL/addl0_ov1.casl @@ -0,0 +1,7 @@ +MAIN START + LD GR1,A + ADDL GR1,B + RET +A DC #8001 ; -32767 +B DC #FFF6 ; -10 + END diff --git a/as/CMD/ADDL/addl0_s0.casl b/as/CMD/ADDL/addl0_s0.casl new file mode 100644 index 0000000..215236d --- /dev/null +++ b/as/CMD/ADDL/addl0_s0.casl @@ -0,0 +1,7 @@ +MAIN START + LD GR1,A + ADDL GR1,B + RET +A DC 10 +B DC #FFEC ; 65516 + END diff --git a/as/CMD/ADDL/addl1_ov0.casl b/as/CMD/ADDL/addl1_ov0.casl new file mode 100644 index 0000000..1a38af5 --- /dev/null +++ b/as/CMD/ADDL/addl1_ov0.casl @@ -0,0 +1,8 @@ +MAIN START + LD GR1,A + LD GR2,B + ADDA GR1,GR2 + RET +A DC 32767 +B DC 10 + END diff --git a/as/CMD/ADDL/addl1_ov1.casl b/as/CMD/ADDL/addl1_ov1.casl new file mode 100644 index 0000000..326a3d1 --- /dev/null +++ b/as/CMD/ADDL/addl1_ov1.casl @@ -0,0 +1,8 @@ +MAIN START + LD GR1,A + LD GR2,B + ADDA GR1,GR2 + RET +A DC -32767 +B DC -10 + END diff --git a/as/CMD/ADDL/addl1_s0.casl b/as/CMD/ADDL/addl1_s0.casl new file mode 100644 index 0000000..34da997 --- /dev/null +++ b/as/CMD/ADDL/addl1_s0.casl @@ -0,0 +1,8 @@ +MAIN START + LD GR1,A + LD GR2,B + ADDL GR1,GR2 + RET +A DC 10 +B DC #FFEC ; 65516 + END diff --git a/as/CMD/AND/and0.casl b/as/CMD/AND/and0.casl new file mode 100644 index 0000000..c6169ec --- /dev/null +++ b/as/CMD/AND/and0.casl @@ -0,0 +1,7 @@ +MAIN START + LD GR1,A + AND GR1,B + RET +A DC #3000 +B DC #4FFF + END diff --git a/as/CMD/AND/and1.casl b/as/CMD/AND/and1.casl new file mode 100644 index 0000000..d41a1d8 --- /dev/null +++ b/as/CMD/AND/and1.casl @@ -0,0 +1,8 @@ +MAIN START + LD GR1,A + LD GR2,B + AND GR1,GR2 + RET +A DC #3000 +B DC #4FFF + END diff --git a/as/CMD/call0.casl b/as/CMD/CALL/call0.casl similarity index 100% rename from as/CMD/call0.casl rename to as/CMD/CALL/call0.casl diff --git a/as/CMD/call1.casl b/as/CMD/CALL/call1.casl similarity index 100% rename from as/CMD/call1.casl rename to as/CMD/CALL/call1.casl diff --git a/as/CMD/call2.casl b/as/CMD/CALL/call2.casl similarity index 100% rename from as/CMD/call2.casl rename to as/CMD/CALL/call2.casl diff --git a/as/CMD/cpa1.casl b/as/CMD/CPA/cpa1.casl similarity index 100% rename from as/CMD/cpa1.casl rename to as/CMD/CPA/cpa1.casl diff --git a/as/CMD/cpl1.casl b/as/CMD/CPL/cpl1.casl similarity index 100% rename from as/CMD/cpl1.casl rename to as/CMD/CPL/cpl1.casl diff --git a/as/CMD/cpl2.casl b/as/CMD/CPL/cpl2.casl similarity index 100% rename from as/CMD/cpl2.casl rename to as/CMD/CPL/cpl2.casl diff --git a/as/CMD/cpl3.casl b/as/CMD/CPL/cpl3.casl similarity index 100% rename from as/CMD/cpl3.casl rename to as/CMD/CPL/cpl3.casl diff --git a/as/CMD/dc_overflow.casl b/as/CMD/DC/dc_overflow.casl similarity index 100% rename from as/CMD/dc_overflow.casl rename to as/CMD/DC/dc_overflow.casl diff --git a/as/CMD/dc_spc.casl b/as/CMD/DC/dc_spc.casl similarity index 100% rename from as/CMD/dc_spc.casl rename to as/CMD/DC/dc_spc.casl diff --git a/as/CMD/ds_0.casl b/as/CMD/DS/ds_0.casl similarity index 100% rename from as/CMD/ds_0.casl rename to as/CMD/DS/ds_0.casl diff --git a/as/CMD/lad0.casl b/as/CMD/LAD/lad0.casl similarity index 100% rename from as/CMD/lad0.casl rename to as/CMD/LAD/lad0.casl diff --git a/as/CMD/lad1.casl b/as/CMD/LAD/lad1.casl similarity index 100% rename from as/CMD/lad1.casl rename to as/CMD/LAD/lad1.casl diff --git a/as/CMD/lad2.casl b/as/CMD/LAD/lad2.casl similarity index 100% rename from as/CMD/lad2.casl rename to as/CMD/LAD/lad2.casl diff --git a/as/CMD/lad3.casl b/as/CMD/LAD/lad3.casl similarity index 100% rename from as/CMD/lad3.casl rename to as/CMD/LAD/lad3.casl diff --git a/as/CMD/lad4.casl b/as/CMD/LAD/lad4.casl similarity index 100% rename from as/CMD/lad4.casl rename to as/CMD/LAD/lad4.casl diff --git a/as/CMD/ld0.casl b/as/CMD/LD/ld0.casl similarity index 100% rename from as/CMD/ld0.casl rename to as/CMD/LD/ld0.casl diff --git a/as/CMD/ld1.casl b/as/CMD/LD/ld1.casl similarity index 100% rename from as/CMD/ld1.casl rename to as/CMD/LD/ld1.casl diff --git a/as/CMD/ld2.casl b/as/CMD/LD/ld2.casl similarity index 100% rename from as/CMD/ld2.casl rename to as/CMD/LD/ld2.casl diff --git a/as/CMD/ld3.casl b/as/CMD/LD/ld3.casl similarity index 100% rename from as/CMD/ld3.casl rename to as/CMD/LD/ld3.casl diff --git a/as/CMD/ld4.casl b/as/CMD/LD/ld4.casl similarity index 100% rename from as/CMD/ld4.casl rename to as/CMD/LD/ld4.casl diff --git a/as/CMD/ld5.casl b/as/CMD/LD/ld5.casl similarity index 100% rename from as/CMD/ld5.casl rename to as/CMD/LD/ld5.casl diff --git a/as/CMD/ld_loop.casl b/as/CMD/LD/ld_loop.casl similarity index 100% rename from as/CMD/ld_loop.casl rename to as/CMD/LD/ld_loop.casl diff --git a/as/CMD/nop.casl b/as/CMD/NOP/nop.casl similarity index 100% rename from as/CMD/nop.casl rename to as/CMD/NOP/nop.casl diff --git a/as/CMD/out0.casl b/as/CMD/OUT/out0.casl similarity index 100% rename from as/CMD/out0.casl rename to as/CMD/OUT/out0.casl diff --git a/as/CMD/out1.casl b/as/CMD/OUT/out1.casl similarity index 100% rename from as/CMD/out1.casl rename to as/CMD/OUT/out1.casl diff --git a/as/CMD/pushpop.casl b/as/CMD/PUSH/pushpop.casl similarity index 100% rename from as/CMD/pushpop.casl rename to as/CMD/PUSH/pushpop.casl diff --git a/as/CMD/sla2.casl b/as/CMD/SLA/sla2.casl similarity index 100% rename from as/CMD/sla2.casl rename to as/CMD/SLA/sla2.casl diff --git a/as/CMD/sla3.casl b/as/CMD/SLA/sla3.casl similarity index 100% rename from as/CMD/sla3.casl rename to as/CMD/SLA/sla3.casl diff --git a/as/CMD/sll2.casl b/as/CMD/SLA/sll2.casl similarity index 100% rename from as/CMD/sll2.casl rename to as/CMD/SLA/sll2.casl diff --git a/as/CMD/sll3.casl b/as/CMD/SLA/sll3.casl similarity index 100% rename from as/CMD/sll3.casl rename to as/CMD/SLA/sll3.casl diff --git a/as/CMD/sra2.casl b/as/CMD/SRA/sra2.casl similarity index 100% rename from as/CMD/sra2.casl rename to as/CMD/SRA/sra2.casl diff --git a/as/CMD/sra3.casl b/as/CMD/SRA/sra3.casl similarity index 100% rename from as/CMD/sra3.casl rename to as/CMD/SRA/sra3.casl diff --git a/as/CMD/sra4.casl b/as/CMD/SRA/sra4.casl similarity index 100% rename from as/CMD/sra4.casl rename to as/CMD/SRA/sra4.casl diff --git a/as/CMD/st0.casl b/as/CMD/ST/st0.casl similarity index 100% rename from as/CMD/st0.casl rename to as/CMD/ST/st0.casl diff --git a/as/CMD/st1.casl b/as/CMD/ST/st1.casl similarity index 100% rename from as/CMD/st1.casl rename to as/CMD/ST/st1.casl diff --git a/as/CMD/svc2.casl b/as/CMD/SVC/svc2.casl similarity index 100% rename from as/CMD/svc2.casl rename to as/CMD/SVC/svc2.casl diff --git a/as/CMD/XOR/literal_spc.casl b/as/CMD/XOR/literal_spc.casl new file mode 100644 index 0000000..7c98d7b --- /dev/null +++ b/as/CMD/XOR/literal_spc.casl @@ -0,0 +1,9 @@ +; リテラルに「=' '」を指定 +MAIN START + LD GR1,=' ' + ST GR1,BUF + OUT BUF,LEN + RET +BUF DS 1 +LEN DC 1 + END diff --git a/as/CMD/xor0.casl b/as/CMD/XOR/xor0.casl similarity index 100% rename from as/CMD/xor0.casl rename to as/CMD/XOR/xor0.casl diff --git a/as/CMD/xor1.casl b/as/CMD/XOR/xor1.casl similarity index 100% rename from as/CMD/xor1.casl rename to as/CMD/XOR/xor1.casl diff --git a/as/CMD/xor3.casl b/as/CMD/XOR/xor3.casl similarity index 100% rename from as/CMD/xor3.casl rename to as/CMD/XOR/xor3.casl diff --git a/as/CMD/xor4.casl b/as/CMD/XOR/xor4.casl similarity index 100% rename from as/CMD/xor4.casl rename to as/CMD/XOR/xor4.casl diff --git a/as/CMD/xor5.casl b/as/CMD/XOR/xor5.casl similarity index 100% rename from as/CMD/xor5.casl rename to as/CMD/XOR/xor5.casl diff --git a/as/CMD/adda0.casl b/as/CMD/adda0.casl deleted file mode 100644 index 8e068bc..0000000 --- a/as/CMD/adda0.casl +++ /dev/null @@ -1,6 +0,0 @@ -MAIN START -BEGIN LAD GR1,3 - ADDA GR1,A - RET -A DC 1 - END diff --git a/as/CMD/adda_overflow.casl b/as/CMD/adda_overflow.casl deleted file mode 100644 index 478cd3a..0000000 --- a/as/CMD/adda_overflow.casl +++ /dev/null @@ -1,6 +0,0 @@ -MAIN START BEGIN -BEGIN LAD GR1,32766 - ADDA GR1,A - RET -A DC 29 - END diff --git a/as/CMD/addl.casl b/as/CMD/addl.casl deleted file mode 100644 index d496648..0000000 --- a/as/CMD/addl.casl +++ /dev/null @@ -1,9 +0,0 @@ -MAIN START BEGIN -BEGIN LD GR0,A - ADDL GR0,B - ST GR0,C - RET -A DC 32766 -B DC 29 -C DS 1 - END diff --git a/as/CMD/addl_overflow.casl b/as/CMD/addl_overflow.casl deleted file mode 100644 index 5a6f7c9..0000000 --- a/as/CMD/addl_overflow.casl +++ /dev/null @@ -1,11 +0,0 @@ -MAIN START BEGIN -BEGIN LD GR1,A - ADDL GR1,B - ADDL GR1,C - ADDL GR1,D - RET -A DC 32765 -B DC 4 -C DC 32764 -D DC 7 - END diff --git a/as/CMD/and0.casl b/as/CMD/and0.casl deleted file mode 100644 index 99ca479..0000000 --- a/as/CMD/and0.casl +++ /dev/null @@ -1,6 +0,0 @@ -MAIN START -BEGIN LAD GR1,#8001 - LAD GR2,#3521 - AND GR1,GR2 - RET - END diff --git a/as/CMD/and1.casl b/as/CMD/and1.casl deleted file mode 100644 index 99b3203..0000000 --- a/as/CMD/and1.casl +++ /dev/null @@ -1,6 +0,0 @@ -MAIN START -BEGIN LAD GR0,#3444 - AND GR0,A - RET -A DC #00DD - END diff --git a/as/CMD/and2.casl b/as/CMD/and2.casl deleted file mode 100644 index 65b8b8a..0000000 --- a/as/CMD/and2.casl +++ /dev/null @@ -1,5 +0,0 @@ -MAIN START -BEGIN LAD GR0,#3444 - AND GR0,=#00DD - RET - END diff --git a/as/CMD/and3.casl b/as/CMD/and3.casl deleted file mode 100644 index 2e6cf33..0000000 --- a/as/CMD/and3.casl +++ /dev/null @@ -1,5 +0,0 @@ -MAIN START -BEGIN LAD GR0,#0460 - AND GR0,=#00FF - RET - END diff --git a/as/CMD/literal_spc.casl b/as/CMD/literal_spc.casl deleted file mode 100644 index 3c034d4..0000000 --- a/as/CMD/literal_spc.casl +++ /dev/null @@ -1,9 +0,0 @@ -; リテラルに「=' '」を指定した場合のテスト -MAIN START - LD GR1,=' ' - ST GR1,BUF - OUT BUF,LEN - RET -BUF DS 1 -LEN DC 1 - END diff --git a/as/CMD/literalstr.casl b/as/CMD/literalstr.casl index 0fa3fd4..7a352de 100644 --- a/as/CMD/literalstr.casl +++ b/as/CMD/literalstr.casl @@ -2,12 +2,12 @@ MAIN START LAD GR1,='a' LAD GR2,10 LOOP CPA GR2,=0 - JZE LEND - JMI LEND + JZE FIN + JMI FIN LD GR3,0,GR1 ADDA GR1,=1 SUBA GR2,=1 JUMP LOOP -LEND RET +FIN RET LEN DC 5 END diff --git a/as/hello.casl b/as/hello.casl index 191f75a..e02055c 100644 --- a/as/hello.casl +++ b/as/hello.casl @@ -1,6 +1,6 @@ -MAIN START - OUT BUF,LEN - RET -BUF DC 'Hello, World!' -LEN DC 13 - END +MAIN START + OUT OBUF,LEN + RET +OBUF DC 'Hello, World!' +LEN DC 13 + END diff --git a/as/macro/in/in.casl b/as/macro/in/in.casl new file mode 100644 index 0000000..de3509d --- /dev/null +++ b/as/macro/in/in.casl @@ -0,0 +1,8 @@ +;;; CASL IIマクロ命令「IN IBUF LEN」で生成される命令群 + PUSH 0,GR1 + PUSH 0,GR2 + LAD GR1,IBUF + LAD GR2,LEN + SVC 1 + POP GR2 + POP GR1 diff --git a/as/macro/in/intest0.casl b/as/macro/in/intest0.casl new file mode 100644 index 0000000..43a89e0 --- /dev/null +++ b/as/macro/in/intest0.casl @@ -0,0 +1,7 @@ +MAIN START + IN IBUF,LEN + OUT IBUF,LEN + RET +IBUF DS 100 +LEN DC 1 + END diff --git a/as/macro/in/intest1.casl b/as/macro/in/intest1.casl new file mode 100644 index 0000000..2877bc8 --- /dev/null +++ b/as/macro/in/intest1.casl @@ -0,0 +1,14 @@ +MAIN START + PUSH 0,GR1 + PUSH 0,GR2 + LAD GR1,IBUF + LAD GR2,LEN + SVC 1 + POP GR2 + POP GR1 + IN IBUF,LEN + OUT IBUF,LEN + RET +IBUF DS 100 +LEN DC 1 + END diff --git a/as/macro/in/str.txt b/as/macro/in/str.txt new file mode 100644 index 0000000..6097ccb --- /dev/null +++ b/as/macro/in/str.txt @@ -0,0 +1 @@ +1234567890abcdefghijkLMNOPQRST diff --git a/as/macro/out/hello0.casl b/as/macro/out/hello0.casl new file mode 100644 index 0000000..e02055c --- /dev/null +++ b/as/macro/out/hello0.casl @@ -0,0 +1,6 @@ +MAIN START + OUT OBUF,LEN + RET +OBUF DC 'Hello, World!' +LEN DC 13 + END diff --git a/as/CMD/svc2_out.casl b/as/macro/out/hello1.casl similarity index 57% rename from as/CMD/svc2_out.casl rename to as/macro/out/hello1.casl index 5902866..a697251 100644 --- a/as/CMD/svc2_out.casl +++ b/as/macro/out/hello1.casl @@ -1,16 +1,15 @@ -;;; 「OUT」と同等のプログラム -OTEST START +MAIN START PUSH 0,GR1 PUSH 0,GR2 LAD GR1,OBUF - LD GR2,LEN + LAD GR2,LEN SVC 2 LAD GR1,=#A - LAD GR2,1 + LAD GR2,=1 SVC 2 POP GR2 POP GR1 RET -OBUF DC 'abcd' -LEN DC 4 +OBUF DC 'Hello, World!' +LEN DC 13 END diff --git a/as/macro/out/out.casl b/as/macro/out/out.casl new file mode 100644 index 0000000..6bdf9cd --- /dev/null +++ b/as/macro/out/out.casl @@ -0,0 +1,11 @@ +;;; CASL IIマクロ命令「OUT OBUF LEN」で生成される命令群 + PUSH 0,GR1 + PUSH 0,GR2 + LAD GR1,OBUF + LAD GR2,LEN + SVC 2 + LAD GR1,=#A + LAD GR2,=1 + SVC 2 + POP GR2 + POP GR1 diff --git a/test/integration/Makefile b/test/integration/Makefile index e440002..38422a0 100644 --- a/test/integration/Makefile +++ b/test/integration/Makefile @@ -1,7 +1,7 @@ YACASL2DIR=../.. TESTGROUPS = casl2 comet2 dumpword -.PHONY: all clean -all: +.PHONY: check clean +check: @for target in $(TESTGROUPS); do $(MAKE) -sC $$target; done clean: @for target in $(TESTGROUPS); do $(MAKE) -sC $$target clean; done diff --git a/test/integration/casl2/adda0/0.txt b/test/integration/casl2/cmd_adda0/0.txt similarity index 100% rename from test/integration/casl2/adda0/0.txt rename to test/integration/casl2/cmd_adda0/0.txt diff --git a/test/integration/casl2/adda0/Makefile b/test/integration/casl2/cmd_adda0/Makefile similarity index 100% rename from test/integration/casl2/adda0/Makefile rename to test/integration/casl2/cmd_adda0/Makefile diff --git a/test/integration/casl2/adda1/0.txt b/test/integration/casl2/cmd_adda1/0.txt similarity index 100% rename from test/integration/casl2/adda1/0.txt rename to test/integration/casl2/cmd_adda1/0.txt diff --git a/test/integration/casl2/adda1/Makefile b/test/integration/casl2/cmd_adda1/Makefile similarity index 100% rename from test/integration/casl2/adda1/Makefile rename to test/integration/casl2/cmd_adda1/Makefile diff --git a/test/integration/casl2/adda_overflow/0.txt b/test/integration/casl2/cmd_adda_overflow/0.txt similarity index 100% rename from test/integration/casl2/adda_overflow/0.txt rename to test/integration/casl2/cmd_adda_overflow/0.txt diff --git a/test/integration/casl2/adda_overflow/Makefile b/test/integration/casl2/cmd_adda_overflow/Makefile similarity index 100% rename from test/integration/casl2/adda_overflow/Makefile rename to test/integration/casl2/cmd_adda_overflow/Makefile diff --git a/test/integration/casl2/addl/0.txt b/test/integration/casl2/cmd_addl/0.txt similarity index 100% rename from test/integration/casl2/addl/0.txt rename to test/integration/casl2/cmd_addl/0.txt diff --git a/test/integration/casl2/addl/Makefile b/test/integration/casl2/cmd_addl/Makefile similarity index 100% rename from test/integration/casl2/addl/Makefile rename to test/integration/casl2/cmd_addl/Makefile diff --git a/test/integration/casl2/addl_overflow/0.txt b/test/integration/casl2/cmd_addl_overflow/0.txt similarity index 100% rename from test/integration/casl2/addl_overflow/0.txt rename to test/integration/casl2/cmd_addl_overflow/0.txt diff --git a/test/integration/casl2/addl_overflow/Makefile b/test/integration/casl2/cmd_addl_overflow/Makefile similarity index 100% rename from test/integration/casl2/addl_overflow/Makefile rename to test/integration/casl2/cmd_addl_overflow/Makefile diff --git a/test/integration/casl2/and0/0.txt b/test/integration/casl2/cmd_and0/0.txt similarity index 100% rename from test/integration/casl2/and0/0.txt rename to test/integration/casl2/cmd_and0/0.txt diff --git a/test/integration/casl2/and0/Makefile b/test/integration/casl2/cmd_and0/Makefile similarity index 100% rename from test/integration/casl2/and0/Makefile rename to test/integration/casl2/cmd_and0/Makefile diff --git a/test/integration/casl2/and1/0.txt b/test/integration/casl2/cmd_and1/0.txt similarity index 100% rename from test/integration/casl2/and1/0.txt rename to test/integration/casl2/cmd_and1/0.txt diff --git a/test/integration/casl2/and1/Makefile b/test/integration/casl2/cmd_and1/Makefile similarity index 100% rename from test/integration/casl2/and1/Makefile rename to test/integration/casl2/cmd_and1/Makefile diff --git a/test/integration/casl2/and2/0.txt b/test/integration/casl2/cmd_and2/0.txt similarity index 100% rename from test/integration/casl2/and2/0.txt rename to test/integration/casl2/cmd_and2/0.txt diff --git a/test/integration/casl2/and2/Makefile b/test/integration/casl2/cmd_and2/Makefile similarity index 100% rename from test/integration/casl2/and2/Makefile rename to test/integration/casl2/cmd_and2/Makefile diff --git a/test/integration/casl2/and3/0.txt b/test/integration/casl2/cmd_and3/0.txt similarity index 100% rename from test/integration/casl2/and3/0.txt rename to test/integration/casl2/cmd_and3/0.txt diff --git a/test/integration/casl2/and3/Makefile b/test/integration/casl2/cmd_and3/Makefile similarity index 100% rename from test/integration/casl2/and3/Makefile rename to test/integration/casl2/cmd_and3/Makefile diff --git a/test/integration/casl2/call0/0.txt b/test/integration/casl2/cmd_call0/0.txt similarity index 100% rename from test/integration/casl2/call0/0.txt rename to test/integration/casl2/cmd_call0/0.txt diff --git a/test/integration/casl2/call0/Makefile b/test/integration/casl2/cmd_call0/Makefile similarity index 100% rename from test/integration/casl2/call0/Makefile rename to test/integration/casl2/cmd_call0/Makefile diff --git a/test/integration/casl2/call1/0.txt b/test/integration/casl2/cmd_call1/0.txt similarity index 100% rename from test/integration/casl2/call1/0.txt rename to test/integration/casl2/cmd_call1/0.txt diff --git a/test/integration/casl2/call1/Makefile b/test/integration/casl2/cmd_call1/Makefile similarity index 100% rename from test/integration/casl2/call1/Makefile rename to test/integration/casl2/cmd_call1/Makefile diff --git a/test/integration/casl2/call2/0.txt b/test/integration/casl2/cmd_call2/0.txt similarity index 100% rename from test/integration/casl2/call2/0.txt rename to test/integration/casl2/cmd_call2/0.txt diff --git a/test/integration/casl2/call2/Makefile b/test/integration/casl2/cmd_call2/Makefile similarity index 100% rename from test/integration/casl2/call2/Makefile rename to test/integration/casl2/cmd_call2/Makefile diff --git a/test/integration/casl2/cpa1/0.txt b/test/integration/casl2/cmd_cpa1/0.txt similarity index 100% rename from test/integration/casl2/cpa1/0.txt rename to test/integration/casl2/cmd_cpa1/0.txt diff --git a/test/integration/casl2/cpa1/Makefile b/test/integration/casl2/cmd_cpa1/Makefile similarity index 100% rename from test/integration/casl2/cpa1/Makefile rename to test/integration/casl2/cmd_cpa1/Makefile diff --git a/test/integration/casl2/dc_overflow/0.txt b/test/integration/casl2/cmd_dc_overflow/0.txt similarity index 100% rename from test/integration/casl2/dc_overflow/0.txt rename to test/integration/casl2/cmd_dc_overflow/0.txt diff --git a/test/integration/casl2/dc_overflow/Makefile b/test/integration/casl2/cmd_dc_overflow/Makefile similarity index 100% rename from test/integration/casl2/dc_overflow/Makefile rename to test/integration/casl2/cmd_dc_overflow/Makefile diff --git a/test/integration/casl2/dc_spc/0.txt b/test/integration/casl2/cmd_dc_spc/0.txt similarity index 100% rename from test/integration/casl2/dc_spc/0.txt rename to test/integration/casl2/cmd_dc_spc/0.txt diff --git a/test/integration/casl2/dc_spc/Makefile b/test/integration/casl2/cmd_dc_spc/Makefile similarity index 100% rename from test/integration/casl2/dc_spc/Makefile rename to test/integration/casl2/cmd_dc_spc/Makefile diff --git a/test/integration/casl2/ds_0/0.txt b/test/integration/casl2/cmd_ds_0/0.txt similarity index 100% rename from test/integration/casl2/ds_0/0.txt rename to test/integration/casl2/cmd_ds_0/0.txt diff --git a/test/integration/casl2/ds_0/Makefile b/test/integration/casl2/cmd_ds_0/Makefile similarity index 100% rename from test/integration/casl2/ds_0/Makefile rename to test/integration/casl2/cmd_ds_0/Makefile diff --git a/test/integration/casl2/lad0/0.txt b/test/integration/casl2/cmd_lad0/0.txt similarity index 100% rename from test/integration/casl2/lad0/0.txt rename to test/integration/casl2/cmd_lad0/0.txt diff --git a/test/integration/casl2/lad0/Makefile b/test/integration/casl2/cmd_lad0/Makefile similarity index 100% rename from test/integration/casl2/lad0/Makefile rename to test/integration/casl2/cmd_lad0/Makefile diff --git a/test/integration/casl2/lad1/0.txt b/test/integration/casl2/cmd_lad1/0.txt similarity index 100% rename from test/integration/casl2/lad1/0.txt rename to test/integration/casl2/cmd_lad1/0.txt diff --git a/test/integration/casl2/lad1/Makefile b/test/integration/casl2/cmd_lad1/Makefile similarity index 100% rename from test/integration/casl2/lad1/Makefile rename to test/integration/casl2/cmd_lad1/Makefile diff --git a/test/integration/casl2/lad2/0.txt b/test/integration/casl2/cmd_lad2/0.txt similarity index 100% rename from test/integration/casl2/lad2/0.txt rename to test/integration/casl2/cmd_lad2/0.txt diff --git a/test/integration/casl2/lad2/Makefile b/test/integration/casl2/cmd_lad2/Makefile similarity index 100% rename from test/integration/casl2/lad2/Makefile rename to test/integration/casl2/cmd_lad2/Makefile diff --git a/test/integration/casl2/lad3/0.txt b/test/integration/casl2/cmd_lad3/0.txt similarity index 100% rename from test/integration/casl2/lad3/0.txt rename to test/integration/casl2/cmd_lad3/0.txt diff --git a/test/integration/casl2/lad3/Makefile b/test/integration/casl2/cmd_lad3/Makefile similarity index 100% rename from test/integration/casl2/lad3/Makefile rename to test/integration/casl2/cmd_lad3/Makefile diff --git a/test/integration/casl2/ld0/0.txt b/test/integration/casl2/cmd_ld0/0.txt similarity index 100% rename from test/integration/casl2/ld0/0.txt rename to test/integration/casl2/cmd_ld0/0.txt diff --git a/test/integration/casl2/ld0/Makefile b/test/integration/casl2/cmd_ld0/Makefile similarity index 100% rename from test/integration/casl2/ld0/Makefile rename to test/integration/casl2/cmd_ld0/Makefile diff --git a/test/integration/casl2/ld1/0.txt b/test/integration/casl2/cmd_ld1/0.txt similarity index 100% rename from test/integration/casl2/ld1/0.txt rename to test/integration/casl2/cmd_ld1/0.txt diff --git a/test/integration/casl2/ld1/Makefile b/test/integration/casl2/cmd_ld1/Makefile similarity index 100% rename from test/integration/casl2/ld1/Makefile rename to test/integration/casl2/cmd_ld1/Makefile diff --git a/test/integration/casl2/ld2/0.txt b/test/integration/casl2/cmd_ld2/0.txt similarity index 100% rename from test/integration/casl2/ld2/0.txt rename to test/integration/casl2/cmd_ld2/0.txt diff --git a/test/integration/casl2/ld2/Makefile b/test/integration/casl2/cmd_ld2/Makefile similarity index 100% rename from test/integration/casl2/ld2/Makefile rename to test/integration/casl2/cmd_ld2/Makefile diff --git a/test/integration/casl2/ld3/0.txt b/test/integration/casl2/cmd_ld3/0.txt similarity index 100% rename from test/integration/casl2/ld3/0.txt rename to test/integration/casl2/cmd_ld3/0.txt diff --git a/test/integration/casl2/ld3/Makefile b/test/integration/casl2/cmd_ld3/Makefile similarity index 100% rename from test/integration/casl2/ld3/Makefile rename to test/integration/casl2/cmd_ld3/Makefile diff --git a/test/integration/casl2/ld4/0.txt b/test/integration/casl2/cmd_ld4/0.txt similarity index 100% rename from test/integration/casl2/ld4/0.txt rename to test/integration/casl2/cmd_ld4/0.txt diff --git a/test/integration/casl2/ld4/Makefile b/test/integration/casl2/cmd_ld4/Makefile similarity index 100% rename from test/integration/casl2/ld4/Makefile rename to test/integration/casl2/cmd_ld4/Makefile diff --git a/test/integration/casl2/ld5/0.txt b/test/integration/casl2/cmd_ld5/0.txt similarity index 100% rename from test/integration/casl2/ld5/0.txt rename to test/integration/casl2/cmd_ld5/0.txt diff --git a/test/integration/casl2/ld5/Makefile b/test/integration/casl2/cmd_ld5/Makefile similarity index 100% rename from test/integration/casl2/ld5/Makefile rename to test/integration/casl2/cmd_ld5/Makefile diff --git a/test/integration/casl2/ld_loop/0.txt b/test/integration/casl2/cmd_ld_loop/0.txt similarity index 100% rename from test/integration/casl2/ld_loop/0.txt rename to test/integration/casl2/cmd_ld_loop/0.txt diff --git a/test/integration/casl2/ld_loop/Makefile b/test/integration/casl2/cmd_ld_loop/Makefile similarity index 100% rename from test/integration/casl2/ld_loop/Makefile rename to test/integration/casl2/cmd_ld_loop/Makefile diff --git a/test/integration/casl2/literal_spc/0.txt b/test/integration/casl2/cmd_literal_spc/0.txt similarity index 100% rename from test/integration/casl2/literal_spc/0.txt rename to test/integration/casl2/cmd_literal_spc/0.txt diff --git a/test/integration/casl2/literal_spc/Makefile b/test/integration/casl2/cmd_literal_spc/Makefile similarity index 100% rename from test/integration/casl2/literal_spc/Makefile rename to test/integration/casl2/cmd_literal_spc/Makefile diff --git a/test/integration/casl2/literalstr/0.txt b/test/integration/casl2/cmd_literalstr/0.txt similarity index 100% rename from test/integration/casl2/literalstr/0.txt rename to test/integration/casl2/cmd_literalstr/0.txt diff --git a/test/integration/casl2/literalstr/Makefile b/test/integration/casl2/cmd_literalstr/Makefile similarity index 100% rename from test/integration/casl2/literalstr/Makefile rename to test/integration/casl2/cmd_literalstr/Makefile diff --git a/test/integration/casl2/out0/0.txt b/test/integration/casl2/cmd_out0/0.txt similarity index 100% rename from test/integration/casl2/out0/0.txt rename to test/integration/casl2/cmd_out0/0.txt diff --git a/test/integration/casl2/out0/Makefile b/test/integration/casl2/cmd_out0/Makefile similarity index 100% rename from test/integration/casl2/out0/Makefile rename to test/integration/casl2/cmd_out0/Makefile diff --git a/test/integration/casl2/out1/0.txt b/test/integration/casl2/cmd_out1/0.txt similarity index 100% rename from test/integration/casl2/out1/0.txt rename to test/integration/casl2/cmd_out1/0.txt diff --git a/test/integration/casl2/out1/Makefile b/test/integration/casl2/cmd_out1/Makefile similarity index 100% rename from test/integration/casl2/out1/Makefile rename to test/integration/casl2/cmd_out1/Makefile diff --git a/test/integration/casl2/pushpop/0.txt b/test/integration/casl2/cmd_pushpop/0.txt similarity index 100% rename from test/integration/casl2/pushpop/0.txt rename to test/integration/casl2/cmd_pushpop/0.txt diff --git a/test/integration/casl2/pushpop/Makefile b/test/integration/casl2/cmd_pushpop/Makefile similarity index 100% rename from test/integration/casl2/pushpop/Makefile rename to test/integration/casl2/cmd_pushpop/Makefile diff --git a/test/integration/casl2/sla2/0.txt b/test/integration/casl2/cmd_sla2/0.txt similarity index 100% rename from test/integration/casl2/sla2/0.txt rename to test/integration/casl2/cmd_sla2/0.txt diff --git a/test/integration/casl2/sla2/Makefile b/test/integration/casl2/cmd_sla2/Makefile similarity index 100% rename from test/integration/casl2/sla2/Makefile rename to test/integration/casl2/cmd_sla2/Makefile diff --git a/test/integration/casl2/sra2/0.txt b/test/integration/casl2/cmd_sra2/0.txt similarity index 100% rename from test/integration/casl2/sra2/0.txt rename to test/integration/casl2/cmd_sra2/0.txt diff --git a/test/integration/casl2/sra2/Makefile b/test/integration/casl2/cmd_sra2/Makefile similarity index 100% rename from test/integration/casl2/sra2/Makefile rename to test/integration/casl2/cmd_sra2/Makefile diff --git a/test/integration/casl2/sra3/0.txt b/test/integration/casl2/cmd_sra3/0.txt similarity index 100% rename from test/integration/casl2/sra3/0.txt rename to test/integration/casl2/cmd_sra3/0.txt diff --git a/test/integration/casl2/sra3/Makefile b/test/integration/casl2/cmd_sra3/Makefile similarity index 100% rename from test/integration/casl2/sra3/Makefile rename to test/integration/casl2/cmd_sra3/Makefile diff --git a/test/integration/casl2/sra4/0.txt b/test/integration/casl2/cmd_sra4/0.txt similarity index 100% rename from test/integration/casl2/sra4/0.txt rename to test/integration/casl2/cmd_sra4/0.txt diff --git a/test/integration/casl2/sra4/Makefile b/test/integration/casl2/cmd_sra4/Makefile similarity index 100% rename from test/integration/casl2/sra4/Makefile rename to test/integration/casl2/cmd_sra4/Makefile diff --git a/test/integration/casl2/st0/0.txt b/test/integration/casl2/cmd_st0/0.txt similarity index 100% rename from test/integration/casl2/st0/0.txt rename to test/integration/casl2/cmd_st0/0.txt diff --git a/test/integration/casl2/st0/Makefile b/test/integration/casl2/cmd_st0/Makefile similarity index 100% rename from test/integration/casl2/st0/Makefile rename to test/integration/casl2/cmd_st0/Makefile diff --git a/test/integration/casl2/st1/0.txt b/test/integration/casl2/cmd_st1/0.txt similarity index 100% rename from test/integration/casl2/st1/0.txt rename to test/integration/casl2/cmd_st1/0.txt diff --git a/test/integration/casl2/st1/Makefile b/test/integration/casl2/cmd_st1/Makefile similarity index 100% rename from test/integration/casl2/st1/Makefile rename to test/integration/casl2/cmd_st1/Makefile diff --git a/test/integration/casl2/svc2/0.txt b/test/integration/casl2/cmd_svc2/0.txt similarity index 100% rename from test/integration/casl2/svc2/0.txt rename to test/integration/casl2/cmd_svc2/0.txt diff --git a/test/integration/casl2/svc2/Makefile b/test/integration/casl2/cmd_svc2/Makefile similarity index 100% rename from test/integration/casl2/svc2/Makefile rename to test/integration/casl2/cmd_svc2/Makefile diff --git a/test/integration/casl2/xor0/0.txt b/test/integration/casl2/cmd_xor0/0.txt similarity index 100% rename from test/integration/casl2/xor0/0.txt rename to test/integration/casl2/cmd_xor0/0.txt diff --git a/test/integration/casl2/xor0/Makefile b/test/integration/casl2/cmd_xor0/Makefile similarity index 100% rename from test/integration/casl2/xor0/Makefile rename to test/integration/casl2/cmd_xor0/Makefile diff --git a/test/integration/casl2/xor1/0.txt b/test/integration/casl2/cmd_xor1/0.txt similarity index 100% rename from test/integration/casl2/xor1/0.txt rename to test/integration/casl2/cmd_xor1/0.txt diff --git a/test/integration/casl2/xor1/Makefile b/test/integration/casl2/cmd_xor1/Makefile similarity index 100% rename from test/integration/casl2/xor1/Makefile rename to test/integration/casl2/cmd_xor1/Makefile diff --git a/test/integration/casl2/xor3/0.txt b/test/integration/casl2/cmd_xor3/0.txt similarity index 100% rename from test/integration/casl2/xor3/0.txt rename to test/integration/casl2/cmd_xor3/0.txt diff --git a/test/integration/casl2/xor3/Makefile b/test/integration/casl2/cmd_xor3/Makefile similarity index 100% rename from test/integration/casl2/xor3/Makefile rename to test/integration/casl2/cmd_xor3/Makefile diff --git a/test/integration/casl2/xor4/0.txt b/test/integration/casl2/cmd_xor4/0.txt similarity index 100% rename from test/integration/casl2/xor4/0.txt rename to test/integration/casl2/cmd_xor4/0.txt diff --git a/test/integration/casl2/xor4/Makefile b/test/integration/casl2/cmd_xor4/Makefile similarity index 100% rename from test/integration/casl2/xor4/Makefile rename to test/integration/casl2/cmd_xor4/Makefile diff --git a/test/integration/casl2/xor5/0.txt b/test/integration/casl2/cmd_xor5/0.txt similarity index 100% rename from test/integration/casl2/xor5/0.txt rename to test/integration/casl2/cmd_xor5/0.txt diff --git a/test/integration/casl2/xor5/Makefile b/test/integration/casl2/cmd_xor5/Makefile similarity index 100% rename from test/integration/casl2/xor5/Makefile rename to test/integration/casl2/cmd_xor5/Makefile diff --git a/test/integration/casl2/hello/0.txt b/test/integration/casl2/hello/0.txt index a6e674e..865a5fe 100644 --- a/test/integration/casl2/hello/0.txt +++ b/test/integration/casl2/hello/0.txt @@ -1,21 +1,21 @@ ../../../../casl2 -sla ../../../../as/hello.casl Assemble ../../../../as/hello.casl (0) -../../../../as/hello.casl: 1:MAIN START -../../../../as/hello.casl: 2: OUT BUF,LEN -../../../../as/hello.casl: 3: RET -../../../../as/hello.casl: 4:BUF DC 'Hello, World!' -../../../../as/hello.casl: 5:LEN DC 13 -../../../../as/hello.casl: 6: END +../../../../as/hello.casl: 1:MAIN START +../../../../as/hello.casl: 2: OUT OBUF,LEN +../../../../as/hello.casl: 3: RET +../../../../as/hello.casl: 4:OBUF DC 'Hello, World!' +../../../../as/hello.casl: 5:LEN DC 13 +../../../../as/hello.casl: 6: END Label:::: MAIN.LEN ---> #0020 MAIN ---> #0000 -MAIN.BUF ---> #0013 +MAIN.OBUF ---> #0013 Assemble ../../../../as/hello.casl (1) -../../../../as/hello.casl: 1:MAIN START -../../../../as/hello.casl: 2: OUT BUF,LEN +../../../../as/hello.casl: 1:MAIN START +../../../../as/hello.casl: 2: OUT OBUF,LEN #0000 #7001 #0001 #0000 #0002 #7002 @@ -35,9 +35,9 @@ Assemble ../../../../as/hello.casl (1) #000F #0002 #0010 #7120 #0011 #7110 -../../../../as/hello.casl: 3: RET +../../../../as/hello.casl: 3: RET #0012 #8100 -../../../../as/hello.casl: 4:BUF DC 'Hello, World!' +../../../../as/hello.casl: 4:OBUF DC 'Hello, World!' #0013 #0048 #0014 #0065 #0015 #006C @@ -51,7 +51,7 @@ Assemble ../../../../as/hello.casl (1) #001D #006C #001E #0064 #001F #0021 -../../../../as/hello.casl: 5:LEN DC 13 +../../../../as/hello.casl: 5:LEN DC 13 #0020 #000D -../../../../as/hello.casl: 6: END +../../../../as/hello.casl: 6: END Hello, World! diff --git a/test/integration/casl2/svc2_out/0.txt b/test/integration/casl2/misc_out_hello/0.txt similarity index 87% rename from test/integration/casl2/svc2_out/0.txt rename to test/integration/casl2/misc_out_hello/0.txt index 3957e4f..9feb20a 100644 --- a/test/integration/casl2/svc2_out/0.txt +++ b/test/integration/casl2/misc_out_hello/0.txt @@ -1,70 +1,77 @@ -../../../../casl2 -slatd ../../../../as/CMD/svc2_out.casl +../../../../casl2 -slatd ../../../../as/MISC/out/hello1.casl -Assemble ../../../../as/CMD/svc2_out.casl (0) -../../../../as/CMD/svc2_out.casl: 1:;;; 「OUT」と同等のプログラム -../../../../as/CMD/svc2_out.casl: 2:OTEST START -../../../../as/CMD/svc2_out.casl: 3: PUSH 0,GR1 -../../../../as/CMD/svc2_out.casl: 4: PUSH 0,GR2 -../../../../as/CMD/svc2_out.casl: 5: LAD GR1,OBUF -../../../../as/CMD/svc2_out.casl: 6: LD GR2,LEN -../../../../as/CMD/svc2_out.casl: 7: SVC 2 -../../../../as/CMD/svc2_out.casl: 8: LAD GR1,=#A -../../../../as/CMD/svc2_out.casl: 9: LAD GR2,1 -../../../../as/CMD/svc2_out.casl: 10: SVC 2 -../../../../as/CMD/svc2_out.casl: 11: POP GR2 -../../../../as/CMD/svc2_out.casl: 12: POP GR1 -../../../../as/CMD/svc2_out.casl: 13: RET -../../../../as/CMD/svc2_out.casl: 14:OBUF DC 'abcd' -../../../../as/CMD/svc2_out.casl: 15:LEN DC 4 -../../../../as/CMD/svc2_out.casl: 16: END +Assemble ../../../../as/MISC/out/hello1.casl (0) +../../../../as/MISC/out/hello1.casl: 1:MAIN START +../../../../as/MISC/out/hello1.casl: 2: PUSH 0,GR1 +../../../../as/MISC/out/hello1.casl: 3: PUSH 0,GR2 +../../../../as/MISC/out/hello1.casl: 4: LAD GR1,OBUF +../../../../as/MISC/out/hello1.casl: 5: LD GR2,LEN +../../../../as/MISC/out/hello1.casl: 6: SVC 2 +../../../../as/MISC/out/hello1.casl: 7: LAD GR1,=#A +../../../../as/MISC/out/hello1.casl: 8: LAD GR2,1 +../../../../as/MISC/out/hello1.casl: 9: SVC 2 +../../../../as/MISC/out/hello1.casl: 10: POP GR2 +../../../../as/MISC/out/hello1.casl: 11: POP GR1 +../../../../as/MISC/out/hello1.casl: 12: RET +../../../../as/MISC/out/hello1.casl: 13:OBUF DC 'Hello, World!' +../../../../as/MISC/out/hello1.casl: 14:LEN DC 13 +../../../../as/MISC/out/hello1.casl: 15: END Label:::: -OTEST ---> #0000 -OTEST.OBUF ---> #0013 -OTEST.LEN ---> #0017 +MAIN.LEN ---> #0020 +MAIN ---> #0000 +MAIN.OBUF ---> #0013 -Assemble ../../../../as/CMD/svc2_out.casl (1) -../../../../as/CMD/svc2_out.casl: 1:;;; 「OUT」と同等のプログラム -../../../../as/CMD/svc2_out.casl: 2:OTEST START -../../../../as/CMD/svc2_out.casl: 3: PUSH 0,GR1 +Assemble ../../../../as/MISC/out/hello1.casl (1) +../../../../as/MISC/out/hello1.casl: 1:MAIN START +../../../../as/MISC/out/hello1.casl: 2: PUSH 0,GR1 #0000 #7001 #0001 #0000 -../../../../as/CMD/svc2_out.casl: 4: PUSH 0,GR2 +../../../../as/MISC/out/hello1.casl: 3: PUSH 0,GR2 #0002 #7002 #0003 #0000 -../../../../as/CMD/svc2_out.casl: 5: LAD GR1,OBUF +../../../../as/MISC/out/hello1.casl: 4: LAD GR1,OBUF #0004 #1210 #0005 #0013 -../../../../as/CMD/svc2_out.casl: 6: LD GR2,LEN +../../../../as/MISC/out/hello1.casl: 5: LD GR2,LEN #0006 #1020 - #0007 #0017 -../../../../as/CMD/svc2_out.casl: 7: SVC 2 + #0007 #0020 +../../../../as/MISC/out/hello1.casl: 6: SVC 2 #0008 #F000 #0009 #0002 -../../../../as/CMD/svc2_out.casl: 8: LAD GR1,=#A - #0018 #000A +../../../../as/MISC/out/hello1.casl: 7: LAD GR1,=#A + #0021 #000A #000A #1210 - #000B #0018 -../../../../as/CMD/svc2_out.casl: 9: LAD GR2,1 + #000B #0021 +../../../../as/MISC/out/hello1.casl: 8: LAD GR2,1 #000C #1220 #000D #0001 -../../../../as/CMD/svc2_out.casl: 10: SVC 2 +../../../../as/MISC/out/hello1.casl: 9: SVC 2 #000E #F000 #000F #0002 -../../../../as/CMD/svc2_out.casl: 11: POP GR2 +../../../../as/MISC/out/hello1.casl: 10: POP GR2 #0010 #7120 -../../../../as/CMD/svc2_out.casl: 12: POP GR1 +../../../../as/MISC/out/hello1.casl: 11: POP GR1 #0011 #7110 -../../../../as/CMD/svc2_out.casl: 13: RET +../../../../as/MISC/out/hello1.casl: 12: RET #0012 #8100 -../../../../as/CMD/svc2_out.casl: 14:OBUF DC 'abcd' - #0013 #0061 - #0014 #0062 - #0015 #0063 - #0016 #0064 -../../../../as/CMD/svc2_out.casl: 15:LEN DC 4 - #0017 #0004 -../../../../as/CMD/svc2_out.casl: 16: END +../../../../as/MISC/out/hello1.casl: 13:OBUF DC 'Hello, World!' + #0013 #0048 + #0014 #0065 + #0015 #006C + #0016 #006C + #0017 #006F + #0018 #002C + #0019 #0020 + #001A #0057 + #001B #006F + #001C #0072 + #001D #006C + #001E #0064 + #001F #0021 +../../../../as/MISC/out/hello1.casl: 14:LEN DC 13 + #0020 #000D +../../../../as/MISC/out/hello1.casl: 15: END Executing machine codes #0000: Register:::: @@ -81,9 +88,9 @@ Executing machine codes #0000: FR (OF SF ZF): 000 #0000: Memory:::: #0000: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F -#0000: 0000: 7001 0000 7002 0000 1210 0013 1020 0017 F000 0002 1210 0018 1220 0001 F000 0002 -#0000: 0010: 7120 7110 8100 0061 0062 0063 0064 0004 000A 0000 0000 0000 0000 0000 0000 0000 -#0000: 0020: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 +#0000: 0000: 7001 0000 7002 0000 1210 0013 1020 0020 F000 0002 1210 0021 1220 0001 F000 0002 +#0000: 0010: 7120 7110 8100 0048 0065 006C 006C 006F 002C 0020 0057 006F 0072 006C 0064 0021 +#0000: 0020: 000D 000A 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 #0000: 0030: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 #0000: 0040: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 #0000: 0050: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 @@ -128,9 +135,9 @@ Executing machine codes #0002: FR (OF SF ZF): 000 #0002: Memory:::: #0002: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F -#0002: 0000: 7001 0000 7002 0000 1210 0013 1020 0017 F000 0002 1210 0018 1220 0001 F000 0002 -#0002: 0010: 7120 7110 8100 0061 0062 0063 0064 0004 000A 0000 0000 0000 0000 0000 0000 0000 -#0002: 0020: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 +#0002: 0000: 7001 0000 7002 0000 1210 0013 1020 0020 F000 0002 1210 0021 1220 0001 F000 0002 +#0002: 0010: 7120 7110 8100 0048 0065 006C 006C 006F 002C 0020 0057 006F 0072 006C 0064 0021 +#0002: 0020: 000D 000A 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 #0002: 0030: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 #0002: 0040: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 #0002: 0050: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 @@ -175,9 +182,9 @@ Executing machine codes #0004: FR (OF SF ZF): 000 #0004: Memory:::: #0004: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F -#0004: 0000: 7001 0000 7002 0000 1210 0013 1020 0017 F000 0002 1210 0018 1220 0001 F000 0002 -#0004: 0010: 7120 7110 8100 0061 0062 0063 0064 0004 000A 0000 0000 0000 0000 0000 0000 0000 -#0004: 0020: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 +#0004: 0000: 7001 0000 7002 0000 1210 0013 1020 0020 F000 0002 1210 0021 1220 0001 F000 0002 +#0004: 0010: 7120 7110 8100 0048 0065 006C 006C 006F 002C 0020 0057 006F 0072 006C 0064 0021 +#0004: 0020: 000D 000A 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 #0004: 0030: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 #0004: 0040: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 #0004: 0050: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 @@ -222,9 +229,9 @@ Executing machine codes #0006: FR (OF SF ZF): 000 #0006: Memory:::: #0006: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F -#0006: 0000: 7001 0000 7002 0000 1210 0013 1020 0017 F000 0002 1210 0018 1220 0001 F000 0002 -#0006: 0010: 7120 7110 8100 0061 0062 0063 0064 0004 000A 0000 0000 0000 0000 0000 0000 0000 -#0006: 0020: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 +#0006: 0000: 7001 0000 7002 0000 1210 0013 1020 0020 F000 0002 1210 0021 1220 0001 F000 0002 +#0006: 0010: 7120 7110 8100 0048 0065 006C 006C 006F 002C 0020 0057 006F 0072 006C 0064 0021 +#0006: 0020: 000D 000A 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 #0006: 0030: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 #0006: 0040: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 #0006: 0050: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 @@ -258,7 +265,7 @@ Executing machine codes #0008: Register:::: #0008: GR0: 0 = #0000 = 0000000000000000 #0008: GR1: 19 = #0013 = 0000000000010011 -#0008: GR2: 4 = #0004 = 0000000000000100 +#0008: GR2: 13 = #000D = 0000000000001101 #0008: GR3: 0 = #0000 = 0000000000000000 #0008: GR4: 0 = #0000 = 0000000000000000 #0008: GR5: 0 = #0000 = 0000000000000000 @@ -269,9 +276,9 @@ Executing machine codes #0008: FR (OF SF ZF): 000 #0008: Memory:::: #0008: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F -#0008: 0000: 7001 0000 7002 0000 1210 0013 1020 0017 F000 0002 1210 0018 1220 0001 F000 0002 -#0008: 0010: 7120 7110 8100 0061 0062 0063 0064 0004 000A 0000 0000 0000 0000 0000 0000 0000 -#0008: 0020: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 +#0008: 0000: 7001 0000 7002 0000 1210 0013 1020 0020 F000 0002 1210 0021 1220 0001 F000 0002 +#0008: 0010: 7120 7110 8100 0048 0065 006C 006C 006F 002C 0020 0057 006F 0072 006C 0064 0021 +#0008: 0020: 000D 000A 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 #0008: 0030: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 #0008: 0040: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 #0008: 0050: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 @@ -302,10 +309,10 @@ Executing machine codes #0008: 01E0: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 #0008: 01F0: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 -abcd#000A: Register:::: +Hello, World!#000A: Register:::: #000A: GR0: 0 = #0000 = 0000000000000000 #000A: GR1: 19 = #0013 = 0000000000010011 -#000A: GR2: 4 = #0004 = 0000000000000100 +#000A: GR2: 13 = #000D = 0000000000001101 #000A: GR3: 0 = #0000 = 0000000000000000 #000A: GR4: 0 = #0000 = 0000000000000000 #000A: GR5: 0 = #0000 = 0000000000000000 @@ -316,9 +323,9 @@ abcd#000A: Register:::: #000A: FR (OF SF ZF): 000 #000A: Memory:::: #000A: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F -#000A: 0000: 7001 0000 7002 0000 1210 0013 1020 0017 F000 0002 1210 0018 1220 0001 F000 0002 -#000A: 0010: 7120 7110 8100 0061 0062 0063 0064 0004 000A 0000 0000 0000 0000 0000 0000 0000 -#000A: 0020: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 +#000A: 0000: 7001 0000 7002 0000 1210 0013 1020 0020 F000 0002 1210 0021 1220 0001 F000 0002 +#000A: 0010: 7120 7110 8100 0048 0065 006C 006C 006F 002C 0020 0057 006F 0072 006C 0064 0021 +#000A: 0020: 000D 000A 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 #000A: 0030: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 #000A: 0040: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 #000A: 0050: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 @@ -351,8 +358,8 @@ abcd#000A: Register:::: #000C: Register:::: #000C: GR0: 0 = #0000 = 0000000000000000 -#000C: GR1: 24 = #0018 = 0000000000011000 -#000C: GR2: 4 = #0004 = 0000000000000100 +#000C: GR1: 33 = #0021 = 0000000000100001 = '!' +#000C: GR2: 13 = #000D = 0000000000001101 #000C: GR3: 0 = #0000 = 0000000000000000 #000C: GR4: 0 = #0000 = 0000000000000000 #000C: GR5: 0 = #0000 = 0000000000000000 @@ -363,9 +370,9 @@ abcd#000A: Register:::: #000C: FR (OF SF ZF): 000 #000C: Memory:::: #000C: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F -#000C: 0000: 7001 0000 7002 0000 1210 0013 1020 0017 F000 0002 1210 0018 1220 0001 F000 0002 -#000C: 0010: 7120 7110 8100 0061 0062 0063 0064 0004 000A 0000 0000 0000 0000 0000 0000 0000 -#000C: 0020: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 +#000C: 0000: 7001 0000 7002 0000 1210 0013 1020 0020 F000 0002 1210 0021 1220 0001 F000 0002 +#000C: 0010: 7120 7110 8100 0048 0065 006C 006C 006F 002C 0020 0057 006F 0072 006C 0064 0021 +#000C: 0020: 000D 000A 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 #000C: 0030: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 #000C: 0040: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 #000C: 0050: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 @@ -398,7 +405,7 @@ abcd#000A: Register:::: #000E: Register:::: #000E: GR0: 0 = #0000 = 0000000000000000 -#000E: GR1: 24 = #0018 = 0000000000011000 +#000E: GR1: 33 = #0021 = 0000000000100001 = '!' #000E: GR2: 1 = #0001 = 0000000000000001 #000E: GR3: 0 = #0000 = 0000000000000000 #000E: GR4: 0 = #0000 = 0000000000000000 @@ -410,9 +417,9 @@ abcd#000A: Register:::: #000E: FR (OF SF ZF): 000 #000E: Memory:::: #000E: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F -#000E: 0000: 7001 0000 7002 0000 1210 0013 1020 0017 F000 0002 1210 0018 1220 0001 F000 0002 -#000E: 0010: 7120 7110 8100 0061 0062 0063 0064 0004 000A 0000 0000 0000 0000 0000 0000 0000 -#000E: 0020: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 +#000E: 0000: 7001 0000 7002 0000 1210 0013 1020 0020 F000 0002 1210 0021 1220 0001 F000 0002 +#000E: 0010: 7120 7110 8100 0048 0065 006C 006C 006F 002C 0020 0057 006F 0072 006C 0064 0021 +#000E: 0020: 000D 000A 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 #000E: 0030: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 #000E: 0040: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 #000E: 0050: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 @@ -446,7 +453,7 @@ abcd#000A: Register:::: #0010: Register:::: #0010: GR0: 0 = #0000 = 0000000000000000 -#0010: GR1: 24 = #0018 = 0000000000011000 +#0010: GR1: 33 = #0021 = 0000000000100001 = '!' #0010: GR2: 1 = #0001 = 0000000000000001 #0010: GR3: 0 = #0000 = 0000000000000000 #0010: GR4: 0 = #0000 = 0000000000000000 @@ -458,9 +465,9 @@ abcd#000A: Register:::: #0010: FR (OF SF ZF): 000 #0010: Memory:::: #0010: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F -#0010: 0000: 7001 0000 7002 0000 1210 0013 1020 0017 F000 0002 1210 0018 1220 0001 F000 0002 -#0010: 0010: 7120 7110 8100 0061 0062 0063 0064 0004 000A 0000 0000 0000 0000 0000 0000 0000 -#0010: 0020: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 +#0010: 0000: 7001 0000 7002 0000 1210 0013 1020 0020 F000 0002 1210 0021 1220 0001 F000 0002 +#0010: 0010: 7120 7110 8100 0048 0065 006C 006C 006F 002C 0020 0057 006F 0072 006C 0064 0021 +#0010: 0020: 000D 000A 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 #0010: 0030: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 #0010: 0040: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 #0010: 0050: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 @@ -493,7 +500,7 @@ abcd#000A: Register:::: #0011: Register:::: #0011: GR0: 0 = #0000 = 0000000000000000 -#0011: GR1: 24 = #0018 = 0000000000011000 +#0011: GR1: 33 = #0021 = 0000000000100001 = '!' #0011: GR2: 0 = #0000 = 0000000000000000 #0011: GR3: 0 = #0000 = 0000000000000000 #0011: GR4: 0 = #0000 = 0000000000000000 @@ -505,9 +512,9 @@ abcd#000A: Register:::: #0011: FR (OF SF ZF): 000 #0011: Memory:::: #0011: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F -#0011: 0000: 7001 0000 7002 0000 1210 0013 1020 0017 F000 0002 1210 0018 1220 0001 F000 0002 -#0011: 0010: 7120 7110 8100 0061 0062 0063 0064 0004 000A 0000 0000 0000 0000 0000 0000 0000 -#0011: 0020: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 +#0011: 0000: 7001 0000 7002 0000 1210 0013 1020 0020 F000 0002 1210 0021 1220 0001 F000 0002 +#0011: 0010: 7120 7110 8100 0048 0065 006C 006C 006F 002C 0020 0057 006F 0072 006C 0064 0021 +#0011: 0020: 000D 000A 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 #0011: 0030: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 #0011: 0040: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 #0011: 0050: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 @@ -552,9 +559,9 @@ abcd#000A: Register:::: #0012: FR (OF SF ZF): 000 #0012: Memory:::: #0012: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F -#0012: 0000: 7001 0000 7002 0000 1210 0013 1020 0017 F000 0002 1210 0018 1220 0001 F000 0002 -#0012: 0010: 7120 7110 8100 0061 0062 0063 0064 0004 000A 0000 0000 0000 0000 0000 0000 0000 -#0012: 0020: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 +#0012: 0000: 7001 0000 7002 0000 1210 0013 1020 0020 F000 0002 1210 0021 1220 0001 F000 0002 +#0012: 0010: 7120 7110 8100 0048 0065 006C 006C 006F 002C 0020 0057 006F 0072 006C 0064 0021 +#0012: 0020: 000D 000A 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 #0012: 0030: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 #0012: 0040: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 #0012: 0050: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 diff --git a/test/integration/casl2/misc_out_hello/Makefile b/test/integration/casl2/misc_out_hello/Makefile new file mode 100644 index 0000000..ea9a465 --- /dev/null +++ b/test/integration/casl2/misc_out_hello/Makefile @@ -0,0 +1,6 @@ +include ../CMD.mk # YACASL2DIR, CASL2 +CASL2FLAG = -slatd +ASDIR = $(YACASL2DIR)/as/MISC/out +ASFILE = $(ASDIR)/hello1.casl +CMD = $(CASL2) $(CASL2FLAG) $(ASFILE) +include ../TEST.mk diff --git a/test/integration/casl2/svc2_out/Makefile b/test/integration/casl2/svc2_out/Makefile deleted file mode 100644 index 7a21994..0000000 --- a/test/integration/casl2/svc2_out/Makefile +++ /dev/null @@ -1,6 +0,0 @@ -include ../CMD.mk # YACASL2DIR, CASL2 -CASL2FLAG = -slatd -ASDIR = $(YACASL2DIR)/as/CMD -ASFILE = $(ASDIR)/svc2_out.casl -CMD = $(CASL2) $(CASL2FLAG) $(ASFILE) $(IN) -include ../TEST.mk diff --git a/test/integration/comet2/abs_call/a.o b/test/integration/comet2/abs_call/a.o index 2a88aaf96cd8c83a63d69820c16f7cf602193259..b41f9770f7c1d5b31242c56b053c60d8e4eced1c 100644 GIT binary patch delta 160 zcmaFC_JwVNB)?EC1H%U<1_7Z}j0!@l87FFJ@(ZnDgb1w#3aw+Dm;h9@9xAi}D6|nM zBqr3spdhpfD!Lgcx`lD#1|;LQ0)@6QPP}o3ar@+@jAr~oLQu6kfD$_yH@{-cW0YZJ S;9_6|LJ-LWCP6G+Fbe=?nj&5R delta 148 zcmeyu_JVDKB)>o{1H%U<1_7Z}j0!@G3==gp`2|)pLWI^pgc5+N)6JFd_I8!28Itz3<5$$3<^Sw6W3Y-0AF7Qz5oCK diff --git a/test/integration/comet2/count_call/a.o b/test/integration/comet2/count_call/a.o index a29205e29c94307b2b17a4049264e642865b763b..f5051208fb58ddbc514b2a71bcb1f63de2df2f84 100644 GIT binary patch delta 45 zcmeBT?O~npkzZ&o1H%U<1_2=_Mg<{f#!ZY>j6yDq0t&8-42`-BTnvm1|Nk>G008$y B3E%(# delta 43 zcmeBS?P8tqkzZgg1H%U<1_2=_Mg<{8hE0rBi~`P#0tzmS42`-BTnzvJGco`G;P?ra diff --git a/test/integration/comet2/dc_spc/a.o b/test/integration/comet2/dc_spc/a.o index 81edc79349d8be7a318348a077f04cf3940d9454..9f3f1a1efe607aebc8aa52156feb4ec5ed0085b4 100644 GIT binary patch literal 46 scmZQ9U|?VZVgVsx1_dDz28ItzK(;85Ee2*Q6bckFG%7GKGH?Mg0DzqZfdBvi literal 44 tcmZQ9U|?VZVgVsx1_c2T28ItzK(;7@f)FE^txzaX$k3?3z{tSG004921!({P diff --git a/test/integration/comet2/divl0_call/a.o b/test/integration/comet2/divl0_call/a.o index 89984840c9aee066a585962948200410e619f73c..0a40dc85ea821170cbbb07c45cb27770ba2740a3 100644 GIT binary patch delta 124 zcmX@ZdWCg@B)?D<1H%U<1_7ZYMg^f{#)%r<)^MQ|pin9!NLry#pioJOk%1vaih;3! xfq@B#1%#>@6ok5<+S7n)(-}9elV#)=;sWat5Xu0GWin2_#rTGgk%5Z=fdL1v7Ayb& delta 116 zcmcb@dWLm^B)>ov1H%U<1_7ZYMg<{8hKU;9)^MR@unF+z+?1&d9-#rTGeiva`y{d^R9 diff --git a/test/integration/comet2/divl1_call/a.o b/test/integration/comet2/divl1_call/a.o index 72c2f648f7221bfd0ecfc9f01d0e1951c0dc82b7..3086e52bd28499e3f8b352437342736ff0bb1656 100644 GIT binary patch delta 124 zcmbQmwuo(lB)?D<1H%U<1_7Z?Mg^fR#)%r<)^MS2pimDZNLry#pioJOk%1vaih;3! wfq@B#1%#>@fLfs1dx2{E7&orVX5<$#1nUtH>IaHVV4SSM^oEa-fr|lw0V`V;#sB~S delta 116 zcmZ3)Hj8b7B)>ov1H%U<1_7Z?Mg<{8hKU;9)^MRNunBW`2P>28Itz3<5%uj0!@G3>yy>F#-T$r3RV+ diff --git a/test/integration/comet2/floatedit/a.o b/test/integration/comet2/floatedit/a.o index 2fa64320a81c29d11d2023307f9436660692b9e4..729f4bd659d28377ad0984f67894b2710bb2979a 100644 GIT binary patch delta 53 zcmZ3$x`cItCBM)r28Itz3<5%aj0!^jj1xUJ^9%VfLWBZcF#rG%JPBn0 diff --git a/test/integration/comet2/hanoi/a.o b/test/integration/comet2/hanoi/a.o index eef0eb6b0c3535b39d03f32c7bb73e453123e3e2..c41baca7e5304730620c69b308d904ac238e044a 100644 GIT binary patch delta 27 icmdnRxQB5fG delta 24 fcmdnPxQlT@C7*y71H%U<1_7ZM1_dF;iS5P!Q9}jT diff --git a/test/integration/comet2/hello/a.o b/test/integration/comet2/hello/a.o index 39f258b2f581fe72694aed0c03038e1944e46f89..ada8b013ef286b72a047992112a205ccf6aebd78 100644 GIT binary patch delta 36 ncmZ>9lV&VnU|<4b0U==q1tA3nh7U|Ywjz+NG*McUiID*SRy+i8 delta 33 lcmZ>Bk!CDlU|<4b0U==q1px&Hh7U|YwjzUq5aUE?O#nzn1WNz_ diff --git a/test/integration/comet2/iotest/a.o b/test/integration/comet2/iotest/a.o index 982f352c178aeb6b3543f2c8fc0d3edd1092a92b..6426b88696454a1ee52f58da61f085ff71e56fab 100644 GIT binary patch delta 125 zcmbQiyntDnv4DYr35W%Rq8Su~@);ODFag;ofb5eK{YwB*DP&fr&vtNQyy0NE*ymC=@7UXk=huWKdw>0+IlRP6dqs delta 38 qcmcC8n;@zvAi==!fr&vtNQyy0h!MVgLYms0D5S diff --git a/test/integration/comet2/minim_call/a.o b/test/integration/comet2/minim_call/a.o index 8faf7847195a059892b01e4b753d66dcd3143183..e5e473ce6fe97913621a378be163781b4b1a3b86 100644 GIT binary patch delta 47 zcmbQox`1^9DI84{1_P;bs4xA{{LrW007m^ B2`~Tv diff --git a/test/integration/comet2/svc2_out/0.txt b/test/integration/comet2/misc_out_hello1/0.txt similarity index 63% rename from test/integration/comet2/svc2_out/0.txt rename to test/integration/comet2/misc_out_hello1/0.txt index 33b36a3..dc0423c 100644 --- a/test/integration/comet2/svc2_out/0.txt +++ b/test/integration/comet2/misc_out_hello1/0.txt @@ -1,2 +1,2 @@ ../../../../comet2 a.o -abcd +Hello, World! \ No newline at end of file diff --git a/test/integration/comet2/misc_out_hello1/Makefile b/test/integration/comet2/misc_out_hello1/Makefile new file mode 100644 index 0000000..da52ddf --- /dev/null +++ b/test/integration/comet2/misc_out_hello1/Makefile @@ -0,0 +1,4 @@ +include ../CMD.mk # YACASL2DIR, CASL2 +ASDIR = $(YACASL2DIR)/as/MISC/out +ASFILE = $(ASDIR)/hello1.casl +include ../TEST.mk diff --git a/test/integration/comet2/misc_out_hello1/a.o b/test/integration/comet2/misc_out_hello1/a.o new file mode 100644 index 0000000000000000000000000000000000000000..31e75bbe8c57a5a3b3a672eb24f4cb509814582a GIT binary patch literal 68 zcmZQ9U|?VZVgVsx1_dDn28ItzK(-=~%?M^I6bckFG3!- z`!LE(7Gnxwl%Jf+qAiuz528Itz3<5$DObSAb3=G0055$5<&m~ diff --git a/test/integration/comet2/mula2_call/a.o b/test/integration/comet2/mula2_call/a.o index cc874b16b2f76a698d8dd1729edd0e313c85ba8a..a40f6d8566f24cd6c6a6a677c7ce4eb29cc4592a 100644 GIT binary patch delta 107 zcmeyu@rz?ZAivOL28Itz3<5&NObS9KOcN7i`GuB3g-n4$W=tD<>=+r%C!c1#%xE!r vK9d>0P(LF?izQIrifQu`rYc4mYbF5&8zzQEE(S&h5N2r51=IikGco`GO1&2D delta 101 zcmeyx@r7eTAiuz528Itz3<5&NObSAb3=tOD2X!E(R_Jh6Y_A`Tsv70|2K17ApV% diff --git a/test/integration/comet2/mull0_call/a.o b/test/integration/comet2/mull0_call/a.o index e3b258f75ebd819614ec7398833046531e85ebfc..31a2e6d91ac076ad7440cb30183d057916f6ad53 100644 GIT binary patch delta 125 zcmbQjK8JmRF27Je1H%U<1_7aCj0!@>87JCUTEm4-0EJF6f}|A+1qxk+7#SE+xEL4< z7#Ns-4qzE delta 117 zcmbQkK81aPF26uO1H%U<1_7aCj0!@G3=?fEt>Hq)!9pNug+hTs7oapl3Ks)o0RsaQ p5DN%RU{DZP2-SW9tajsuct(B!9Y%*|-=$5CCQ#6>I>dF}5 delta 117 zcmZ3)K8t;VF26uO1H%U<1_7ayj0!@G3=?fEt>Hqaz(OEtg+hTs7oapl3Ks)o0RsaQ p5DN%RU{DZP2-SWXtajsuR7QRQeMX3pXTV~cRhSAG*|-=$5CCtV6_Wq} diff --git a/test/integration/comet2/out0/a.o b/test/integration/comet2/out0/a.o index d626f595fd83ad2d0e8f68cdf79bf586fc622ae7..f9896efed31f38a9714fe0364af1789512ba1d6d 100644 GIT binary patch literal 46 scmZQ9U|?VZVgVsx1_dDz28ItzK(;85Ee2*Q6bckFG#W54GH?Mg0D&C^kpKVy literal 44 tcmZQ9U|?VZVgVsx1_c2T28ItzK(;7@f)FE^txzaX$k1rOz{tSG004AD1$h7f diff --git a/test/integration/comet2/out1/a.o b/test/integration/comet2/out1/a.o index cb2b4f4b9bc9d8a2ec0ae698aee9bbdacff87e0c..cc5ccc30731b2333eca4a6e21105a05c05571d5c 100644 GIT binary patch delta 36 ncmWHGkY+4kU|<4b0U==q1tCoah7U|Ywib}BJyF`4iID*ST+al; delta 33 lcmazDlV&VnU|<4b0U==q1p!S4h7U|Ywibhe5aUE?YXD8c1d{*& diff --git a/test/integration/comet2/outa_call/a.o b/test/integration/comet2/outa_call/a.o index e1706f364dc42036521a97dc60f395dc03d70db8..dbb9e1951438247f7dbe83ee9025e14f28ed8ff4 100644 GIT binary patch delta 47 zcmZ3%x{7rJKO?`;8U}_BObh}-fs6`5L5!Q_7^@hCf*A!ALKqnubs4xA7#aTmXJh~X D^)3m; delta 45 zcmZ3*x`K5BKO?`u8U}_BObh}-fs6`5j0~IQ7^@fsf*1u9f*Bbabs4xA{{LrW007-< B32XoW diff --git a/test/integration/comet2/outb_call/a.o b/test/integration/comet2/outb_call/a.o index 880c11dad1c08ebdb4d1dcd8ef74205b829a9dbc..54d70fd21e067f3f63ee4bd71d82197000d41eaf 100644 GIT binary patch delta 30 lcmZo*ZDO79pI>MR1H%U<1_2>^Mg<`U#?5?;MT|_03;=tn24DaH delta 27 icmZo-ZD5`7pI=}J1H%U<1_2>^Mg<{8hRuA8MT`Jurv@7U diff --git a/test/integration/comet2/outd_q15_call/a.o b/test/integration/comet2/outd_q15_call/a.o index ff602ebdea3cd6beecd5d766196746ff9ee690ac..1073218c46526d7b5029f0899855bbd2d8599a02 100644 GIT binary patch delta 79 zcmdnSyn}fIHzS|WS_Xy>Obh}-*BKOqZcLVB3}?JKxsXv(?-m0?%65i?!hk}CMggPS h41z+83=ECB3=9p13Obh}-*BKOq7$-|IhBMxnT*xS?bCZD~WjjMcVL%~6qkz#Z f20c0G|NjF3?Ija6 diff --git a/test/integration/comet2/outl_call/a.o b/test/integration/comet2/outl_call/a.o index 005a7266bfc68185cd1b441b66dcf05dca143382..b154827b9f2f5cba670c943ad0e700a92899dad4 100644 GIT binary patch delta 29 lcmaFH@`7c;bAF*23=AKb7zBij7!`z!88?0_U}R!s004~A2hRWi delta 26 icmaFC@{DD|bAEvt3=AKb7zBij7!`yV88&_^U<3ek69<<7 diff --git a/test/integration/comet2/ptn1/a.o b/test/integration/comet2/ptn1/a.o index 3c9e9dac248924fa13f1e9ca032af1c1ebbb75e8..8c6ee517f8f052bef1635367ae6fa92d817d86a4 100644 GIT binary patch delta 29 lcmX@ca)M>TVSb@D28Itz3<5$*j0!@^j2kbNFfuVR004f}2N?hW delta 26 icmX@Xa*SodVSa%&28Itz3<5$*j0!@G3>z<%FaiK*mj>|w diff --git a/test/integration/comet2/ptn2/a.o b/test/integration/comet2/ptn2/a.o index e0a752f8f7b70df410d714e6223dc904466d9a38..97abaffc9a6b5883fa6be10579de583329aee1dc 100644 GIT binary patch delta 29 lcmX@ca)M>TVSb@D28Itz3<5$*j0!@^j2kbNFfuVR004f}2N?hW delta 26 icmX@Xa*SodVSa%&28Itz3<5$*j0!@G3>z<%FaiK*mj>|w diff --git a/test/integration/comet2/ptn3/a.o b/test/integration/comet2/ptn3/a.o index b0b6d2ac14d58e648f801469ab59e3fabdf5b666..06d8dc4944aca75d9474ef7221ec08f9cfd275c5 100644 GIT binary patch delta 29 lcmdnNvWsQHR(_#+28Itz3<5&Zj0!?Bj2n-XFfuVR004ON2Fw5e delta 26 icmdnRvV R(^qc28Itz3<5&Zj0!@G3>%M>FaiK$#|Ena diff --git a/test/integration/comet2/ptn4/a.o b/test/integration/comet2/ptn4/a.o index 66676e265815dc9f07020f3354781d552b893b00..5399c9d04e3a6c802350c5603b5f4de76001fe0c 100644 GIT binary patch delta 31 mcmeBT?P1-(%E&LYoPps36N7+|3!{RNE8}Jn#xh1GMg{6nH3>X+bFag;qKz8axX(c|mNE%QieWG_g8zTc310w?f DL|qB_ delta 56 ycmcb>c!p7$v4DYr35W%Rv>6lx3>X+bFag;q3<^Sw6Qz~-;3BDD5$}2?E(QP(dFfuVR004K>2D|_O delta 26 icmdnSvV~>BR(^qc28Itz3<5%uj0!@G3>%LWFaiK#;|84o diff --git a/test/integration/comet2/summary/a.o b/test/integration/comet2/summary/a.o index 926003ac9ebdf6cb3e5e0a75585dfb0378493972..ba11c73666d3d17e27e96af1352f36ef5d9430fe 100644 GIT binary patch delta 78 zcmdnTa)@QZYiptP3=AKb7zBi57!`zM89{7?LV>~nML9->)K~__0tN;qAQljMz@PwE WD-Tqwz_?kBQH+s|k%5bWkpTd&Iu0iQ delta 74 zcmX@avX5oLYioh^3=AKb7zBi57!`yV!EA*>fx-YqSw@D`SO&%d1_mY|77%*Cpa54Z P2UfdTjZut|iHiXMZe|VM diff --git a/test/integration/comet2/svc2_out/Makefile b/test/integration/comet2/svc2_out/Makefile deleted file mode 100644 index ecef17b..0000000 --- a/test/integration/comet2/svc2_out/Makefile +++ /dev/null @@ -1,4 +0,0 @@ -include ../CMD.mk # YACASL2DIR, CASL2 -ASDIR = $(YACASL2DIR)/as/CMD -ASFILE = $(ASDIR)/svc2_out.casl -include ../TEST.mk diff --git a/test/integration/comet2/svc2_out/a.o b/test/integration/comet2/svc2_out/a.o deleted file mode 100644 index 2cd91afaadd43580e180dba62f79023e28f28bf4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 50 zcmZQ9U|?VZVgVsx1_c3e28ItzK(+*ff)FE^txzaX$k3R`ki?M8kix*iz{LOnp)&^D diff --git a/test/unit/TEST.mk b/test/unit/TEST.mk index 7e49c83..4d473e9 100644 --- a/test/unit/TEST.mk +++ b/test/unit/TEST.mk @@ -11,9 +11,9 @@ SRCDIR = ../../../src INCLUDE = ../../../include CC = gcc CFLAGS = -g -Wall -I $(INCLUDE) -COMMONSRC = $(SRCDIR)/word.c $(SRCDIR)/struct.c $(SRCDIR)/hash.c $(SRCDIR)/cmd.c $(SRCDIR)/cerr.c -ASSRC = $(SRCDIR)/assemble.c $(SRCDIR)/token.c $(SRCDIR)/label.c $(SRCDIR)/macro.c -EXECSRC = $(SRCDIR)/exec.c $(SRCDIR)/dump.c +COMMONSRC = $(SRCDIR)/word.o $(SRCDIR)/struct.o $(SRCDIR)/hash.o $(SRCDIR)/cmd.o $(SRCDIR)/cerr.o +ASSRC = $(SRCDIR)/assemble.o $(SRCDIR)/token.o $(SRCDIR)/label.o $(SRCDIR)/macro.o +EXECSRC = $(SRCDIR)/exec.o $(SRCDIR)/dump.o ifeq "$(UCLASS)" "AS" SRC = $(COMMONSRC) $(ASSRC) @@ -33,6 +33,7 @@ clean: cleanall: clean @rm -f 0.txt a.out: $(SRC) $(TESTSRCFILE) + @make -C $(SRCDIR) @gcc $(CFLAGS) $(SRC) $(TESTSRCFILE) 0.txt 1.txt: a.out @./a.out >$@ 2>&1 diff --git a/test/unit/print_cmdtype_code/print_cmdtype_code.c b/test/unit/print_cmdtype_code/print_cmdtype_code.c index 9410051..35dba2c 100644 --- a/test/unit/print_cmdtype_code/print_cmdtype_code.c +++ b/test/unit/print_cmdtype_code/print_cmdtype_code.c @@ -11,3 +11,39 @@ int main(){ } return 0; } + +/* エラー番号とエラーメッセージ */ +CERRARRAY cerr[] = { + { 101, "label already defined" }, + { 102, "label table is full" }, + { 103, "label not found" }, + { 104, "label length is too long" }, + { 105, "no command in the line" }, + { 106, "operand count mismatch" }, + { 107, "no label in START" }, + { 108, "not command of operand \"r\"" }, + { 109, "not command of operand \"r1,r2\"" }, + { 110, "not command of operand \"r,adr[,x]\"" }, + { 111, "not command of operand \"adr[,x]\"" }, + { 112, "not command of no operand" }, + { 113, "command not defined" }, + { 114, "not integer" }, + { 115, "not hex" }, + { 116, "out of hex range" }, + { 117, "operand is too many" }, + { 118, "operand length is too long" }, + { 119, "out of COMET II memory" }, + { 120, "GR0 in operand x" }, + { 121, "cannot get operand token" }, + { 122, "cannot create hash table" }, + { 123, "illegal string" }, + { 124, "more than one character in literal" }, + { 201, "execute - out of COMET II memory" }, + { 202, "SVC input - out of Input memory" }, + { 203, "SVC output - out of COMET II memory" }, + { 204, "Program Register (PR) - out of COMET II memory" }, + { 205, "Stack Pointer (SP) - cannot allocate stack buffer" }, + { 206, "Address - out of COMET II memory" }, + { 207, "Stack Pointer (SP) - out of COMET II memory" }, + { 0, NULL }, +}; diff --git a/test/unit/print_code_type/print_code_type.c b/test/unit/print_code_type/print_code_type.c index e6a96db..7a925ff 100644 --- a/test/unit/print_code_type/print_code_type.c +++ b/test/unit/print_code_type/print_code_type.c @@ -1,5 +1,8 @@ #include "casl2.h" -int main(){ +#include "cerr.h" + +int main() +{ puts("== CODE_TYPE TABLE =="); create_code_type(); print_code_type(); @@ -11,3 +14,39 @@ int main(){ } return 0; } + +/* エラー番号とエラーメッセージ */ +CERRARRAY cerr[] = { + { 101, "label already defined" }, + { 102, "label table is full" }, + { 103, "label not found" }, + { 104, "label length is too long" }, + { 105, "no command in the line" }, + { 106, "operand count mismatch" }, + { 107, "no label in START" }, + { 108, "not command of operand \"r\"" }, + { 109, "not command of operand \"r1,r2\"" }, + { 110, "not command of operand \"r,adr[,x]\"" }, + { 111, "not command of operand \"adr[,x]\"" }, + { 112, "not command of no operand" }, + { 113, "command not defined" }, + { 114, "not integer" }, + { 115, "not hex" }, + { 116, "out of hex range" }, + { 117, "operand is too many" }, + { 118, "operand length is too long" }, + { 119, "out of COMET II memory" }, + { 120, "GR0 in operand x" }, + { 121, "cannot get operand token" }, + { 122, "cannot create hash table" }, + { 123, "illegal string" }, + { 124, "more than one character in literal" }, + { 201, "execute - out of COMET II memory" }, + { 202, "SVC input - out of Input memory" }, + { 203, "SVC output - out of COMET II memory" }, + { 204, "Program Register (PR) - out of COMET II memory" }, + { 205, "Stack Pointer (SP) - cannot allocate stack buffer" }, + { 206, "Address - out of COMET II memory" }, + { 207, "Stack Pointer (SP) - out of COMET II memory" }, + { 0, NULL }, +}; -- 2.18.0