From eeed4083a8e5b52c3f6618bc78b64d991979a2c4 Mon Sep 17 00:00:00 2001 From: j8takagi Date: Sat, 13 Feb 2010 13:42:49 +0900 Subject: [PATCH] =?utf8?q?comet=202=E3=81=AE=E3=83=86=E3=82=B9=E3=83=88?= =?utf8?q?=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- test/integration/comet2/cmd_ADDA_adda2/0.txt | 22 +- .../comet2/cmd_ADDA_adda2/Makefile | 2 +- test/integration/comet2/cmd_ADDL_addl2/0.txt | 22 +- .../comet2/cmd_ADDL_addl2/Makefile | 2 +- test/integration/comet2/cmd_AND_and2/0.txt | 22 +- test/integration/comet2/cmd_AND_and2/Makefile | 2 +- test/integration/comet2/cmd_CALL_call0/0.txt | 27 ++- .../comet2/cmd_CALL_call0/Makefile | 2 +- test/integration/comet2/cmd_CALL_call1/0.txt | 84 +++++++- .../comet2/cmd_CALL_call1/Makefile | 3 +- test/integration/comet2/cmd_CPA_cpa2_s/0.txt | 22 +- .../comet2/cmd_CPA_cpa2_s/Makefile | 2 +- test/integration/comet2/cmd_CPL_cpl2_s/0.txt | 22 +- .../comet2/cmd_CPL_cpl2_s/Makefile | 2 +- test/integration/comet2/cmd_DC_dc_c0/0.txt | 14 +- test/integration/comet2/cmd_DC_dc_c0/Makefile | 2 +- test/integration/comet2/cmd_DC_dc_c1/0.txt | 14 +- test/integration/comet2/cmd_DC_dc_c1/Makefile | 2 +- test/integration/comet2/cmd_DC_dc_i0/0.txt | 8 +- test/integration/comet2/cmd_DC_dc_i0/Makefile | 2 +- test/integration/comet2/cmd_DC_dc_i1/0.txt | 8 +- test/integration/comet2/cmd_DC_dc_i1/Makefile | 2 +- test/integration/comet2/cmd_DC_dc_i_of/0.txt | 8 +- .../comet2/cmd_DC_dc_i_of/Makefile | 2 +- test/integration/comet2/cmd_DS_ds/0.txt | 20 +- test/integration/comet2/cmd_DS_ds/Makefile | 2 +- test/integration/comet2/cmd_OR_or2/0.txt | 22 +- test/integration/comet2/cmd_OR_or2/Makefile | 2 +- test/integration/comet2/cmd_ST_st1/0.txt | 22 +- test/integration/comet2/cmd_ST_st1/Makefile | 2 +- test/integration/comet2/cmd_SUBA_suba2/0.txt | 22 +- .../comet2/cmd_SUBA_suba2/Makefile | 2 +- test/integration/comet2/cmd_SUBL_subl2/0.txt | 22 +- .../comet2/cmd_SUBL_subl2/Makefile | 2 +- test/integration/comet2/cmd_XOR_xor1/0.txt | 22 +- test/integration/comet2/cmd_XOR_xor1/Makefile | 2 +- test/integration/comet2/cmd_XOR_xor2/0.txt | 22 +- test/integration/comet2/cmd_XOR_xor2/Makefile | 2 +- test/integration/comet2/hello/0.txt | 192 +----------------- test/integration/comet2/hello/Makefile | 3 +- 40 files changed, 315 insertions(+), 344 deletions(-) diff --git a/test/integration/comet2/cmd_ADDA_adda2/0.txt b/test/integration/comet2/cmd_ADDA_adda2/0.txt index c032fbf..b434c8f 100644 --- a/test/integration/comet2/cmd_ADDA_adda2/0.txt +++ b/test/integration/comet2/cmd_ADDA_adda2/0.txt @@ -1,4 +1,4 @@ -../../../../comet2 -td -M8 a.o +../../../../comet2 -td -M16 a.o Executing machine codes #0000: Register:::: @@ -10,12 +10,13 @@ Executing machine codes #0000: GR5: 0 = #0000 = 0000000000000000 #0000: GR6: 0 = #0000 = 0000000000000000 #0000: GR7: 0 = #0000 = 0000000000000000 -#0000: SP: 8 = #0008 = 0000000000001000 +#0000: SP: 16 = #0010 = 0000000000010000 #0000: PR: 0 = #0000 = 0000000000000000 #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: 1010 0006 1020 0007 2412 8100 0003 0001 +#0000: 0000: 1010 0006 1020 0007 2412 8100 0003 0001 0000 0000 0000 0000 0000 0000 0000 0000 + #0002: Register:::: #0002: GR0: 0 = #0000 = 0000000000000000 #0002: GR1: 3 = #0003 = 0000000000000011 @@ -25,12 +26,13 @@ Executing machine codes #0002: GR5: 0 = #0000 = 0000000000000000 #0002: GR6: 0 = #0000 = 0000000000000000 #0002: GR7: 0 = #0000 = 0000000000000000 -#0002: SP: 8 = #0008 = 0000000000001000 +#0002: SP: 16 = #0010 = 0000000000010000 #0002: PR: 2 = #0002 = 0000000000000010 #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: 1010 0006 1020 0007 2412 8100 0003 0001 +#0002: 0000: 1010 0006 1020 0007 2412 8100 0003 0001 0000 0000 0000 0000 0000 0000 0000 0000 + #0004: Register:::: #0004: GR0: 0 = #0000 = 0000000000000000 #0004: GR1: 3 = #0003 = 0000000000000011 @@ -40,12 +42,13 @@ Executing machine codes #0004: GR5: 0 = #0000 = 0000000000000000 #0004: GR6: 0 = #0000 = 0000000000000000 #0004: GR7: 0 = #0000 = 0000000000000000 -#0004: SP: 8 = #0008 = 0000000000001000 +#0004: SP: 16 = #0010 = 0000000000010000 #0004: PR: 4 = #0004 = 0000000000000100 #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: 1010 0006 1020 0007 2412 8100 0003 0001 +#0004: 0000: 1010 0006 1020 0007 2412 8100 0003 0001 0000 0000 0000 0000 0000 0000 0000 0000 + #0005: Register:::: #0005: GR0: 0 = #0000 = 0000000000000000 #0005: GR1: 4 = #0004 = 0000000000000100 @@ -55,9 +58,10 @@ Executing machine codes #0005: GR5: 0 = #0000 = 0000000000000000 #0005: GR6: 0 = #0000 = 0000000000000000 #0005: GR7: 0 = #0000 = 0000000000000000 -#0005: SP: 8 = #0008 = 0000000000001000 +#0005: SP: 16 = #0010 = 0000000000010000 #0005: PR: 5 = #0005 = 0000000000000101 #0005: FR (OF SF ZF): 000 #0005: Memory:::: #0005: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F -#0005: 0000: 1010 0006 1020 0007 2412 8100 0003 0001 +#0005: 0000: 1010 0006 1020 0007 2412 8100 0003 0001 0000 0000 0000 0000 0000 0000 0000 0000 + diff --git a/test/integration/comet2/cmd_ADDA_adda2/Makefile b/test/integration/comet2/cmd_ADDA_adda2/Makefile index 4ece681..58d955d 100644 --- a/test/integration/comet2/cmd_ADDA_adda2/Makefile +++ b/test/integration/comet2/cmd_ADDA_adda2/Makefile @@ -2,6 +2,6 @@ include ../CMD.mk # YACASL2DIR, CASL2 ASDIR = $(YACASL2DIR)/as CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib ASFILE = $(YACASL2DIR)/as/cmd/ADDA/adda2.casl -COMET2FLAG = -td -M8 +COMET2FLAG = -td -M16 EXECCMD = $(COMET2) $(COMET2FLAG) $(OBJFILE) include ../TEST.mk diff --git a/test/integration/comet2/cmd_ADDL_addl2/0.txt b/test/integration/comet2/cmd_ADDL_addl2/0.txt index b433305..834b8cc 100644 --- a/test/integration/comet2/cmd_ADDL_addl2/0.txt +++ b/test/integration/comet2/cmd_ADDL_addl2/0.txt @@ -1,4 +1,4 @@ -../../../../comet2 -td -M8 a.o +../../../../comet2 -td -M16 a.o Executing machine codes #0000: Register:::: @@ -10,12 +10,13 @@ Executing machine codes #0000: GR5: 0 = #0000 = 0000000000000000 #0000: GR6: 0 = #0000 = 0000000000000000 #0000: GR7: 0 = #0000 = 0000000000000000 -#0000: SP: 8 = #0008 = 0000000000001000 +#0000: SP: 16 = #0010 = 0000000000010000 #0000: PR: 0 = #0000 = 0000000000000000 #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: 1010 0006 1020 0007 2612 8100 0003 0001 +#0000: 0000: 1010 0006 1020 0007 2612 8100 0003 0001 0000 0000 0000 0000 0000 0000 0000 0000 + #0002: Register:::: #0002: GR0: 0 = #0000 = 0000000000000000 #0002: GR1: 3 = #0003 = 0000000000000011 @@ -25,12 +26,13 @@ Executing machine codes #0002: GR5: 0 = #0000 = 0000000000000000 #0002: GR6: 0 = #0000 = 0000000000000000 #0002: GR7: 0 = #0000 = 0000000000000000 -#0002: SP: 8 = #0008 = 0000000000001000 +#0002: SP: 16 = #0010 = 0000000000010000 #0002: PR: 2 = #0002 = 0000000000000010 #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: 1010 0006 1020 0007 2612 8100 0003 0001 +#0002: 0000: 1010 0006 1020 0007 2612 8100 0003 0001 0000 0000 0000 0000 0000 0000 0000 0000 + #0004: Register:::: #0004: GR0: 0 = #0000 = 0000000000000000 #0004: GR1: 3 = #0003 = 0000000000000011 @@ -40,12 +42,13 @@ Executing machine codes #0004: GR5: 0 = #0000 = 0000000000000000 #0004: GR6: 0 = #0000 = 0000000000000000 #0004: GR7: 0 = #0000 = 0000000000000000 -#0004: SP: 8 = #0008 = 0000000000001000 +#0004: SP: 16 = #0010 = 0000000000010000 #0004: PR: 4 = #0004 = 0000000000000100 #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: 1010 0006 1020 0007 2612 8100 0003 0001 +#0004: 0000: 1010 0006 1020 0007 2612 8100 0003 0001 0000 0000 0000 0000 0000 0000 0000 0000 + #0005: Register:::: #0005: GR0: 0 = #0000 = 0000000000000000 #0005: GR1: 4 = #0004 = 0000000000000100 @@ -55,9 +58,10 @@ Executing machine codes #0005: GR5: 0 = #0000 = 0000000000000000 #0005: GR6: 0 = #0000 = 0000000000000000 #0005: GR7: 0 = #0000 = 0000000000000000 -#0005: SP: 8 = #0008 = 0000000000001000 +#0005: SP: 16 = #0010 = 0000000000010000 #0005: PR: 5 = #0005 = 0000000000000101 #0005: FR (OF SF ZF): 000 #0005: Memory:::: #0005: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F -#0005: 0000: 1010 0006 1020 0007 2612 8100 0003 0001 +#0005: 0000: 1010 0006 1020 0007 2612 8100 0003 0001 0000 0000 0000 0000 0000 0000 0000 0000 + diff --git a/test/integration/comet2/cmd_ADDL_addl2/Makefile b/test/integration/comet2/cmd_ADDL_addl2/Makefile index 95f0094..5cc7485 100644 --- a/test/integration/comet2/cmd_ADDL_addl2/Makefile +++ b/test/integration/comet2/cmd_ADDL_addl2/Makefile @@ -2,6 +2,6 @@ include ../CMD.mk # YACASL2DIR, CASL2 ASDIR = $(YACASL2DIR)/as CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib ASFILE = $(YACASL2DIR)/as/cmd/ADDL/addl2.casl -COMET2FLAG = -td -M8 +COMET2FLAG = -td -M16 EXECCMD = $(COMET2) $(COMET2FLAG) $(OBJFILE) include ../TEST.mk diff --git a/test/integration/comet2/cmd_AND_and2/0.txt b/test/integration/comet2/cmd_AND_and2/0.txt index 0ee2604..61dd302 100644 --- a/test/integration/comet2/cmd_AND_and2/0.txt +++ b/test/integration/comet2/cmd_AND_and2/0.txt @@ -1,4 +1,4 @@ -../../../../comet2 -td -M8 a.o +../../../../comet2 -td -M16 a.o Executing machine codes #0000: Register:::: @@ -10,12 +10,13 @@ Executing machine codes #0000: GR5: 0 = #0000 = 0000000000000000 #0000: GR6: 0 = #0000 = 0000000000000000 #0000: GR7: 0 = #0000 = 0000000000000000 -#0000: SP: 8 = #0008 = 0000000000001000 +#0000: SP: 16 = #0010 = 0000000000010000 #0000: PR: 0 = #0000 = 0000000000000000 #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: 1010 0006 1020 0007 3412 8100 3000 4FFF +#0000: 0000: 1010 0006 1020 0007 3412 8100 3000 4FFF 0000 0000 0000 0000 0000 0000 0000 0000 + #0002: Register:::: #0002: GR0: 0 = #0000 = 0000000000000000 #0002: GR1: 12288 = #3000 = 0011000000000000 @@ -25,12 +26,13 @@ Executing machine codes #0002: GR5: 0 = #0000 = 0000000000000000 #0002: GR6: 0 = #0000 = 0000000000000000 #0002: GR7: 0 = #0000 = 0000000000000000 -#0002: SP: 8 = #0008 = 0000000000001000 +#0002: SP: 16 = #0010 = 0000000000010000 #0002: PR: 2 = #0002 = 0000000000000010 #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: 1010 0006 1020 0007 3412 8100 3000 4FFF +#0002: 0000: 1010 0006 1020 0007 3412 8100 3000 4FFF 0000 0000 0000 0000 0000 0000 0000 0000 + #0004: Register:::: #0004: GR0: 0 = #0000 = 0000000000000000 #0004: GR1: 12288 = #3000 = 0011000000000000 @@ -40,12 +42,13 @@ Executing machine codes #0004: GR5: 0 = #0000 = 0000000000000000 #0004: GR6: 0 = #0000 = 0000000000000000 #0004: GR7: 0 = #0000 = 0000000000000000 -#0004: SP: 8 = #0008 = 0000000000001000 +#0004: SP: 16 = #0010 = 0000000000010000 #0004: PR: 4 = #0004 = 0000000000000100 #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: 1010 0006 1020 0007 3412 8100 3000 4FFF +#0004: 0000: 1010 0006 1020 0007 3412 8100 3000 4FFF 0000 0000 0000 0000 0000 0000 0000 0000 + #0005: Register:::: #0005: GR0: 0 = #0000 = 0000000000000000 #0005: GR1: 0 = #0000 = 0000000000000000 @@ -55,9 +58,10 @@ Executing machine codes #0005: GR5: 0 = #0000 = 0000000000000000 #0005: GR6: 0 = #0000 = 0000000000000000 #0005: GR7: 0 = #0000 = 0000000000000000 -#0005: SP: 8 = #0008 = 0000000000001000 +#0005: SP: 16 = #0010 = 0000000000010000 #0005: PR: 5 = #0005 = 0000000000000101 #0005: FR (OF SF ZF): 001 #0005: Memory:::: #0005: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F -#0005: 0000: 1010 0006 1020 0007 3412 8100 3000 4FFF +#0005: 0000: 1010 0006 1020 0007 3412 8100 3000 4FFF 0000 0000 0000 0000 0000 0000 0000 0000 + diff --git a/test/integration/comet2/cmd_AND_and2/Makefile b/test/integration/comet2/cmd_AND_and2/Makefile index 10c8c00..0e2deb6 100644 --- a/test/integration/comet2/cmd_AND_and2/Makefile +++ b/test/integration/comet2/cmd_AND_and2/Makefile @@ -2,6 +2,6 @@ include ../CMD.mk # YACASL2DIR, CASL2 ASDIR = $(YACASL2DIR)/as CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib ASFILE = $(YACASL2DIR)/as/cmd/AND/and2.casl -COMET2FLAG = -td -M8 +COMET2FLAG = -td -M16 EXECCMD = $(COMET2) $(COMET2FLAG) $(OBJFILE) include ../TEST.mk diff --git a/test/integration/comet2/cmd_CALL_call0/0.txt b/test/integration/comet2/cmd_CALL_call0/0.txt index 40cf7c7..65850df 100644 --- a/test/integration/comet2/cmd_CALL_call0/0.txt +++ b/test/integration/comet2/cmd_CALL_call0/0.txt @@ -1,4 +1,4 @@ -../../../../comet2 -td -M8 a.o +../../../../comet2 -td -M16 a.o Executing machine codes #0000: Register:::: @@ -10,12 +10,13 @@ Executing machine codes #0000: GR5: 0 = #0000 = 0000000000000000 #0000: GR6: 0 = #0000 = 0000000000000000 #0000: GR7: 0 = #0000 = 0000000000000000 -#0000: SP: 8 = #0008 = 0000000000001000 +#0000: SP: 16 = #0010 = 0000000000010000 #0000: PR: 0 = #0000 = 0000000000000000 #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: 1210 001D 8000 0005 8100 1421 8100 0000 +#0000: 0000: 1210 001D 8000 0005 8100 1421 8100 0000 0000 0000 0000 0000 0000 0000 0000 0000 + #0002: Register:::: #0002: GR0: 0 = #0000 = 0000000000000000 #0002: GR1: 29 = #001D = 0000000000011101 @@ -25,12 +26,13 @@ Executing machine codes #0002: GR5: 0 = #0000 = 0000000000000000 #0002: GR6: 0 = #0000 = 0000000000000000 #0002: GR7: 0 = #0000 = 0000000000000000 -#0002: SP: 8 = #0008 = 0000000000001000 +#0002: SP: 16 = #0010 = 0000000000010000 #0002: PR: 2 = #0002 = 0000000000000010 #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: 1210 001D 8000 0005 8100 1421 8100 0000 +#0002: 0000: 1210 001D 8000 0005 8100 1421 8100 0000 0000 0000 0000 0000 0000 0000 0000 0000 + #0005: Register:::: #0005: GR0: 0 = #0000 = 0000000000000000 #0005: GR1: 29 = #001D = 0000000000011101 @@ -40,12 +42,13 @@ Executing machine codes #0005: GR5: 0 = #0000 = 0000000000000000 #0005: GR6: 0 = #0000 = 0000000000000000 #0005: GR7: 0 = #0000 = 0000000000000000 -#0005: SP: 7 = #0007 = 0000000000000111 +#0005: SP: 15 = #000F = 0000000000001111 #0005: PR: 5 = #0005 = 0000000000000101 #0005: FR (OF SF ZF): 000 #0005: Memory:::: #0005: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F -#0005: 0000: 1210 001D 8000 0005 8100 1421 8100 0004 +#0005: 0000: 1210 001D 8000 0005 8100 1421 8100 0000 0000 0000 0000 0000 0000 0000 0000 0004 + #0006: Register:::: #0006: GR0: 0 = #0000 = 0000000000000000 #0006: GR1: 29 = #001D = 0000000000011101 @@ -55,12 +58,13 @@ Executing machine codes #0006: GR5: 0 = #0000 = 0000000000000000 #0006: GR6: 0 = #0000 = 0000000000000000 #0006: GR7: 0 = #0000 = 0000000000000000 -#0006: SP: 7 = #0007 = 0000000000000111 +#0006: SP: 15 = #000F = 0000000000001111 #0006: PR: 6 = #0006 = 0000000000000110 #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: 1210 001D 8000 0005 8100 1421 8100 0004 +#0006: 0000: 1210 001D 8000 0005 8100 1421 8100 0000 0000 0000 0000 0000 0000 0000 0000 0004 + #0004: Register:::: #0004: GR0: 0 = #0000 = 0000000000000000 #0004: GR1: 29 = #001D = 0000000000011101 @@ -70,9 +74,10 @@ Executing machine codes #0004: GR5: 0 = #0000 = 0000000000000000 #0004: GR6: 0 = #0000 = 0000000000000000 #0004: GR7: 0 = #0000 = 0000000000000000 -#0004: SP: 8 = #0008 = 0000000000001000 +#0004: SP: 16 = #0010 = 0000000000010000 #0004: PR: 4 = #0004 = 0000000000000100 #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: 1210 001D 8000 0005 8100 1421 8100 0004 +#0004: 0000: 1210 001D 8000 0005 8100 1421 8100 0000 0000 0000 0000 0000 0000 0000 0000 0004 + diff --git a/test/integration/comet2/cmd_CALL_call0/Makefile b/test/integration/comet2/cmd_CALL_call0/Makefile index c3d5286..b4522a1 100644 --- a/test/integration/comet2/cmd_CALL_call0/Makefile +++ b/test/integration/comet2/cmd_CALL_call0/Makefile @@ -3,6 +3,6 @@ include ../CMD.mk # YACASL2DIR, CASL2 ASDIR = $(YACASL2DIR)/as CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib ASFILE = $(YACASL2DIR)/as/cmd/CALL/call0.casl -COMET2FLAG = -td -M8 +COMET2FLAG = -td -M16 EXECCMD = $(COMET2) $(COMET2FLAG) $(OBJFILE) include ../TEST.mk diff --git a/test/integration/comet2/cmd_CALL_call1/0.txt b/test/integration/comet2/cmd_CALL_call1/0.txt index 9faf9b8..65850df 100644 --- a/test/integration/comet2/cmd_CALL_call1/0.txt +++ b/test/integration/comet2/cmd_CALL_call1/0.txt @@ -1 +1,83 @@ -../../../../comet2 a.o +../../../../comet2 -td -M16 a.o + +Executing machine codes +#0000: Register:::: +#0000: GR0: 0 = #0000 = 0000000000000000 +#0000: GR1: 0 = #0000 = 0000000000000000 +#0000: GR2: 0 = #0000 = 0000000000000000 +#0000: GR3: 0 = #0000 = 0000000000000000 +#0000: GR4: 0 = #0000 = 0000000000000000 +#0000: GR5: 0 = #0000 = 0000000000000000 +#0000: GR6: 0 = #0000 = 0000000000000000 +#0000: GR7: 0 = #0000 = 0000000000000000 +#0000: SP: 16 = #0010 = 0000000000010000 +#0000: PR: 0 = #0000 = 0000000000000000 +#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: 1210 001D 8000 0005 8100 1421 8100 0000 0000 0000 0000 0000 0000 0000 0000 0000 + +#0002: Register:::: +#0002: GR0: 0 = #0000 = 0000000000000000 +#0002: GR1: 29 = #001D = 0000000000011101 +#0002: GR2: 0 = #0000 = 0000000000000000 +#0002: GR3: 0 = #0000 = 0000000000000000 +#0002: GR4: 0 = #0000 = 0000000000000000 +#0002: GR5: 0 = #0000 = 0000000000000000 +#0002: GR6: 0 = #0000 = 0000000000000000 +#0002: GR7: 0 = #0000 = 0000000000000000 +#0002: SP: 16 = #0010 = 0000000000010000 +#0002: PR: 2 = #0002 = 0000000000000010 +#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: 1210 001D 8000 0005 8100 1421 8100 0000 0000 0000 0000 0000 0000 0000 0000 0000 + +#0005: Register:::: +#0005: GR0: 0 = #0000 = 0000000000000000 +#0005: GR1: 29 = #001D = 0000000000011101 +#0005: GR2: 0 = #0000 = 0000000000000000 +#0005: GR3: 0 = #0000 = 0000000000000000 +#0005: GR4: 0 = #0000 = 0000000000000000 +#0005: GR5: 0 = #0000 = 0000000000000000 +#0005: GR6: 0 = #0000 = 0000000000000000 +#0005: GR7: 0 = #0000 = 0000000000000000 +#0005: SP: 15 = #000F = 0000000000001111 +#0005: PR: 5 = #0005 = 0000000000000101 +#0005: FR (OF SF ZF): 000 +#0005: Memory:::: +#0005: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F +#0005: 0000: 1210 001D 8000 0005 8100 1421 8100 0000 0000 0000 0000 0000 0000 0000 0000 0004 + +#0006: Register:::: +#0006: GR0: 0 = #0000 = 0000000000000000 +#0006: GR1: 29 = #001D = 0000000000011101 +#0006: GR2: 29 = #001D = 0000000000011101 +#0006: GR3: 0 = #0000 = 0000000000000000 +#0006: GR4: 0 = #0000 = 0000000000000000 +#0006: GR5: 0 = #0000 = 0000000000000000 +#0006: GR6: 0 = #0000 = 0000000000000000 +#0006: GR7: 0 = #0000 = 0000000000000000 +#0006: SP: 15 = #000F = 0000000000001111 +#0006: PR: 6 = #0006 = 0000000000000110 +#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: 1210 001D 8000 0005 8100 1421 8100 0000 0000 0000 0000 0000 0000 0000 0000 0004 + +#0004: Register:::: +#0004: GR0: 0 = #0000 = 0000000000000000 +#0004: GR1: 29 = #001D = 0000000000011101 +#0004: GR2: 29 = #001D = 0000000000011101 +#0004: GR3: 0 = #0000 = 0000000000000000 +#0004: GR4: 0 = #0000 = 0000000000000000 +#0004: GR5: 0 = #0000 = 0000000000000000 +#0004: GR6: 0 = #0000 = 0000000000000000 +#0004: GR7: 0 = #0000 = 0000000000000000 +#0004: SP: 16 = #0010 = 0000000000010000 +#0004: PR: 4 = #0004 = 0000000000000100 +#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: 1210 001D 8000 0005 8100 1421 8100 0000 0000 0000 0000 0000 0000 0000 0000 0004 + diff --git a/test/integration/comet2/cmd_CALL_call1/Makefile b/test/integration/comet2/cmd_CALL_call1/Makefile index 8e25b88..a73c7ab 100644 --- a/test/integration/comet2/cmd_CALL_call1/Makefile +++ b/test/integration/comet2/cmd_CALL_call1/Makefile @@ -2,5 +2,6 @@ include ../CMD.mk # YACASL2DIR, CASL2 ASDIR = $(YACASL2DIR)/as CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib ASFILE = $(YACASL2DIR)/as/cmd/CALL/call1.casl -CMD = $(CASL2) $(CASL2FLAG) $(ASFILE) +COMET2FLAG = -td -M16 +EXECCMD = $(COMET2) $(COMET2FLAG) $(OBJFILE) include ../TEST.mk diff --git a/test/integration/comet2/cmd_CPA_cpa2_s/0.txt b/test/integration/comet2/cmd_CPA_cpa2_s/0.txt index 6c5b365..351ca81 100644 --- a/test/integration/comet2/cmd_CPA_cpa2_s/0.txt +++ b/test/integration/comet2/cmd_CPA_cpa2_s/0.txt @@ -1,4 +1,4 @@ -../../../../comet2 -td -M8 a.o +../../../../comet2 -td -M16 a.o Executing machine codes #0000: Register:::: @@ -10,12 +10,13 @@ Executing machine codes #0000: GR5: 0 = #0000 = 0000000000000000 #0000: GR6: 0 = #0000 = 0000000000000000 #0000: GR7: 0 = #0000 = 0000000000000000 -#0000: SP: 8 = #0008 = 0000000000001000 +#0000: SP: 16 = #0010 = 0000000000010000 #0000: PR: 0 = #0000 = 0000000000000000 #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: 1010 0006 1020 0007 4412 8100 5000 7000 +#0000: 0000: 1010 0006 1020 0007 4412 8100 5000 7000 0000 0000 0000 0000 0000 0000 0000 0000 + #0002: Register:::: #0002: GR0: 0 = #0000 = 0000000000000000 #0002: GR1: 20480 = #5000 = 0101000000000000 @@ -25,12 +26,13 @@ Executing machine codes #0002: GR5: 0 = #0000 = 0000000000000000 #0002: GR6: 0 = #0000 = 0000000000000000 #0002: GR7: 0 = #0000 = 0000000000000000 -#0002: SP: 8 = #0008 = 0000000000001000 +#0002: SP: 16 = #0010 = 0000000000010000 #0002: PR: 2 = #0002 = 0000000000000010 #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: 1010 0006 1020 0007 4412 8100 5000 7000 +#0002: 0000: 1010 0006 1020 0007 4412 8100 5000 7000 0000 0000 0000 0000 0000 0000 0000 0000 + #0004: Register:::: #0004: GR0: 0 = #0000 = 0000000000000000 #0004: GR1: 20480 = #5000 = 0101000000000000 @@ -40,12 +42,13 @@ Executing machine codes #0004: GR5: 0 = #0000 = 0000000000000000 #0004: GR6: 0 = #0000 = 0000000000000000 #0004: GR7: 0 = #0000 = 0000000000000000 -#0004: SP: 8 = #0008 = 0000000000001000 +#0004: SP: 16 = #0010 = 0000000000010000 #0004: PR: 4 = #0004 = 0000000000000100 #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: 1010 0006 1020 0007 4412 8100 5000 7000 +#0004: 0000: 1010 0006 1020 0007 4412 8100 5000 7000 0000 0000 0000 0000 0000 0000 0000 0000 + #0005: Register:::: #0005: GR0: 0 = #0000 = 0000000000000000 #0005: GR1: 20480 = #5000 = 0101000000000000 @@ -55,9 +58,10 @@ Executing machine codes #0005: GR5: 0 = #0000 = 0000000000000000 #0005: GR6: 0 = #0000 = 0000000000000000 #0005: GR7: 0 = #0000 = 0000000000000000 -#0005: SP: 8 = #0008 = 0000000000001000 +#0005: SP: 16 = #0010 = 0000000000010000 #0005: PR: 5 = #0005 = 0000000000000101 #0005: FR (OF SF ZF): 010 #0005: Memory:::: #0005: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F -#0005: 0000: 1010 0006 1020 0007 4412 8100 5000 7000 +#0005: 0000: 1010 0006 1020 0007 4412 8100 5000 7000 0000 0000 0000 0000 0000 0000 0000 0000 + diff --git a/test/integration/comet2/cmd_CPA_cpa2_s/Makefile b/test/integration/comet2/cmd_CPA_cpa2_s/Makefile index 5fa2ab8..71791d1 100644 --- a/test/integration/comet2/cmd_CPA_cpa2_s/Makefile +++ b/test/integration/comet2/cmd_CPA_cpa2_s/Makefile @@ -2,6 +2,6 @@ include ../CMD.mk # YACASL2DIR, CASL2 ASDIR = $(YACASL2DIR)/as CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib ASFILE = $(YACASL2DIR)/as/cmd/CPA/cpa2_s.casl -COMET2FLAG = -td -M8 +COMET2FLAG = -td -M16 EXECCMD = $(COMET2) $(COMET2FLAG) $(OBJFILE) include ../TEST.mk diff --git a/test/integration/comet2/cmd_CPL_cpl2_s/0.txt b/test/integration/comet2/cmd_CPL_cpl2_s/0.txt index 674c881..697cede 100644 --- a/test/integration/comet2/cmd_CPL_cpl2_s/0.txt +++ b/test/integration/comet2/cmd_CPL_cpl2_s/0.txt @@ -1,4 +1,4 @@ -../../../../comet2 -td -M8 a.o +../../../../comet2 -td -M16 a.o Executing machine codes #0000: Register:::: @@ -10,12 +10,13 @@ Executing machine codes #0000: GR5: 0 = #0000 = 0000000000000000 #0000: GR6: 0 = #0000 = 0000000000000000 #0000: GR7: 0 = #0000 = 0000000000000000 -#0000: SP: 8 = #0008 = 0000000000001000 +#0000: SP: 16 = #0010 = 0000000000010000 #0000: PR: 0 = #0000 = 0000000000000000 #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: 1010 0006 1020 0007 4512 8100 5000 7000 +#0000: 0000: 1010 0006 1020 0007 4512 8100 5000 7000 0000 0000 0000 0000 0000 0000 0000 0000 + #0002: Register:::: #0002: GR0: 0 = #0000 = 0000000000000000 #0002: GR1: 20480 = #5000 = 0101000000000000 @@ -25,12 +26,13 @@ Executing machine codes #0002: GR5: 0 = #0000 = 0000000000000000 #0002: GR6: 0 = #0000 = 0000000000000000 #0002: GR7: 0 = #0000 = 0000000000000000 -#0002: SP: 8 = #0008 = 0000000000001000 +#0002: SP: 16 = #0010 = 0000000000010000 #0002: PR: 2 = #0002 = 0000000000000010 #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: 1010 0006 1020 0007 4512 8100 5000 7000 +#0002: 0000: 1010 0006 1020 0007 4512 8100 5000 7000 0000 0000 0000 0000 0000 0000 0000 0000 + #0004: Register:::: #0004: GR0: 0 = #0000 = 0000000000000000 #0004: GR1: 20480 = #5000 = 0101000000000000 @@ -40,12 +42,13 @@ Executing machine codes #0004: GR5: 0 = #0000 = 0000000000000000 #0004: GR6: 0 = #0000 = 0000000000000000 #0004: GR7: 0 = #0000 = 0000000000000000 -#0004: SP: 8 = #0008 = 0000000000001000 +#0004: SP: 16 = #0010 = 0000000000010000 #0004: PR: 4 = #0004 = 0000000000000100 #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: 1010 0006 1020 0007 4512 8100 5000 7000 +#0004: 0000: 1010 0006 1020 0007 4512 8100 5000 7000 0000 0000 0000 0000 0000 0000 0000 0000 + #0005: Register:::: #0005: GR0: 0 = #0000 = 0000000000000000 #0005: GR1: 20480 = #5000 = 0101000000000000 @@ -55,9 +58,10 @@ Executing machine codes #0005: GR5: 0 = #0000 = 0000000000000000 #0005: GR6: 0 = #0000 = 0000000000000000 #0005: GR7: 0 = #0000 = 0000000000000000 -#0005: SP: 8 = #0008 = 0000000000001000 +#0005: SP: 16 = #0010 = 0000000000010000 #0005: PR: 5 = #0005 = 0000000000000101 #0005: FR (OF SF ZF): 010 #0005: Memory:::: #0005: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F -#0005: 0000: 1010 0006 1020 0007 4512 8100 5000 7000 +#0005: 0000: 1010 0006 1020 0007 4512 8100 5000 7000 0000 0000 0000 0000 0000 0000 0000 0000 + diff --git a/test/integration/comet2/cmd_CPL_cpl2_s/Makefile b/test/integration/comet2/cmd_CPL_cpl2_s/Makefile index b526972..6384e35 100644 --- a/test/integration/comet2/cmd_CPL_cpl2_s/Makefile +++ b/test/integration/comet2/cmd_CPL_cpl2_s/Makefile @@ -2,6 +2,6 @@ include ../CMD.mk # YACASL2DIR, CASL2 ASDIR = $(YACASL2DIR)/as CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib ASFILE = $(YACASL2DIR)/as/cmd/CPL/cpl2_s.casl -COMET2FLAG = -td -M8 +COMET2FLAG = -td -M16 EXECCMD = $(COMET2) $(COMET2FLAG) $(OBJFILE) include ../TEST.mk diff --git a/test/integration/comet2/cmd_DC_dc_c0/0.txt b/test/integration/comet2/cmd_DC_dc_c0/0.txt index 220c682..3acb45d 100644 --- a/test/integration/comet2/cmd_DC_dc_c0/0.txt +++ b/test/integration/comet2/cmd_DC_dc_c0/0.txt @@ -1,4 +1,4 @@ -../../../../comet2 -td -M8 a.o +../../../../comet2 -td -M128 a.o Executing machine codes #0000: Register:::: @@ -10,9 +10,17 @@ Executing machine codes #0000: GR5: 0 = #0000 = 0000000000000000 #0000: GR6: 0 = #0000 = 0000000000000000 #0000: GR7: 0 = #0000 = 0000000000000000 -#0000: SP: 8 = #0008 = 0000000000001000 +#0000: SP: 128 = #0080 = 0000000010000000 #0000: PR: 0 = #0000 = 0000000000000000 #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: 8100 0020 0021 0022 0023 0024 0025 0026 +#0000: 0000: 8100 0020 0021 0022 0023 0024 0025 0026 0027 0028 0029 002A 002B 002C 002D 002E +#0000: 0010: 002F 0030 0031 0032 0033 0034 0035 0036 0037 0038 0039 003A 003B 003C 003D 003E +#0000: 0020: 003F 0040 0041 0042 0043 0044 0045 0046 0047 0048 0049 004A 004B 004C 004D 004E +#0000: 0030: 004F 0050 0051 0052 0053 0054 0055 0056 0057 0058 0059 005A 005B 005C 005D 005E +#0000: 0040: 005F 0061 0062 0063 0064 0065 0066 0067 0068 0069 006A 006B 006C 006D 006E 006F +#0000: 0050: 0070 0071 0072 0073 0074 0075 0076 0077 0078 0079 007A 007B 007C 007D 007E 0000 +#0000: 0060: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 +#0000: 0070: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 + diff --git a/test/integration/comet2/cmd_DC_dc_c0/Makefile b/test/integration/comet2/cmd_DC_dc_c0/Makefile index f4867d5..a0fa705 100644 --- a/test/integration/comet2/cmd_DC_dc_c0/Makefile +++ b/test/integration/comet2/cmd_DC_dc_c0/Makefile @@ -2,6 +2,6 @@ include ../CMD.mk # YACASL2DIR, CASL2 ASDIR = $(YACASL2DIR)/as CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib ASFILE = $(YACASL2DIR)/as/cmd/DC/dc_c0.casl -COMET2FLAG = -td -M8 +COMET2FLAG = -td -M128 EXECCMD = $(COMET2) $(COMET2FLAG) $(OBJFILE) include ../TEST.mk diff --git a/test/integration/comet2/cmd_DC_dc_c1/0.txt b/test/integration/comet2/cmd_DC_dc_c1/0.txt index 220c682..6909ea3 100644 --- a/test/integration/comet2/cmd_DC_dc_c1/0.txt +++ b/test/integration/comet2/cmd_DC_dc_c1/0.txt @@ -1,4 +1,4 @@ -../../../../comet2 -td -M8 a.o +../../../../comet2 -td -M128 a.o Executing machine codes #0000: Register:::: @@ -10,9 +10,17 @@ Executing machine codes #0000: GR5: 0 = #0000 = 0000000000000000 #0000: GR6: 0 = #0000 = 0000000000000000 #0000: GR7: 0 = #0000 = 0000000000000000 -#0000: SP: 8 = #0008 = 0000000000001000 +#0000: SP: 128 = #0080 = 0000000010000000 #0000: PR: 0 = #0000 = 0000000000000000 #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: 8100 0020 0021 0022 0023 0024 0025 0026 +#0000: 0000: 8100 0020 0021 0022 0023 0024 0025 0026 0027 0028 0029 002A 002B 002C 002D 002E +#0000: 0010: 002F 0030 0031 0032 0033 0034 0035 0036 0037 0038 0039 003A 003B 003C 003D 003E +#0000: 0020: 003F 0040 0041 0042 0043 0044 0045 0046 0047 0047 0048 0049 004A 004B 004C 004D +#0000: 0030: 004E 004F 0050 0051 0052 0053 0054 0055 0056 0057 0058 0059 005A 005B 005C 005D +#0000: 0040: 005E 005F 0061 0062 0063 0064 0065 0066 0067 0068 0069 006A 006B 006C 006D 006E +#0000: 0050: 006F 0070 0071 0072 0073 0074 0075 0076 0077 0078 0079 007A 007B 007C 007D 007E +#0000: 0060: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 +#0000: 0070: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 + diff --git a/test/integration/comet2/cmd_DC_dc_c1/Makefile b/test/integration/comet2/cmd_DC_dc_c1/Makefile index 13ecf19..ece1b3b 100644 --- a/test/integration/comet2/cmd_DC_dc_c1/Makefile +++ b/test/integration/comet2/cmd_DC_dc_c1/Makefile @@ -2,6 +2,6 @@ include ../CMD.mk # YACASL2DIR, CASL2 ASDIR = $(YACASL2DIR)/as CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib ASFILE = $(YACASL2DIR)/as/cmd/DC/dc_c1.casl -COMET2FLAG = -td -M8 +COMET2FLAG = -td -M128 EXECCMD = $(COMET2) $(COMET2FLAG) $(OBJFILE) include ../TEST.mk diff --git a/test/integration/comet2/cmd_DC_dc_i0/0.txt b/test/integration/comet2/cmd_DC_dc_i0/0.txt index 98d8fb8..f50394e 100644 --- a/test/integration/comet2/cmd_DC_dc_i0/0.txt +++ b/test/integration/comet2/cmd_DC_dc_i0/0.txt @@ -1,4 +1,4 @@ -../../../../comet2 -td -M8 a.o +../../../../comet2 -td -M32 a.o Executing machine codes #0000: Register:::: @@ -10,9 +10,11 @@ Executing machine codes #0000: GR5: 0 = #0000 = 0000000000000000 #0000: GR6: 0 = #0000 = 0000000000000000 #0000: GR7: 0 = #0000 = 0000000000000000 -#0000: SP: 8 = #0008 = 0000000000001000 +#0000: SP: 32 = #0020 = 0000000000100000 #0000: PR: 0 = #0000 = 0000000000000000 #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: 8100 0000 0001 000A 7FFF 8000 FFFF 0000 +#0000: 0000: 8100 0000 0001 000A 7FFF 8000 FFFF 0000 0001 FFFF FFF6 8001 8000 7FFF 0000 0001 +#0000: 0010: 0001 0001 0001 0010 0011 000F 000F FFFF 0000 0000 0000 0000 0000 0000 0000 0000 + diff --git a/test/integration/comet2/cmd_DC_dc_i0/Makefile b/test/integration/comet2/cmd_DC_dc_i0/Makefile index c21313e..a2161fb 100644 --- a/test/integration/comet2/cmd_DC_dc_i0/Makefile +++ b/test/integration/comet2/cmd_DC_dc_i0/Makefile @@ -2,6 +2,6 @@ include ../CMD.mk # YACASL2DIR, CASL2 ASDIR = $(YACASL2DIR)/as CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib ASFILE = $(YACASL2DIR)/as/cmd/DC/dc_i0.casl -COMET2FLAG = -td -M8 +COMET2FLAG = -td -M32 EXECCMD = $(COMET2) $(COMET2FLAG) $(OBJFILE) include ../TEST.mk diff --git a/test/integration/comet2/cmd_DC_dc_i1/0.txt b/test/integration/comet2/cmd_DC_dc_i1/0.txt index 5a8b5f8..88aa012 100644 --- a/test/integration/comet2/cmd_DC_dc_i1/0.txt +++ b/test/integration/comet2/cmd_DC_dc_i1/0.txt @@ -1,4 +1,4 @@ -../../../../comet2 -td -M8 a.o +../../../../comet2 -td -M32 a.o Executing machine codes #0000: Register:::: @@ -10,9 +10,11 @@ Executing machine codes #0000: GR5: 0 = #0000 = 0000000000000000 #0000: GR6: 0 = #0000 = 0000000000000000 #0000: GR7: 0 = #0000 = 0000000000000000 -#0000: SP: 8 = #0008 = 0000000000001000 +#0000: SP: 32 = #0020 = 0000000000100000 #0000: PR: 0 = #0000 = 0000000000000000 #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: 8100 0001 000A 7FFF 8000 FFFF 0000 0001 +#0000: 0000: 8100 0001 000A 7FFF 8000 FFFF 0000 0001 FFFF FFF6 8001 8000 7FFF 0000 0001 0001 +#0000: 0010: 0001 0001 0010 0011 000F 000F FFFF 0000 0000 0000 0000 0000 0000 0000 0000 0000 + diff --git a/test/integration/comet2/cmd_DC_dc_i1/Makefile b/test/integration/comet2/cmd_DC_dc_i1/Makefile index ce0b098..abf6e11 100644 --- a/test/integration/comet2/cmd_DC_dc_i1/Makefile +++ b/test/integration/comet2/cmd_DC_dc_i1/Makefile @@ -2,6 +2,6 @@ include ../CMD.mk # YACASL2DIR, CASL2 ASDIR = $(YACASL2DIR)/as CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib ASFILE = $(YACASL2DIR)/as/cmd/DC/dc_i1.casl -COMET2FLAG = -td -M8 +COMET2FLAG = -td -M32 EXECCMD = $(COMET2) $(COMET2FLAG) $(OBJFILE) include ../TEST.mk diff --git a/test/integration/comet2/cmd_DC_dc_i_of/0.txt b/test/integration/comet2/cmd_DC_dc_i_of/0.txt index 89fb2c6..e6d5bac 100644 --- a/test/integration/comet2/cmd_DC_dc_i_of/0.txt +++ b/test/integration/comet2/cmd_DC_dc_i_of/0.txt @@ -1,4 +1,4 @@ -../../../../comet2 -td -M8 a.o +../../../../comet2 -td -M32 a.o Executing machine codes #0000: Register:::: @@ -10,9 +10,11 @@ Executing machine codes #0000: GR5: 0 = #0000 = 0000000000000000 #0000: GR6: 0 = #0000 = 0000000000000000 #0000: GR7: 0 = #0000 = 0000000000000000 -#0000: SP: 8 = #0008 = 0000000000001000 +#0000: SP: 32 = #0020 = 0000000000100000 #0000: PR: 0 = #0000 = 0000000000000000 #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: 8100 7FFF 8000 FFFF 0000 0001 8000 7FFF +#0000: 0000: 8100 7FFF 8000 FFFF 0000 0001 8000 7FFF 0001 0000 FFFF 0000 0000 0000 0000 0000 +#0000: 0010: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 + diff --git a/test/integration/comet2/cmd_DC_dc_i_of/Makefile b/test/integration/comet2/cmd_DC_dc_i_of/Makefile index 890db83..26de6c3 100644 --- a/test/integration/comet2/cmd_DC_dc_i_of/Makefile +++ b/test/integration/comet2/cmd_DC_dc_i_of/Makefile @@ -2,6 +2,6 @@ include ../CMD.mk # YACASL2DIR, CASL2 ASDIR = $(YACASL2DIR)/as CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib ASFILE = $(YACASL2DIR)/as/cmd/DC/dc_i_o.casl -COMET2FLAG = -td -M8 +COMET2FLAG = -td -M32 EXECCMD = $(COMET2) $(COMET2FLAG) $(OBJFILE) include ../TEST.mk diff --git a/test/integration/comet2/cmd_DS_ds/0.txt b/test/integration/comet2/cmd_DS_ds/0.txt index e9c120b..99a6e2d 100644 --- a/test/integration/comet2/cmd_DS_ds/0.txt +++ b/test/integration/comet2/cmd_DS_ds/0.txt @@ -1,4 +1,4 @@ -../../../../comet2 -td -M16 a.o +../../../../comet2 -td -M32 a.o Executing machine codes #0000: Register:::: @@ -10,12 +10,13 @@ Executing machine codes #0000: GR5: 0 = #0000 = 0000000000000000 #0000: GR6: 0 = #0000 = 0000000000000000 #0000: GR7: 0 = #0000 = 0000000000000000 -#0000: SP: 16 = #0010 = 0000000000010000 +#0000: SP: 32 = #0020 = 0000000000100000 #0000: PR: 0 = #0000 = 0000000000000000 #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: 1210 000B 1210 000C 1210 000E 1210 0012 1210 0012 8100 0000 0000 0000 0000 0000 +#0000: 0010: 0000 0000 FFFF 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 #0002: Register:::: #0002: GR0: 0 = #0000 = 0000000000000000 @@ -26,12 +27,13 @@ Executing machine codes #0002: GR5: 0 = #0000 = 0000000000000000 #0002: GR6: 0 = #0000 = 0000000000000000 #0002: GR7: 0 = #0000 = 0000000000000000 -#0002: SP: 16 = #0010 = 0000000000010000 +#0002: SP: 32 = #0020 = 0000000000100000 #0002: PR: 2 = #0002 = 0000000000000010 #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: 1210 000B 1210 000C 1210 000E 1210 0012 1210 0012 8100 0000 0000 0000 0000 0000 +#0002: 0010: 0000 0000 FFFF 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 #0004: Register:::: #0004: GR0: 0 = #0000 = 0000000000000000 @@ -42,12 +44,13 @@ Executing machine codes #0004: GR5: 0 = #0000 = 0000000000000000 #0004: GR6: 0 = #0000 = 0000000000000000 #0004: GR7: 0 = #0000 = 0000000000000000 -#0004: SP: 16 = #0010 = 0000000000010000 +#0004: SP: 32 = #0020 = 0000000000100000 #0004: PR: 4 = #0004 = 0000000000000100 #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: 1210 000B 1210 000C 1210 000E 1210 0012 1210 0012 8100 0000 0000 0000 0000 0000 +#0004: 0010: 0000 0000 FFFF 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 #0006: Register:::: #0006: GR0: 0 = #0000 = 0000000000000000 @@ -58,12 +61,13 @@ Executing machine codes #0006: GR5: 0 = #0000 = 0000000000000000 #0006: GR6: 0 = #0000 = 0000000000000000 #0006: GR7: 0 = #0000 = 0000000000000000 -#0006: SP: 16 = #0010 = 0000000000010000 +#0006: SP: 32 = #0020 = 0000000000100000 #0006: PR: 6 = #0006 = 0000000000000110 #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: 1210 000B 1210 000C 1210 000E 1210 0012 1210 0012 8100 0000 0000 0000 0000 0000 +#0006: 0010: 0000 0000 FFFF 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 #0008: Register:::: #0008: GR0: 0 = #0000 = 0000000000000000 @@ -74,12 +78,13 @@ Executing machine codes #0008: GR5: 0 = #0000 = 0000000000000000 #0008: GR6: 0 = #0000 = 0000000000000000 #0008: GR7: 0 = #0000 = 0000000000000000 -#0008: SP: 16 = #0010 = 0000000000010000 +#0008: SP: 32 = #0020 = 0000000000100000 #0008: PR: 8 = #0008 = 0000000000001000 #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: 1210 000B 1210 000C 1210 000E 1210 0012 1210 0012 8100 0000 0000 0000 0000 0000 +#0008: 0010: 0000 0000 FFFF 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 #000A: Register:::: #000A: GR0: 0 = #0000 = 0000000000000000 @@ -90,10 +95,11 @@ Executing machine codes #000A: GR5: 0 = #0000 = 0000000000000000 #000A: GR6: 0 = #0000 = 0000000000000000 #000A: GR7: 0 = #0000 = 0000000000000000 -#000A: SP: 16 = #0010 = 0000000000010000 +#000A: SP: 32 = #0020 = 0000000000100000 #000A: PR: 10 = #000A = 0000000000001010 #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: 1210 000B 1210 000C 1210 000E 1210 0012 1210 0012 8100 0000 0000 0000 0000 0000 +#000A: 0010: 0000 0000 FFFF 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 diff --git a/test/integration/comet2/cmd_DS_ds/Makefile b/test/integration/comet2/cmd_DS_ds/Makefile index 7ef440f..d72db36 100644 --- a/test/integration/comet2/cmd_DS_ds/Makefile +++ b/test/integration/comet2/cmd_DS_ds/Makefile @@ -2,6 +2,6 @@ include ../CMD.mk # YACASL2DIR, CASL2 ASDIR = $(YACASL2DIR)/as CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib ASFILE = $(YACASL2DIR)/as/cmd/DS/ds.casl -COMET2FLAG = -td -M16 +COMET2FLAG = -td -M32 EXECCMD = $(COMET2) $(COMET2FLAG) $(OBJFILE) include ../TEST.mk diff --git a/test/integration/comet2/cmd_OR_or2/0.txt b/test/integration/comet2/cmd_OR_or2/0.txt index f861281..bb17d5d 100644 --- a/test/integration/comet2/cmd_OR_or2/0.txt +++ b/test/integration/comet2/cmd_OR_or2/0.txt @@ -1,4 +1,4 @@ -../../../../comet2 -td -M8 a.o +../../../../comet2 -td -M16 a.o Executing machine codes #0000: Register:::: @@ -10,12 +10,13 @@ Executing machine codes #0000: GR5: 0 = #0000 = 0000000000000000 #0000: GR6: 0 = #0000 = 0000000000000000 #0000: GR7: 0 = #0000 = 0000000000000000 -#0000: SP: 8 = #0008 = 0000000000001000 +#0000: SP: 16 = #0010 = 0000000000010000 #0000: PR: 0 = #0000 = 0000000000000000 #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: 1010 0006 1020 0007 3512 8100 3000 4FFF +#0000: 0000: 1010 0006 1020 0007 3512 8100 3000 4FFF 0000 0000 0000 0000 0000 0000 0000 0000 + #0002: Register:::: #0002: GR0: 0 = #0000 = 0000000000000000 #0002: GR1: 12288 = #3000 = 0011000000000000 @@ -25,12 +26,13 @@ Executing machine codes #0002: GR5: 0 = #0000 = 0000000000000000 #0002: GR6: 0 = #0000 = 0000000000000000 #0002: GR7: 0 = #0000 = 0000000000000000 -#0002: SP: 8 = #0008 = 0000000000001000 +#0002: SP: 16 = #0010 = 0000000000010000 #0002: PR: 2 = #0002 = 0000000000000010 #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: 1010 0006 1020 0007 3512 8100 3000 4FFF +#0002: 0000: 1010 0006 1020 0007 3512 8100 3000 4FFF 0000 0000 0000 0000 0000 0000 0000 0000 + #0004: Register:::: #0004: GR0: 0 = #0000 = 0000000000000000 #0004: GR1: 12288 = #3000 = 0011000000000000 @@ -40,12 +42,13 @@ Executing machine codes #0004: GR5: 0 = #0000 = 0000000000000000 #0004: GR6: 0 = #0000 = 0000000000000000 #0004: GR7: 0 = #0000 = 0000000000000000 -#0004: SP: 8 = #0008 = 0000000000001000 +#0004: SP: 16 = #0010 = 0000000000010000 #0004: PR: 4 = #0004 = 0000000000000100 #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: 1010 0006 1020 0007 3512 8100 3000 4FFF +#0004: 0000: 1010 0006 1020 0007 3512 8100 3000 4FFF 0000 0000 0000 0000 0000 0000 0000 0000 + #0005: Register:::: #0005: GR0: 0 = #0000 = 0000000000000000 #0005: GR1: 32767 = #7FFF = 0111111111111111 @@ -55,9 +58,10 @@ Executing machine codes #0005: GR5: 0 = #0000 = 0000000000000000 #0005: GR6: 0 = #0000 = 0000000000000000 #0005: GR7: 0 = #0000 = 0000000000000000 -#0005: SP: 8 = #0008 = 0000000000001000 +#0005: SP: 16 = #0010 = 0000000000010000 #0005: PR: 5 = #0005 = 0000000000000101 #0005: FR (OF SF ZF): 000 #0005: Memory:::: #0005: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F -#0005: 0000: 1010 0006 1020 0007 3512 8100 3000 4FFF +#0005: 0000: 1010 0006 1020 0007 3512 8100 3000 4FFF 0000 0000 0000 0000 0000 0000 0000 0000 + diff --git a/test/integration/comet2/cmd_OR_or2/Makefile b/test/integration/comet2/cmd_OR_or2/Makefile index 0ceeafa..c8dc222 100644 --- a/test/integration/comet2/cmd_OR_or2/Makefile +++ b/test/integration/comet2/cmd_OR_or2/Makefile @@ -2,6 +2,6 @@ include ../CMD.mk # YACASL2DIR, CASL2 ASDIR = $(YACASL2DIR)/as CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib ASFILE = $(YACASL2DIR)/as/cmd/OR/or2.casl -COMET2FLAG = -td -M8 +COMET2FLAG = -td -M16 EXECCMD = $(COMET2) $(COMET2FLAG) $(OBJFILE) include ../TEST.mk diff --git a/test/integration/comet2/cmd_ST_st1/0.txt b/test/integration/comet2/cmd_ST_st1/0.txt index 0f4cf1d..e444b13 100644 --- a/test/integration/comet2/cmd_ST_st1/0.txt +++ b/test/integration/comet2/cmd_ST_st1/0.txt @@ -1,4 +1,4 @@ -../../../../comet2 -td -M8 a.o +../../../../comet2 -td -M16 a.o Executing machine codes #0000: Register:::: @@ -10,12 +10,13 @@ Executing machine codes #0000: GR5: 0 = #0000 = 0000000000000000 #0000: GR6: 0 = #0000 = 0000000000000000 #0000: GR7: 0 = #0000 = 0000000000000000 -#0000: SP: 8 = #0008 = 0000000000001000 +#0000: SP: 16 = #0010 = 0000000000010000 #0000: PR: 0 = #0000 = 0000000000000000 #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: 1010 0007 1220 0007 1112 0001 8100 0005 +#0000: 0000: 1010 0007 1220 0007 1112 0001 8100 0005 0000 0000 0000 0000 0000 0000 0000 0000 + #0002: Register:::: #0002: GR0: 0 = #0000 = 0000000000000000 #0002: GR1: 5 = #0005 = 0000000000000101 @@ -25,12 +26,13 @@ Executing machine codes #0002: GR5: 0 = #0000 = 0000000000000000 #0002: GR6: 0 = #0000 = 0000000000000000 #0002: GR7: 0 = #0000 = 0000000000000000 -#0002: SP: 8 = #0008 = 0000000000001000 +#0002: SP: 16 = #0010 = 0000000000010000 #0002: PR: 2 = #0002 = 0000000000000010 #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: 1010 0007 1220 0007 1112 0001 8100 0005 +#0002: 0000: 1010 0007 1220 0007 1112 0001 8100 0005 0000 0000 0000 0000 0000 0000 0000 0000 + #0004: Register:::: #0004: GR0: 0 = #0000 = 0000000000000000 #0004: GR1: 5 = #0005 = 0000000000000101 @@ -40,12 +42,13 @@ Executing machine codes #0004: GR5: 0 = #0000 = 0000000000000000 #0004: GR6: 0 = #0000 = 0000000000000000 #0004: GR7: 0 = #0000 = 0000000000000000 -#0004: SP: 8 = #0008 = 0000000000001000 +#0004: SP: 16 = #0010 = 0000000000010000 #0004: PR: 4 = #0004 = 0000000000000100 #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: 1010 0007 1220 0007 1112 0001 8100 0005 +#0004: 0000: 1010 0007 1220 0007 1112 0001 8100 0005 0000 0000 0000 0000 0000 0000 0000 0000 + #0006: Register:::: #0006: GR0: 0 = #0000 = 0000000000000000 #0006: GR1: 5 = #0005 = 0000000000000101 @@ -55,9 +58,10 @@ Executing machine codes #0006: GR5: 0 = #0000 = 0000000000000000 #0006: GR6: 0 = #0000 = 0000000000000000 #0006: GR7: 0 = #0000 = 0000000000000000 -#0006: SP: 8 = #0008 = 0000000000001000 +#0006: SP: 16 = #0010 = 0000000000010000 #0006: PR: 6 = #0006 = 0000000000000110 #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: 1010 0007 1220 0007 1112 0001 8100 0005 +#0006: 0000: 1010 0007 1220 0007 1112 0001 8100 0005 0005 0000 0000 0000 0000 0000 0000 0000 + diff --git a/test/integration/comet2/cmd_ST_st1/Makefile b/test/integration/comet2/cmd_ST_st1/Makefile index eb2697d..5183b47 100644 --- a/test/integration/comet2/cmd_ST_st1/Makefile +++ b/test/integration/comet2/cmd_ST_st1/Makefile @@ -2,6 +2,6 @@ include ../CMD.mk # YACASL2DIR, CASL2 ASDIR = $(YACASL2DIR)/as CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib ASFILE = $(YACASL2DIR)/as/cmd/ST/st1.casl -COMET2FLAG = -td -M8 +COMET2FLAG = -td -M16 EXECCMD = $(COMET2) $(COMET2FLAG) $(OBJFILE) include ../TEST.mk diff --git a/test/integration/comet2/cmd_SUBA_suba2/0.txt b/test/integration/comet2/cmd_SUBA_suba2/0.txt index 74a4c60..01756a1 100644 --- a/test/integration/comet2/cmd_SUBA_suba2/0.txt +++ b/test/integration/comet2/cmd_SUBA_suba2/0.txt @@ -1,4 +1,4 @@ -../../../../comet2 -td -M8 a.o +../../../../comet2 -td -M16 a.o Executing machine codes #0000: Register:::: @@ -10,12 +10,13 @@ Executing machine codes #0000: GR5: 0 = #0000 = 0000000000000000 #0000: GR6: 0 = #0000 = 0000000000000000 #0000: GR7: 0 = #0000 = 0000000000000000 -#0000: SP: 8 = #0008 = 0000000000001000 +#0000: SP: 16 = #0010 = 0000000000010000 #0000: PR: 0 = #0000 = 0000000000000000 #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: 1010 0006 1020 0007 2512 8100 0003 0001 +#0000: 0000: 1010 0006 1020 0007 2512 8100 0003 0001 0000 0000 0000 0000 0000 0000 0000 0000 + #0002: Register:::: #0002: GR0: 0 = #0000 = 0000000000000000 #0002: GR1: 3 = #0003 = 0000000000000011 @@ -25,12 +26,13 @@ Executing machine codes #0002: GR5: 0 = #0000 = 0000000000000000 #0002: GR6: 0 = #0000 = 0000000000000000 #0002: GR7: 0 = #0000 = 0000000000000000 -#0002: SP: 8 = #0008 = 0000000000001000 +#0002: SP: 16 = #0010 = 0000000000010000 #0002: PR: 2 = #0002 = 0000000000000010 #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: 1010 0006 1020 0007 2512 8100 0003 0001 +#0002: 0000: 1010 0006 1020 0007 2512 8100 0003 0001 0000 0000 0000 0000 0000 0000 0000 0000 + #0004: Register:::: #0004: GR0: 0 = #0000 = 0000000000000000 #0004: GR1: 3 = #0003 = 0000000000000011 @@ -40,12 +42,13 @@ Executing machine codes #0004: GR5: 0 = #0000 = 0000000000000000 #0004: GR6: 0 = #0000 = 0000000000000000 #0004: GR7: 0 = #0000 = 0000000000000000 -#0004: SP: 8 = #0008 = 0000000000001000 +#0004: SP: 16 = #0010 = 0000000000010000 #0004: PR: 4 = #0004 = 0000000000000100 #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: 1010 0006 1020 0007 2512 8100 0003 0001 +#0004: 0000: 1010 0006 1020 0007 2512 8100 0003 0001 0000 0000 0000 0000 0000 0000 0000 0000 + #0005: Register:::: #0005: GR0: 0 = #0000 = 0000000000000000 #0005: GR1: 2 = #0002 = 0000000000000010 @@ -55,9 +58,10 @@ Executing machine codes #0005: GR5: 0 = #0000 = 0000000000000000 #0005: GR6: 0 = #0000 = 0000000000000000 #0005: GR7: 0 = #0000 = 0000000000000000 -#0005: SP: 8 = #0008 = 0000000000001000 +#0005: SP: 16 = #0010 = 0000000000010000 #0005: PR: 5 = #0005 = 0000000000000101 #0005: FR (OF SF ZF): 000 #0005: Memory:::: #0005: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F -#0005: 0000: 1010 0006 1020 0007 2512 8100 0003 0001 +#0005: 0000: 1010 0006 1020 0007 2512 8100 0003 0001 0000 0000 0000 0000 0000 0000 0000 0000 + diff --git a/test/integration/comet2/cmd_SUBA_suba2/Makefile b/test/integration/comet2/cmd_SUBA_suba2/Makefile index 2311aeb..aa983db 100644 --- a/test/integration/comet2/cmd_SUBA_suba2/Makefile +++ b/test/integration/comet2/cmd_SUBA_suba2/Makefile @@ -2,6 +2,6 @@ include ../CMD.mk # YACASL2DIR, CASL2 ASDIR = $(YACASL2DIR)/as CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib ASFILE = $(YACASL2DIR)/as/cmd/SUBA/suba2.casl -COMET2FLAG = -td -M8 +COMET2FLAG = -td -M16 EXECCMD = $(COMET2) $(COMET2FLAG) $(OBJFILE) include ../TEST.mk diff --git a/test/integration/comet2/cmd_SUBL_subl2/0.txt b/test/integration/comet2/cmd_SUBL_subl2/0.txt index 883310d..7d5fc24 100644 --- a/test/integration/comet2/cmd_SUBL_subl2/0.txt +++ b/test/integration/comet2/cmd_SUBL_subl2/0.txt @@ -1,4 +1,4 @@ -../../../../comet2 -td -M8 a.o +../../../../comet2 -td -M16 a.o Executing machine codes #0000: Register:::: @@ -10,12 +10,13 @@ Executing machine codes #0000: GR5: 0 = #0000 = 0000000000000000 #0000: GR6: 0 = #0000 = 0000000000000000 #0000: GR7: 0 = #0000 = 0000000000000000 -#0000: SP: 8 = #0008 = 0000000000001000 +#0000: SP: 16 = #0010 = 0000000000010000 #0000: PR: 0 = #0000 = 0000000000000000 #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: 1010 0006 1020 0007 2712 8100 0003 0001 +#0000: 0000: 1010 0006 1020 0007 2712 8100 0003 0001 0000 0000 0000 0000 0000 0000 0000 0000 + #0002: Register:::: #0002: GR0: 0 = #0000 = 0000000000000000 #0002: GR1: 3 = #0003 = 0000000000000011 @@ -25,12 +26,13 @@ Executing machine codes #0002: GR5: 0 = #0000 = 0000000000000000 #0002: GR6: 0 = #0000 = 0000000000000000 #0002: GR7: 0 = #0000 = 0000000000000000 -#0002: SP: 8 = #0008 = 0000000000001000 +#0002: SP: 16 = #0010 = 0000000000010000 #0002: PR: 2 = #0002 = 0000000000000010 #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: 1010 0006 1020 0007 2712 8100 0003 0001 +#0002: 0000: 1010 0006 1020 0007 2712 8100 0003 0001 0000 0000 0000 0000 0000 0000 0000 0000 + #0004: Register:::: #0004: GR0: 0 = #0000 = 0000000000000000 #0004: GR1: 3 = #0003 = 0000000000000011 @@ -40,12 +42,13 @@ Executing machine codes #0004: GR5: 0 = #0000 = 0000000000000000 #0004: GR6: 0 = #0000 = 0000000000000000 #0004: GR7: 0 = #0000 = 0000000000000000 -#0004: SP: 8 = #0008 = 0000000000001000 +#0004: SP: 16 = #0010 = 0000000000010000 #0004: PR: 4 = #0004 = 0000000000000100 #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: 1010 0006 1020 0007 2712 8100 0003 0001 +#0004: 0000: 1010 0006 1020 0007 2712 8100 0003 0001 0000 0000 0000 0000 0000 0000 0000 0000 + #0005: Register:::: #0005: GR0: 0 = #0000 = 0000000000000000 #0005: GR1: 2 = #0002 = 0000000000000010 @@ -55,9 +58,10 @@ Executing machine codes #0005: GR5: 0 = #0000 = 0000000000000000 #0005: GR6: 0 = #0000 = 0000000000000000 #0005: GR7: 0 = #0000 = 0000000000000000 -#0005: SP: 8 = #0008 = 0000000000001000 +#0005: SP: 16 = #0010 = 0000000000010000 #0005: PR: 5 = #0005 = 0000000000000101 #0005: FR (OF SF ZF): 100 #0005: Memory:::: #0005: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F -#0005: 0000: 1010 0006 1020 0007 2712 8100 0003 0001 +#0005: 0000: 1010 0006 1020 0007 2712 8100 0003 0001 0000 0000 0000 0000 0000 0000 0000 0000 + diff --git a/test/integration/comet2/cmd_SUBL_subl2/Makefile b/test/integration/comet2/cmd_SUBL_subl2/Makefile index d154116..78961cc 100644 --- a/test/integration/comet2/cmd_SUBL_subl2/Makefile +++ b/test/integration/comet2/cmd_SUBL_subl2/Makefile @@ -2,6 +2,6 @@ include ../CMD.mk # YACASL2DIR, CASL2 ASDIR = $(YACASL2DIR)/as CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib ASFILE = $(YACASL2DIR)/as/cmd/SUBL/subl2.casl -COMET2FLAG = -td -M8 +COMET2FLAG = -td -M16 EXECCMD = $(COMET2) $(COMET2FLAG) $(OBJFILE) include ../TEST.mk diff --git a/test/integration/comet2/cmd_XOR_xor1/0.txt b/test/integration/comet2/cmd_XOR_xor1/0.txt index c51562b..0178c7a 100644 --- a/test/integration/comet2/cmd_XOR_xor1/0.txt +++ b/test/integration/comet2/cmd_XOR_xor1/0.txt @@ -1,4 +1,4 @@ -../../../../comet2 -td -M8 a.o +../../../../comet2 -td -M16 a.o Executing machine codes #0000: Register:::: @@ -10,12 +10,13 @@ Executing machine codes #0000: GR5: 0 = #0000 = 0000000000000000 #0000: GR6: 0 = #0000 = 0000000000000000 #0000: GR7: 0 = #0000 = 0000000000000000 -#0000: SP: 8 = #0008 = 0000000000001000 +#0000: SP: 16 = #0010 = 0000000000010000 #0000: PR: 0 = #0000 = 0000000000000000 #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: 1010 0007 1220 0001 3212 0001 8100 3000 +#0000: 0000: 1010 0007 1220 0001 3212 0001 8100 3000 4FFF 0000 0000 0000 0000 0000 0000 0000 + #0002: Register:::: #0002: GR0: 0 = #0000 = 0000000000000000 #0002: GR1: 12288 = #3000 = 0011000000000000 @@ -25,12 +26,13 @@ Executing machine codes #0002: GR5: 0 = #0000 = 0000000000000000 #0002: GR6: 0 = #0000 = 0000000000000000 #0002: GR7: 0 = #0000 = 0000000000000000 -#0002: SP: 8 = #0008 = 0000000000001000 +#0002: SP: 16 = #0010 = 0000000000010000 #0002: PR: 2 = #0002 = 0000000000000010 #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: 1010 0007 1220 0001 3212 0001 8100 3000 +#0002: 0000: 1010 0007 1220 0001 3212 0001 8100 3000 4FFF 0000 0000 0000 0000 0000 0000 0000 + #0004: Register:::: #0004: GR0: 0 = #0000 = 0000000000000000 #0004: GR1: 12288 = #3000 = 0011000000000000 @@ -40,12 +42,13 @@ Executing machine codes #0004: GR5: 0 = #0000 = 0000000000000000 #0004: GR6: 0 = #0000 = 0000000000000000 #0004: GR7: 0 = #0000 = 0000000000000000 -#0004: SP: 8 = #0008 = 0000000000001000 +#0004: SP: 16 = #0010 = 0000000000010000 #0004: PR: 4 = #0004 = 0000000000000100 #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: 1010 0007 1220 0001 3212 0001 8100 3000 +#0004: 0000: 1010 0007 1220 0001 3212 0001 8100 3000 4FFF 0000 0000 0000 0000 0000 0000 0000 + #0006: Register:::: #0006: GR0: 0 = #0000 = 0000000000000000 #0006: GR1: 8736 = #2220 = 0010001000100000 @@ -55,9 +58,10 @@ Executing machine codes #0006: GR5: 0 = #0000 = 0000000000000000 #0006: GR6: 0 = #0000 = 0000000000000000 #0006: GR7: 0 = #0000 = 0000000000000000 -#0006: SP: 8 = #0008 = 0000000000001000 +#0006: SP: 16 = #0010 = 0000000000010000 #0006: PR: 6 = #0006 = 0000000000000110 #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: 1010 0007 1220 0001 3212 0001 8100 3000 +#0006: 0000: 1010 0007 1220 0001 3212 0001 8100 3000 4FFF 0000 0000 0000 0000 0000 0000 0000 + diff --git a/test/integration/comet2/cmd_XOR_xor1/Makefile b/test/integration/comet2/cmd_XOR_xor1/Makefile index 9c833bd..871b00c 100644 --- a/test/integration/comet2/cmd_XOR_xor1/Makefile +++ b/test/integration/comet2/cmd_XOR_xor1/Makefile @@ -2,6 +2,6 @@ include ../CMD.mk # YACASL2DIR, CASL2 ASDIR = $(YACASL2DIR)/as CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib ASFILE = $(YACASL2DIR)/as/cmd/XOR/xor1.casl -COMET2FLAG = -td -M8 +COMET2FLAG = -td -M16 EXECCMD = $(COMET2) $(COMET2FLAG) $(OBJFILE) include ../TEST.mk diff --git a/test/integration/comet2/cmd_XOR_xor2/0.txt b/test/integration/comet2/cmd_XOR_xor2/0.txt index 85bdaa1..eff7d71 100644 --- a/test/integration/comet2/cmd_XOR_xor2/0.txt +++ b/test/integration/comet2/cmd_XOR_xor2/0.txt @@ -1,4 +1,4 @@ -../../../../comet2 -td -M8 a.o +../../../../comet2 -td -M16 a.o Executing machine codes #0000: Register:::: @@ -10,12 +10,13 @@ Executing machine codes #0000: GR5: 0 = #0000 = 0000000000000000 #0000: GR6: 0 = #0000 = 0000000000000000 #0000: GR7: 0 = #0000 = 0000000000000000 -#0000: SP: 8 = #0008 = 0000000000001000 +#0000: SP: 16 = #0010 = 0000000000010000 #0000: PR: 0 = #0000 = 0000000000000000 #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: 1010 0006 1020 0007 3612 8100 3000 4FFF +#0000: 0000: 1010 0006 1020 0007 3612 8100 3000 4FFF 0000 0000 0000 0000 0000 0000 0000 0000 + #0002: Register:::: #0002: GR0: 0 = #0000 = 0000000000000000 #0002: GR1: 12288 = #3000 = 0011000000000000 @@ -25,12 +26,13 @@ Executing machine codes #0002: GR5: 0 = #0000 = 0000000000000000 #0002: GR6: 0 = #0000 = 0000000000000000 #0002: GR7: 0 = #0000 = 0000000000000000 -#0002: SP: 8 = #0008 = 0000000000001000 +#0002: SP: 16 = #0010 = 0000000000010000 #0002: PR: 2 = #0002 = 0000000000000010 #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: 1010 0006 1020 0007 3612 8100 3000 4FFF +#0002: 0000: 1010 0006 1020 0007 3612 8100 3000 4FFF 0000 0000 0000 0000 0000 0000 0000 0000 + #0004: Register:::: #0004: GR0: 0 = #0000 = 0000000000000000 #0004: GR1: 12288 = #3000 = 0011000000000000 @@ -40,12 +42,13 @@ Executing machine codes #0004: GR5: 0 = #0000 = 0000000000000000 #0004: GR6: 0 = #0000 = 0000000000000000 #0004: GR7: 0 = #0000 = 0000000000000000 -#0004: SP: 8 = #0008 = 0000000000001000 +#0004: SP: 16 = #0010 = 0000000000010000 #0004: PR: 4 = #0004 = 0000000000000100 #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: 1010 0006 1020 0007 3612 8100 3000 4FFF +#0004: 0000: 1010 0006 1020 0007 3612 8100 3000 4FFF 0000 0000 0000 0000 0000 0000 0000 0000 + #0005: Register:::: #0005: GR0: 0 = #0000 = 0000000000000000 #0005: GR1: 32767 = #7FFF = 0111111111111111 @@ -55,9 +58,10 @@ Executing machine codes #0005: GR5: 0 = #0000 = 0000000000000000 #0005: GR6: 0 = #0000 = 0000000000000000 #0005: GR7: 0 = #0000 = 0000000000000000 -#0005: SP: 8 = #0008 = 0000000000001000 +#0005: SP: 16 = #0010 = 0000000000010000 #0005: PR: 5 = #0005 = 0000000000000101 #0005: FR (OF SF ZF): 000 #0005: Memory:::: #0005: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F -#0005: 0000: 1010 0006 1020 0007 3612 8100 3000 4FFF +#0005: 0000: 1010 0006 1020 0007 3612 8100 3000 4FFF 0000 0000 0000 0000 0000 0000 0000 0000 + diff --git a/test/integration/comet2/cmd_XOR_xor2/Makefile b/test/integration/comet2/cmd_XOR_xor2/Makefile index 552fa22..49a0f91 100644 --- a/test/integration/comet2/cmd_XOR_xor2/Makefile +++ b/test/integration/comet2/cmd_XOR_xor2/Makefile @@ -2,6 +2,6 @@ include ../CMD.mk # YACASL2DIR, CASL2 ASDIR = $(YACASL2DIR)/as CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib ASFILE = $(YACASL2DIR)/as/cmd/XOR/xor2.casl -COMET2FLAG = -td -M8 +COMET2FLAG = -td -M16 EXECCMD = $(COMET2) $(COMET2FLAG) $(OBJFILE) include ../TEST.mk diff --git a/test/integration/comet2/hello/0.txt b/test/integration/comet2/hello/0.txt index 0163dd7..420d1d3 100644 --- a/test/integration/comet2/hello/0.txt +++ b/test/integration/comet2/hello/0.txt @@ -1,190 +1,2 @@ -../../../../comet2 -td -M32 a.o - -Executing machine codes -#0000: Register:::: -#0000: GR0: 0 = #0000 = 0000000000000000 -#0000: GR1: 0 = #0000 = 0000000000000000 -#0000: GR2: 0 = #0000 = 0000000000000000 -#0000: GR3: 0 = #0000 = 0000000000000000 -#0000: GR4: 0 = #0000 = 0000000000000000 -#0000: GR5: 0 = #0000 = 0000000000000000 -#0000: GR6: 0 = #0000 = 0000000000000000 -#0000: GR7: 0 = #0000 = 0000000000000000 -#0000: SP: 32 = #0020 = 0000000000100000 -#0000: PR: 0 = #0000 = 0000000000000000 -#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 1220 0020 F000 0002 1210 0021 1220 0022 F000 0002 -#0000: 0010: 7120 7110 8100 0048 0065 006C 006C 006F 002C 0020 0057 006F 0072 006C 0064 0021 - -#0002: Register:::: -#0002: GR0: 0 = #0000 = 0000000000000000 -#0002: GR1: 0 = #0000 = 0000000000000000 -#0002: GR2: 0 = #0000 = 0000000000000000 -#0002: GR3: 0 = #0000 = 0000000000000000 -#0002: GR4: 0 = #0000 = 0000000000000000 -#0002: GR5: 0 = #0000 = 0000000000000000 -#0002: GR6: 0 = #0000 = 0000000000000000 -#0002: GR7: 0 = #0000 = 0000000000000000 -#0002: SP: 31 = #001F = 0000000000011111 -#0002: PR: 2 = #0002 = 0000000000000010 -#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 1220 0020 F000 0002 1210 0021 1220 0022 F000 0002 -#0002: 0010: 7120 7110 8100 0048 0065 006C 006C 006F 002C 0020 0057 006F 0072 006C 0064 0000 - -#0004: Register:::: -#0004: GR0: 0 = #0000 = 0000000000000000 -#0004: GR1: 0 = #0000 = 0000000000000000 -#0004: GR2: 0 = #0000 = 0000000000000000 -#0004: GR3: 0 = #0000 = 0000000000000000 -#0004: GR4: 0 = #0000 = 0000000000000000 -#0004: GR5: 0 = #0000 = 0000000000000000 -#0004: GR6: 0 = #0000 = 0000000000000000 -#0004: GR7: 0 = #0000 = 0000000000000000 -#0004: SP: 30 = #001E = 0000000000011110 -#0004: PR: 4 = #0004 = 0000000000000100 -#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 1220 0020 F000 0002 1210 0021 1220 0022 F000 0002 -#0004: 0010: 7120 7110 8100 0048 0065 006C 006C 006F 002C 0020 0057 006F 0072 006C 0000 0000 - -#0006: Register:::: -#0006: GR0: 0 = #0000 = 0000000000000000 -#0006: GR1: 19 = #0013 = 0000000000010011 -#0006: GR2: 0 = #0000 = 0000000000000000 -#0006: GR3: 0 = #0000 = 0000000000000000 -#0006: GR4: 0 = #0000 = 0000000000000000 -#0006: GR5: 0 = #0000 = 0000000000000000 -#0006: GR6: 0 = #0000 = 0000000000000000 -#0006: GR7: 0 = #0000 = 0000000000000000 -#0006: SP: 30 = #001E = 0000000000011110 -#0006: PR: 6 = #0006 = 0000000000000110 -#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 1220 0020 F000 0002 1210 0021 1220 0022 F000 0002 -#0006: 0010: 7120 7110 8100 0048 0065 006C 006C 006F 002C 0020 0057 006F 0072 006C 0000 0000 - -#0008: Register:::: -#0008: GR0: 0 = #0000 = 0000000000000000 -#0008: GR1: 19 = #0013 = 0000000000010011 -#0008: GR2: 32 = #0020 = 0000000000100000 = ' ' -#0008: GR3: 0 = #0000 = 0000000000000000 -#0008: GR4: 0 = #0000 = 0000000000000000 -#0008: GR5: 0 = #0000 = 0000000000000000 -#0008: GR6: 0 = #0000 = 0000000000000000 -#0008: GR7: 0 = #0000 = 0000000000000000 -#0008: SP: 30 = #001E = 0000000000011110 -#0008: PR: 8 = #0008 = 0000000000001000 -#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 1220 0020 F000 0002 1210 0021 1220 0022 F000 0002 -#0008: 0010: 7120 7110 8100 0048 0065 006C 006C 006F 002C 0020 0057 006F 0072 006C 0000 0000 - -#000A: Register:::: -#000A: GR0: 0 = #0000 = 0000000000000000 -#000A: GR1: 19 = #0013 = 0000000000010011 -#000A: GR2: 32 = #0020 = 0000000000100000 = ' ' -#000A: GR3: 0 = #0000 = 0000000000000000 -#000A: GR4: 0 = #0000 = 0000000000000000 -#000A: GR5: 0 = #0000 = 0000000000000000 -#000A: GR6: 0 = #0000 = 0000000000000000 -#000A: GR7: 0 = #0000 = 0000000000000000 -#000A: SP: 30 = #001E = 0000000000011110 -#000A: PR: 10 = #000A = 0000000000001010 -#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 1220 0020 F000 0002 1210 0021 1220 0022 F000 0002 -#000A: 0010: 7120 7110 8100 0048 0065 006C 006C 006F 002C 0020 0057 006F 0072 006C 0000 0000 - -#000C: Register:::: -#000C: GR0: 0 = #0000 = 0000000000000000 -#000C: GR1: 33 = #0021 = 0000000000100001 = '!' -#000C: GR2: 32 = #0020 = 0000000000100000 = ' ' -#000C: GR3: 0 = #0000 = 0000000000000000 -#000C: GR4: 0 = #0000 = 0000000000000000 -#000C: GR5: 0 = #0000 = 0000000000000000 -#000C: GR6: 0 = #0000 = 0000000000000000 -#000C: GR7: 0 = #0000 = 0000000000000000 -#000C: SP: 30 = #001E = 0000000000011110 -#000C: PR: 12 = #000C = 0000000000001100 -#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 1220 0020 F000 0002 1210 0021 1220 0022 F000 0002 -#000C: 0010: 7120 7110 8100 0048 0065 006C 006C 006F 002C 0020 0057 006F 0072 006C 0000 0000 - -#000E: Register:::: -#000E: GR0: 0 = #0000 = 0000000000000000 -#000E: GR1: 33 = #0021 = 0000000000100001 = '!' -#000E: GR2: 34 = #0022 = 0000000000100010 = '"' -#000E: GR3: 0 = #0000 = 0000000000000000 -#000E: GR4: 0 = #0000 = 0000000000000000 -#000E: GR5: 0 = #0000 = 0000000000000000 -#000E: GR6: 0 = #0000 = 0000000000000000 -#000E: GR7: 0 = #0000 = 0000000000000000 -#000E: SP: 30 = #001E = 0000000000011110 -#000E: PR: 14 = #000E = 0000000000001110 -#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 1220 0020 F000 0002 1210 0021 1220 0022 F000 0002 -#000E: 0010: 7120 7110 8100 0048 0065 006C 006C 006F 002C 0020 0057 006F 0072 006C 0000 0000 - -#0010: Register:::: -#0010: GR0: 0 = #0000 = 0000000000000000 -#0010: GR1: 33 = #0021 = 0000000000100001 = '!' -#0010: GR2: 34 = #0022 = 0000000000100010 = '"' -#0010: GR3: 0 = #0000 = 0000000000000000 -#0010: GR4: 0 = #0000 = 0000000000000000 -#0010: GR5: 0 = #0000 = 0000000000000000 -#0010: GR6: 0 = #0000 = 0000000000000000 -#0010: GR7: 0 = #0000 = 0000000000000000 -#0010: SP: 30 = #001E = 0000000000011110 -#0010: PR: 16 = #0010 = 0000000000010000 -#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 1220 0020 F000 0002 1210 0021 1220 0022 F000 0002 -#0010: 0010: 7120 7110 8100 0048 0065 006C 006C 006F 002C 0020 0057 006F 0072 006C 0000 0000 - -#0011: Register:::: -#0011: GR0: 0 = #0000 = 0000000000000000 -#0011: GR1: 33 = #0021 = 0000000000100001 = '!' -#0011: GR2: 0 = #0000 = 0000000000000000 -#0011: GR3: 0 = #0000 = 0000000000000000 -#0011: GR4: 0 = #0000 = 0000000000000000 -#0011: GR5: 0 = #0000 = 0000000000000000 -#0011: GR6: 0 = #0000 = 0000000000000000 -#0011: GR7: 0 = #0000 = 0000000000000000 -#0011: SP: 31 = #001F = 0000000000011111 -#0011: PR: 17 = #0011 = 0000000000010001 -#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 1220 0020 F000 0002 1210 0021 1220 0022 F000 0002 -#0011: 0010: 7120 7110 8100 0048 0065 006C 006C 006F 002C 0020 0057 006F 0072 006C 0000 0000 - -#0012: Register:::: -#0012: GR0: 0 = #0000 = 0000000000000000 -#0012: GR1: 0 = #0000 = 0000000000000000 -#0012: GR2: 0 = #0000 = 0000000000000000 -#0012: GR3: 0 = #0000 = 0000000000000000 -#0012: GR4: 0 = #0000 = 0000000000000000 -#0012: GR5: 0 = #0000 = 0000000000000000 -#0012: GR6: 0 = #0000 = 0000000000000000 -#0012: GR7: 0 = #0000 = 0000000000000000 -#0012: SP: 32 = #0020 = 0000000000100000 -#0012: PR: 18 = #0012 = 0000000000010010 -#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 1220 0020 F000 0002 1210 0021 1220 0022 F000 0002 -#0012: 0010: 7120 7110 8100 0048 0065 006C 006C 006F 002C 0020 0057 006F 0072 006C 0000 0000 - +../../../../comet2 a.o +Hello, World! diff --git a/test/integration/comet2/hello/Makefile b/test/integration/comet2/hello/Makefile index 43595e1..305ee54 100644 --- a/test/integration/comet2/hello/Makefile +++ b/test/integration/comet2/hello/Makefile @@ -1,6 +1,5 @@ include ../CMD.mk # YACASL2DIR, CASL2 ASDIR = $(YACASL2DIR)/as ASFILE = $(ASDIR)/hello.casl -COMET2FLAG = -td -M32 -EXECCMD = $(COMET2) $(COMET2FLAG) $(OBJFILE) +EXECCMD = $(COMET2) $(OBJFILE) include ../TEST.mk -- 2.18.0