エラー検証用CASLファイルとcasl2のエラーテスト追加
authorj8takagi <j8takagi@nifty.com>
Sat, 13 Feb 2010 17:04:14 +0000 (02:04 +0900)
committerj8takagi <j8takagi@nifty.com>
Sat, 13 Feb 2010 17:04:14 +0000 (02:04 +0900)
90 files changed:
as/cmd/OUT/out.casl
as/err/a.o [new file with mode: 0644]
as/err/err_103.casl [new file with mode: 0644]
as/err/err_104.casl [new file with mode: 0644]
as/err/err_105.casl [new file with mode: 0644]
as/err/err_107.casl [new file with mode: 0644]
as/err/err_108.casl [new file with mode: 0644]
as/err/err_109.casl
as/err/err_110.casl
as/err/err_111.casl [new file with mode: 0644]
as/err/err_112.casl [new file with mode: 0644]
as/err/err_113.casl [new file with mode: 0644]
as/err/err_114.casl [new file with mode: 0644]
as/err/err_115.casl [new file with mode: 0644]
as/err/err_116.casl [new file with mode: 0644]
as/err/err_117.casl [new file with mode: 0644]
as/err/err_119.casl [new file with mode: 0644]
as/err/err_120.casl [new file with mode: 0644]
as/err/err_121.casl [moved from as/err/opdspc_err.casl with 100% similarity]
as/err/err_123.casl [moved from as/err/quoteend_err.casl with 100% similarity]
as/err/err_125.casl [moved from as/err/opd_x_err.casl with 100% similarity]
as/err/err_201.casl [new file with mode: 0644]
as/err/err_202.casl [new file with mode: 0644]
as/err/err_203.casl [new file with mode: 0644]
as/err/err_204.casl [new file with mode: 0644]
as/err/err_205.casl [new file with mode: 0644]
as/err/err_206.casl [new file with mode: 0644]
as/err/err_207.casl [new file with mode: 0644]
as/err/teststr.txt [new file with mode: 0644]
test/integration/casl2/cmd_OUT_out/0.txt
test/integration/casl2/err_101/0.txt [new file with mode: 0644]
test/integration/casl2/err_101/Makefile [new file with mode: 0644]
test/integration/casl2/err_103/0.txt [new file with mode: 0644]
test/integration/casl2/err_103/Makefile [new file with mode: 0644]
test/integration/casl2/err_104/0.txt [new file with mode: 0644]
test/integration/casl2/err_104/Makefile [new file with mode: 0644]
test/integration/casl2/err_105/0.txt [new file with mode: 0644]
test/integration/casl2/err_105/Makefile [new file with mode: 0644]
test/integration/casl2/err_106_DC/0.txt [new file with mode: 0644]
test/integration/casl2/err_106_DC/Makefile [new file with mode: 0644]
test/integration/casl2/err_106_DS/0.txt [new file with mode: 0644]
test/integration/casl2/err_106_DS/Makefile [new file with mode: 0644]
test/integration/casl2/err_107/0.txt [new file with mode: 0644]
test/integration/casl2/err_107/Makefile [new file with mode: 0644]
test/integration/casl2/err_108/0.txt [new file with mode: 0644]
test/integration/casl2/err_108/Makefile [new file with mode: 0644]
test/integration/casl2/err_109/0.txt [new file with mode: 0644]
test/integration/casl2/err_109/Makefile [new file with mode: 0644]
test/integration/casl2/err_110/0.txt [new file with mode: 0644]
test/integration/casl2/err_110/Makefile [new file with mode: 0644]
test/integration/casl2/err_111/0.txt [new file with mode: 0644]
test/integration/casl2/err_111/Makefile [new file with mode: 0644]
test/integration/casl2/err_112/0.txt [new file with mode: 0644]
test/integration/casl2/err_112/Makefile [new file with mode: 0644]
test/integration/casl2/err_113/0.txt [new file with mode: 0644]
test/integration/casl2/err_113/Makefile [new file with mode: 0644]
test/integration/casl2/err_114/0.txt [new file with mode: 0644]
test/integration/casl2/err_114/Makefile [new file with mode: 0644]
test/integration/casl2/err_115/0.txt [new file with mode: 0644]
test/integration/casl2/err_115/Makefile [new file with mode: 0644]
test/integration/casl2/err_116/0.txt [new file with mode: 0644]
test/integration/casl2/err_116/Makefile [new file with mode: 0644]
test/integration/casl2/err_117/0.txt [new file with mode: 0644]
test/integration/casl2/err_117/Makefile [new file with mode: 0644]
test/integration/casl2/err_118/0.txt [new file with mode: 0644]
test/integration/casl2/err_118/Makefile [new file with mode: 0644]
test/integration/casl2/err_119/0.txt [new file with mode: 0644]
test/integration/casl2/err_119/Makefile [new file with mode: 0644]
test/integration/casl2/err_120/0.txt [new file with mode: 0644]
test/integration/casl2/err_120/Makefile [new file with mode: 0644]
test/integration/casl2/err_121/0.txt [new file with mode: 0644]
test/integration/casl2/err_121/Makefile [new file with mode: 0644]
test/integration/casl2/err_123/0.txt [new file with mode: 0644]
test/integration/casl2/err_123/Makefile [new file with mode: 0644]
test/integration/casl2/err_124/0.txt [new file with mode: 0644]
test/integration/casl2/err_124/Makefile [new file with mode: 0644]
test/integration/casl2/err_125/0.txt [new file with mode: 0644]
test/integration/casl2/err_125/Makefile [new file with mode: 0644]
test/integration/casl2/err_202/0.txt [new file with mode: 0644]
test/integration/casl2/err_202/Makefile [new file with mode: 0644]
test/integration/casl2/err_203/0.txt [new file with mode: 0644]
test/integration/casl2/err_203/Makefile [new file with mode: 0644]
test/integration/casl2/err_204/0.txt [new file with mode: 0644]
test/integration/casl2/err_204/Makefile [new file with mode: 0644]
test/integration/casl2/err_205/0.txt [new file with mode: 0644]
test/integration/casl2/err_205/Makefile [new file with mode: 0644]
test/integration/casl2/err_206/0.txt [new file with mode: 0644]
test/integration/casl2/err_206/Makefile [new file with mode: 0644]
test/integration/casl2/err_207/0.txt [new file with mode: 0644]
test/integration/casl2/err_207/Makefile [new file with mode: 0644]

index 2a491fe..ae2f906 100644 (file)
@@ -1,4 +1,4 @@
-;;; OUT buf.len
+;;; OUT buf,len
 MAIN    START
         OUT     BUF1,L1
         OUT     BUF2,L2
diff --git a/as/err/a.o b/as/err/a.o
new file mode 100644 (file)
index 0000000..eb53e2d
Binary files /dev/null and b/as/err/a.o differ
diff --git a/as/err/err_103.casl b/as/err/err_103.casl
new file mode 100644 (file)
index 0000000..0b0160b
--- /dev/null
@@ -0,0 +1,5 @@
+MAIN    START
+        LD      GR1,B
+        RET
+A       DC      7
+        END
diff --git a/as/err/err_104.casl b/as/err/err_104.casl
new file mode 100644 (file)
index 0000000..ed48923
--- /dev/null
@@ -0,0 +1,5 @@
+MAIN    START
+        LD      GR1,A23456789
+        RET
+A23456789 DC    7
+        END
diff --git a/as/err/err_105.casl b/as/err/err_105.casl
new file mode 100644 (file)
index 0000000..c7fc0da
--- /dev/null
@@ -0,0 +1,5 @@
+MAIN    START
+        LD      GR1,A
+        RET
+A
+        END
diff --git a/as/err/err_107.casl b/as/err/err_107.casl
new file mode 100644 (file)
index 0000000..aea6e75
--- /dev/null
@@ -0,0 +1,5 @@
+        START
+        LD      GR1,A
+        RET
+A       DC      1
+        END
diff --git a/as/err/err_108.casl b/as/err/err_108.casl
new file mode 100644 (file)
index 0000000..48b8afe
--- /dev/null
@@ -0,0 +1,5 @@
+MAIN    START
+        LD      GR1
+        RET
+A       DC      1
+        END
index 928dd91..7d2000d 100644 (file)
@@ -1,4 +1,4 @@
 MAIN    START
-        LEA     GR1,GR2
+        ST      GR1,GR2
         RET
         END
index 944742c..92e4fd0 100644 (file)
@@ -1,5 +1,5 @@
 MAIN    START
-        LEA     GR1,A
+        CALL    GR1,A
         RET
 A       DC      3
         END
diff --git a/as/err/err_111.casl b/as/err/err_111.casl
new file mode 100644 (file)
index 0000000..d552c51
--- /dev/null
@@ -0,0 +1,5 @@
+MAIN    START
+        LD      A
+        RET
+A       DC      3
+        END
diff --git a/as/err/err_112.casl b/as/err/err_112.casl
new file mode 100644 (file)
index 0000000..e17b3b8
--- /dev/null
@@ -0,0 +1,4 @@
+MAIN    START
+        LAD
+        RET
+        END
diff --git a/as/err/err_113.casl b/as/err/err_113.casl
new file mode 100644 (file)
index 0000000..451d87a
--- /dev/null
@@ -0,0 +1,5 @@
+MAIN    START
+        LD      GR1,A,1,2
+        RET
+A       DC      0,1,2,3
+        END
diff --git a/as/err/err_114.casl b/as/err/err_114.casl
new file mode 100644 (file)
index 0000000..d9046de
--- /dev/null
@@ -0,0 +1,4 @@
+MAIN    START
+        LD      GR1,-A
+        RET
+        END
diff --git a/as/err/err_115.casl b/as/err/err_115.casl
new file mode 100644 (file)
index 0000000..1ed648c
--- /dev/null
@@ -0,0 +1,4 @@
+MAIN    START
+        LD      GR1,#G
+        RET
+        END
diff --git a/as/err/err_116.casl b/as/err/err_116.casl
new file mode 100644 (file)
index 0000000..c3e66bf
--- /dev/null
@@ -0,0 +1,4 @@
+MAIN    START
+        LD      GR1,#10000
+        RET
+        END
diff --git a/as/err/err_117.casl b/as/err/err_117.casl
new file mode 100644 (file)
index 0000000..f40d401
--- /dev/null
@@ -0,0 +1,4 @@
+MAIN    START
+        RET
+        DC      1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1
+        END
diff --git a/as/err/err_119.casl b/as/err/err_119.casl
new file mode 100644 (file)
index 0000000..0299f4f
--- /dev/null
@@ -0,0 +1,10 @@
+;;; casl2 -M8 err_119.casl
+MAIN    START
+        LD      GR0,A
+        LD      GR0,B
+        LD      GR0,C
+        RET
+A       DC      7
+B       DC      -7
+C       DC      0
+        END
diff --git a/as/err/err_120.casl b/as/err/err_120.casl
new file mode 100644 (file)
index 0000000..a77cda5
--- /dev/null
@@ -0,0 +1,6 @@
+MAIN    START
+        LAD     GR0,1
+        LD      GR1,A,GR0
+        RET
+A       DC      7,-7
+        END
similarity index 100%
rename from as/err/opdspc_err.casl
rename to as/err/err_121.casl
similarity index 100%
rename from as/err/quoteend_err.casl
rename to as/err/err_123.casl
similarity index 100%
rename from as/err/opd_x_err.casl
rename to as/err/err_125.casl
diff --git a/as/err/err_201.casl b/as/err/err_201.casl
new file mode 100644 (file)
index 0000000..5e52d1b
--- /dev/null
@@ -0,0 +1,10 @@
+;;; casl2 -O err_201.casl && comet2 -M8 a.o
+MAIN    START
+        LD      GR0,A
+        LD      GR0,B
+        LD      GR0,C
+        RET
+A       DC      7
+B       DC      -7
+C       DC      0
+        END
diff --git a/as/err/err_202.casl b/as/err/err_202.casl
new file mode 100644 (file)
index 0000000..789c272
--- /dev/null
@@ -0,0 +1,7 @@
+;;; casl2 -M32 err_202.casl <teststr.txt
+MAIN    START
+        IN      IBUF,ILEN
+FIN     RET
+IBUF    DS      10
+ILEN    DS      1
+        END
diff --git a/as/err/err_203.casl b/as/err/err_203.casl
new file mode 100644 (file)
index 0000000..8181baf
--- /dev/null
@@ -0,0 +1,7 @@
+;;; casl2 -M32 err_203.casl
+MAIN    START
+        OUT     BUF,LEN
+        RET
+BUF     DC      ' !'
+LEN     DC      60
+        END
diff --git a/as/err/err_204.casl b/as/err/err_204.casl
new file mode 100644 (file)
index 0000000..ff05edd
--- /dev/null
@@ -0,0 +1,5 @@
+;;; casl2 -M8  err_204.casl
+MAIN    START
+        JUMP    #FFFF
+FIN     RET
+        END
diff --git a/as/err/err_205.casl b/as/err/err_205.casl
new file mode 100644 (file)
index 0000000..ad21b86
--- /dev/null
@@ -0,0 +1,8 @@
+;;; casl2 -M32 err_205.casl
+MAIN    START
+        RPUSH
+        LD      GR0,A
+        RPOP
+        RET
+A       DC      7
+        END
diff --git a/as/err/err_206.casl b/as/err/err_206.casl
new file mode 100644 (file)
index 0000000..316f76d
--- /dev/null
@@ -0,0 +1,5 @@
+;;; casl2 -M8 err_206.casl
+MAIN    START
+        LD      GR1,#FFFF
+        RET
+        END
diff --git a/as/err/err_207.casl b/as/err/err_207.casl
new file mode 100644 (file)
index 0000000..9c70e18
--- /dev/null
@@ -0,0 +1,5 @@
+;;; casl2 -M8 err_207.casl
+MAIN    START
+        POP     GR1
+        RET
+        END
diff --git a/as/err/teststr.txt b/as/err/teststr.txt
new file mode 100644 (file)
index 0000000..fd01b2d
--- /dev/null
@@ -0,0 +1,2 @@
+12345678901234567890123456789012345678901234567890123456789012345678901234567890
+
index 85bebf0..de64a86 100644 (file)
@@ -3,7 +3,7 @@
 Assemble ../../../../as/cmd/OUT/out.casl (0)
 
 Assemble ../../../../as/cmd/OUT/out.casl (1)
-../../../../as/cmd/OUT/out.casl:    1:;;; OUT buf.len
+../../../../as/cmd/OUT/out.casl:    1:;;; OUT buf,len
 ../../../../as/cmd/OUT/out.casl:    2:MAIN    START
 ../../../../as/cmd/OUT/out.casl:    3:        OUT     BUF1,L1
        #0000   #7001
diff --git a/test/integration/casl2/err_101/0.txt b/test/integration/casl2/err_101/0.txt
new file mode 100644 (file)
index 0000000..7510b63
--- /dev/null
@@ -0,0 +1,3 @@
+../../../../casl2 ../../../../as/err/err_101.casl
+Assemble error - 101: A: label already defined
+../../../../as/err/err_101.casl:    6:A       DC      1
diff --git a/test/integration/casl2/err_101/Makefile b/test/integration/casl2/err_101/Makefile
new file mode 100644 (file)
index 0000000..808f89c
--- /dev/null
@@ -0,0 +1,6 @@
+include ../CMD.mk    # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_101.casl
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
diff --git a/test/integration/casl2/err_103/0.txt b/test/integration/casl2/err_103/0.txt
new file mode 100644 (file)
index 0000000..0c89349
--- /dev/null
@@ -0,0 +1,3 @@
+../../../../casl2 ../../../../as/err/err_103.casl
+Assemble error - 103: B: label not found
+../../../../as/err/err_103.casl:    2:        LD      GR1,B
diff --git a/test/integration/casl2/err_103/Makefile b/test/integration/casl2/err_103/Makefile
new file mode 100644 (file)
index 0000000..69454bd
--- /dev/null
@@ -0,0 +1,6 @@
+include ../CMD.mk    # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_103.casl
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
diff --git a/test/integration/casl2/err_104/0.txt b/test/integration/casl2/err_104/0.txt
new file mode 100644 (file)
index 0000000..272a9ff
--- /dev/null
@@ -0,0 +1,3 @@
+../../../../casl2 ../../../../as/err/err_104.casl
+Assemble error - 104: A23456789: label length is too long
+../../../../as/err/err_104.casl:    4:A23456789 DC    7
diff --git a/test/integration/casl2/err_104/Makefile b/test/integration/casl2/err_104/Makefile
new file mode 100644 (file)
index 0000000..472b5ba
--- /dev/null
@@ -0,0 +1,6 @@
+include ../CMD.mk    # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_104.casl
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
diff --git a/test/integration/casl2/err_105/0.txt b/test/integration/casl2/err_105/0.txt
new file mode 100644 (file)
index 0000000..0bc1a1b
--- /dev/null
@@ -0,0 +1,3 @@
+../../../../casl2 ../../../../as/err/err_105.casl
+Assemble error - 105: no command in the line
+../../../../as/err/err_105.casl:    4:A
diff --git a/test/integration/casl2/err_105/Makefile b/test/integration/casl2/err_105/Makefile
new file mode 100644 (file)
index 0000000..508ed0a
--- /dev/null
@@ -0,0 +1,6 @@
+include ../CMD.mk    # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_105.casl
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
diff --git a/test/integration/casl2/err_106_DC/0.txt b/test/integration/casl2/err_106_DC/0.txt
new file mode 100644 (file)
index 0000000..7ed9edb
--- /dev/null
@@ -0,0 +1,3 @@
+../../../../casl2 ../../../../as/err/err_106_DC.casl
+Assemble error - 106: operand mismatch in assemble command
+../../../../as/err/err_106_DC.casl:    3:        DC
diff --git a/test/integration/casl2/err_106_DC/Makefile b/test/integration/casl2/err_106_DC/Makefile
new file mode 100644 (file)
index 0000000..0702c50
--- /dev/null
@@ -0,0 +1,6 @@
+include ../CMD.mk    # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_106_DC.casl
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
diff --git a/test/integration/casl2/err_106_DS/0.txt b/test/integration/casl2/err_106_DS/0.txt
new file mode 100644 (file)
index 0000000..62401ed
--- /dev/null
@@ -0,0 +1,3 @@
+../../../../casl2 ../../../../as/err/err_106_DS.casl
+Assemble error - 106: operand mismatch in assemble command
+../../../../as/err/err_106_DS.casl:    4:A       DS
diff --git a/test/integration/casl2/err_106_DS/Makefile b/test/integration/casl2/err_106_DS/Makefile
new file mode 100644 (file)
index 0000000..616ce14
--- /dev/null
@@ -0,0 +1,6 @@
+include ../CMD.mk    # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_106_DS.casl
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
diff --git a/test/integration/casl2/err_107/0.txt b/test/integration/casl2/err_107/0.txt
new file mode 100644 (file)
index 0000000..71ece7d
--- /dev/null
@@ -0,0 +1,3 @@
+../../../../casl2 ../../../../as/err/err_107.casl
+Assemble error - 107: no label in START
+../../../../as/err/err_107.casl:    1:        START
diff --git a/test/integration/casl2/err_107/Makefile b/test/integration/casl2/err_107/Makefile
new file mode 100644 (file)
index 0000000..88ef006
--- /dev/null
@@ -0,0 +1,6 @@
+include ../CMD.mk    # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_107.casl
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
diff --git a/test/integration/casl2/err_108/0.txt b/test/integration/casl2/err_108/0.txt
new file mode 100644 (file)
index 0000000..689340d
--- /dev/null
@@ -0,0 +1,3 @@
+../../../../casl2 ../../../../as/err/err_108.casl
+Assemble error - 108: LD: not command of operand "r"
+../../../../as/err/err_108.casl:    2:        LD      GR1
diff --git a/test/integration/casl2/err_108/Makefile b/test/integration/casl2/err_108/Makefile
new file mode 100644 (file)
index 0000000..7419950
--- /dev/null
@@ -0,0 +1,6 @@
+include ../CMD.mk    # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_108.casl
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
diff --git a/test/integration/casl2/err_109/0.txt b/test/integration/casl2/err_109/0.txt
new file mode 100644 (file)
index 0000000..a9211a6
--- /dev/null
@@ -0,0 +1,3 @@
+../../../../casl2 ../../../../as/err/err_109.casl
+Assemble error - 109: ST: not command of operand "r1,r2"
+../../../../as/err/err_109.casl:    2:        ST      GR1,GR2
diff --git a/test/integration/casl2/err_109/Makefile b/test/integration/casl2/err_109/Makefile
new file mode 100644 (file)
index 0000000..5e4a9c0
--- /dev/null
@@ -0,0 +1,6 @@
+include ../CMD.mk    # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_109.casl
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
diff --git a/test/integration/casl2/err_110/0.txt b/test/integration/casl2/err_110/0.txt
new file mode 100644 (file)
index 0000000..02ee813
--- /dev/null
@@ -0,0 +1,3 @@
+../../../../casl2 ../../../../as/err/err_110.casl
+Assemble error - 110: CALL: not command of operand "r,adr[,x]"
+../../../../as/err/err_110.casl:    2:        CALL    GR1,A
diff --git a/test/integration/casl2/err_110/Makefile b/test/integration/casl2/err_110/Makefile
new file mode 100644 (file)
index 0000000..d8e65ac
--- /dev/null
@@ -0,0 +1,6 @@
+include ../CMD.mk    # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_110.casl
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
diff --git a/test/integration/casl2/err_111/0.txt b/test/integration/casl2/err_111/0.txt
new file mode 100644 (file)
index 0000000..1003a13
--- /dev/null
@@ -0,0 +1,3 @@
+../../../../casl2 ../../../../as/err/err_111.casl
+Assemble error - 111: LD: not command of operand "adr[,x]"
+../../../../as/err/err_111.casl:    2:        LD      A
diff --git a/test/integration/casl2/err_111/Makefile b/test/integration/casl2/err_111/Makefile
new file mode 100644 (file)
index 0000000..e5549e3
--- /dev/null
@@ -0,0 +1,6 @@
+include ../CMD.mk    # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_111.casl
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
diff --git a/test/integration/casl2/err_112/0.txt b/test/integration/casl2/err_112/0.txt
new file mode 100644 (file)
index 0000000..8e86ff4
--- /dev/null
@@ -0,0 +1,3 @@
+../../../../casl2 ../../../../as/err/err_112.casl
+Assemble error - 112: LAD: not command of no operand
+../../../../as/err/err_112.casl:    2:        LAD
diff --git a/test/integration/casl2/err_112/Makefile b/test/integration/casl2/err_112/Makefile
new file mode 100644 (file)
index 0000000..f0ab803
--- /dev/null
@@ -0,0 +1,6 @@
+include ../CMD.mk    # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_112.casl
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
diff --git a/test/integration/casl2/err_113/0.txt b/test/integration/casl2/err_113/0.txt
new file mode 100644 (file)
index 0000000..daf17ec
--- /dev/null
@@ -0,0 +1,3 @@
+../../../../casl2 ../../../../as/err/err_113.casl
+Assemble error - 113: LD: operand too many in machine command
+../../../../as/err/err_113.casl:    2:        LD      GR1,A,1,2
diff --git a/test/integration/casl2/err_113/Makefile b/test/integration/casl2/err_113/Makefile
new file mode 100644 (file)
index 0000000..515b2d4
--- /dev/null
@@ -0,0 +1,6 @@
+include ../CMD.mk    # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_113.casl
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
diff --git a/test/integration/casl2/err_114/0.txt b/test/integration/casl2/err_114/0.txt
new file mode 100644 (file)
index 0000000..c715cab
--- /dev/null
@@ -0,0 +1,3 @@
+../../../../casl2 ../../../../as/err/err_114.casl
+Assemble error - 114: -A: not integer
+../../../../as/err/err_114.casl:    2:        LD      GR1,-A
diff --git a/test/integration/casl2/err_114/Makefile b/test/integration/casl2/err_114/Makefile
new file mode 100644 (file)
index 0000000..8fcf7fa
--- /dev/null
@@ -0,0 +1,6 @@
+include ../CMD.mk    # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_114.casl
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
diff --git a/test/integration/casl2/err_115/0.txt b/test/integration/casl2/err_115/0.txt
new file mode 100644 (file)
index 0000000..8cb097c
--- /dev/null
@@ -0,0 +1,3 @@
+../../../../casl2 ../../../../as/err/err_115.casl
+Assemble error - 115: #G: not hex
+../../../../as/err/err_115.casl:    2:        LD      GR1,#G
diff --git a/test/integration/casl2/err_115/Makefile b/test/integration/casl2/err_115/Makefile
new file mode 100644 (file)
index 0000000..3d05f58
--- /dev/null
@@ -0,0 +1,6 @@
+include ../CMD.mk    # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_115.casl
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
diff --git a/test/integration/casl2/err_116/0.txt b/test/integration/casl2/err_116/0.txt
new file mode 100644 (file)
index 0000000..b637d1b
--- /dev/null
@@ -0,0 +1,3 @@
+../../../../casl2 ../../../../as/err/err_116.casl
+Assemble error - 116: #10000: out of hex range
+../../../../as/err/err_116.casl:    2:        LD      GR1,#10000
diff --git a/test/integration/casl2/err_116/Makefile b/test/integration/casl2/err_116/Makefile
new file mode 100644 (file)
index 0000000..3c1d28e
--- /dev/null
@@ -0,0 +1,6 @@
+include ../CMD.mk    # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_116.casl
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
diff --git a/test/integration/casl2/err_117/0.txt b/test/integration/casl2/err_117/0.txt
new file mode 100644 (file)
index 0000000..6fae8a4
--- /dev/null
@@ -0,0 +1,3 @@
+../../../../casl2 ../../../../as/err/err_117.casl
+Assemble error - 117: operand too many in DC
+../../../../as/err/err_117.casl:    3:        DC      1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1
diff --git a/test/integration/casl2/err_117/Makefile b/test/integration/casl2/err_117/Makefile
new file mode 100644 (file)
index 0000000..8d6c8ad
--- /dev/null
@@ -0,0 +1,6 @@
+include ../CMD.mk    # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_117.casl
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
diff --git a/test/integration/casl2/err_118/0.txt b/test/integration/casl2/err_118/0.txt
new file mode 100644 (file)
index 0000000..f7e8207
--- /dev/null
@@ -0,0 +1,3 @@
+../../../../casl2 ../../../../as/err/err_118.casl
+Assemble error - 118: operand length too long
+../../../../as/err/err_118.casl:    3:        DC      '12345678901234567890123456789012345678901'
diff --git a/test/integration/casl2/err_118/Makefile b/test/integration/casl2/err_118/Makefile
new file mode 100644 (file)
index 0000000..eef453c
--- /dev/null
@@ -0,0 +1,6 @@
+include ../CMD.mk    # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_118.casl
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
diff --git a/test/integration/casl2/err_119/0.txt b/test/integration/casl2/err_119/0.txt
new file mode 100644 (file)
index 0000000..8c9b53a
--- /dev/null
@@ -0,0 +1,3 @@
+../../../../casl2 -M8 ../../../../as/err/err_119.casl
+Assemble error - 119: 8: out of COMET II memory
+../../../../as/err/err_119.casl:    8:B       DC      -7
diff --git a/test/integration/casl2/err_119/Makefile b/test/integration/casl2/err_119/Makefile
new file mode 100644 (file)
index 0000000..eba7a66
--- /dev/null
@@ -0,0 +1,7 @@
+include ../CMD.mk    # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_119.casl
+CASL2FLAG = -M8
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
diff --git a/test/integration/casl2/err_120/0.txt b/test/integration/casl2/err_120/0.txt
new file mode 100644 (file)
index 0000000..70843b7
--- /dev/null
@@ -0,0 +1,3 @@
+../../../../casl2 ../../../../as/err/err_120.casl
+Assemble error - 120: GR0 in operand x
+../../../../as/err/err_120.casl:    3:        LD      GR1,A,GR0
diff --git a/test/integration/casl2/err_120/Makefile b/test/integration/casl2/err_120/Makefile
new file mode 100644 (file)
index 0000000..9243279
--- /dev/null
@@ -0,0 +1,6 @@
+include ../CMD.mk    # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_120.casl
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
diff --git a/test/integration/casl2/err_121/0.txt b/test/integration/casl2/err_121/0.txt
new file mode 100644 (file)
index 0000000..44d46cc
--- /dev/null
@@ -0,0 +1,3 @@
+../../../../casl2 ../../../../as/err/err_121.casl
+Assemble error - 121: cannot get operand token
+../../../../as/err/err_121.casl:    2:BEGIN   LD      GR1, A
diff --git a/test/integration/casl2/err_121/Makefile b/test/integration/casl2/err_121/Makefile
new file mode 100644 (file)
index 0000000..49850b2
--- /dev/null
@@ -0,0 +1,6 @@
+include ../CMD.mk    # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_121.casl
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
diff --git a/test/integration/casl2/err_123/0.txt b/test/integration/casl2/err_123/0.txt
new file mode 100644 (file)
index 0000000..98bd287
--- /dev/null
@@ -0,0 +1,3 @@
+../../../../casl2 ../../../../as/err/err_123.casl
+Assemble error - 123: unclosed quote
+../../../../as/err/err_123.casl:    4:BUF      DC     'Hello, World!
diff --git a/test/integration/casl2/err_123/Makefile b/test/integration/casl2/err_123/Makefile
new file mode 100644 (file)
index 0000000..8e2b7b7
--- /dev/null
@@ -0,0 +1,6 @@
+include ../CMD.mk    # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_123.casl
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
diff --git a/test/integration/casl2/err_124/0.txt b/test/integration/casl2/err_124/0.txt
new file mode 100644 (file)
index 0000000..1494de9
--- /dev/null
@@ -0,0 +1,3 @@
+../../../../casl2 ../../../../as/err/err_124.casl
+Assemble error - 124: 'ab': more than one character in literal
+../../../../as/err/err_124.casl:    2:        LAD     GR1,='ab'
diff --git a/test/integration/casl2/err_124/Makefile b/test/integration/casl2/err_124/Makefile
new file mode 100644 (file)
index 0000000..f00faba
--- /dev/null
@@ -0,0 +1,6 @@
+include ../CMD.mk    # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_124.casl
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
diff --git a/test/integration/casl2/err_125/0.txt b/test/integration/casl2/err_125/0.txt
new file mode 100644 (file)
index 0000000..438a302
--- /dev/null
@@ -0,0 +1,3 @@
+../../../../casl2 ../../../../as/err/err_125.casl
+Assemble error - 125: LD: not GR in operand x
+../../../../as/err/err_125.casl:    2:        LD      GR1,A,1
diff --git a/test/integration/casl2/err_125/Makefile b/test/integration/casl2/err_125/Makefile
new file mode 100644 (file)
index 0000000..fbe9bfc
--- /dev/null
@@ -0,0 +1,6 @@
+include ../CMD.mk    # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_125.casl
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
diff --git a/test/integration/casl2/err_202/0.txt b/test/integration/casl2/err_202/0.txt
new file mode 100644 (file)
index 0000000..45b4396
--- /dev/null
@@ -0,0 +1,2 @@
+../../../../casl2 -M32 ../../../../as/err/err_202.casl
+Execute error - 202: SVC input - out of Input memory
diff --git a/test/integration/casl2/err_202/Makefile b/test/integration/casl2/err_202/Makefile
new file mode 100644 (file)
index 0000000..9a47b68
--- /dev/null
@@ -0,0 +1,8 @@
+include ../CMD.mk    # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_202.casl
+CASL2FLAG = -M32
+INFILE = $(YACASL2DIR)/as/err/teststr.txt
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE) <$(INFILE)
+include ../TEST.mk
diff --git a/test/integration/casl2/err_203/0.txt b/test/integration/casl2/err_203/0.txt
new file mode 100644 (file)
index 0000000..6232f6c
--- /dev/null
@@ -0,0 +1,3 @@
+../../../../casl2 -M32 ../../../../as/err/err_203.casl
+ !<
+........Execute error - 203: SVC output - out of COMET II memory
diff --git a/test/integration/casl2/err_203/Makefile b/test/integration/casl2/err_203/Makefile
new file mode 100644 (file)
index 0000000..cf55bfa
--- /dev/null
@@ -0,0 +1,7 @@
+include ../CMD.mk    # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_203.casl
+CASL2FLAG = -M32
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
diff --git a/test/integration/casl2/err_204/0.txt b/test/integration/casl2/err_204/0.txt
new file mode 100644 (file)
index 0000000..ad4dec1
--- /dev/null
@@ -0,0 +1,2 @@
+../../../../casl2 -M8 ../../../../as/err/err_204.casl
+Execute error - 204: PR:#FFFF: Program Register (PR) - out of COMET II memory
diff --git a/test/integration/casl2/err_204/Makefile b/test/integration/casl2/err_204/Makefile
new file mode 100644 (file)
index 0000000..7f55ca0
--- /dev/null
@@ -0,0 +1,7 @@
+include ../CMD.mk    # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_204.casl
+CASL2FLAG = -M8
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
diff --git a/test/integration/casl2/err_205/0.txt b/test/integration/casl2/err_205/0.txt
new file mode 100644 (file)
index 0000000..64c1a6a
--- /dev/null
@@ -0,0 +1,2 @@
+../../../../casl2 -M32 ../../../../as/err/err_205.casl
+Execute error - 205: PR:#000E: Stack Pointer (SP) - cannot allocate stack buffer
diff --git a/test/integration/casl2/err_205/Makefile b/test/integration/casl2/err_205/Makefile
new file mode 100644 (file)
index 0000000..e913c41
--- /dev/null
@@ -0,0 +1,7 @@
+include ../CMD.mk    # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_205.casl
+CASL2FLAG = -M32
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
diff --git a/test/integration/casl2/err_206/0.txt b/test/integration/casl2/err_206/0.txt
new file mode 100644 (file)
index 0000000..0440bf0
--- /dev/null
@@ -0,0 +1,2 @@
+../../../../casl2 -M8 ../../../../as/err/err_206.casl
+Execute error - 206: PR:#0001: Address - out of COMET II memory
diff --git a/test/integration/casl2/err_206/Makefile b/test/integration/casl2/err_206/Makefile
new file mode 100644 (file)
index 0000000..0fe1cea
--- /dev/null
@@ -0,0 +1,7 @@
+include ../CMD.mk    # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_206.casl
+CASL2FLAG = -M8
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
diff --git a/test/integration/casl2/err_207/0.txt b/test/integration/casl2/err_207/0.txt
new file mode 100644 (file)
index 0000000..f96cbe4
--- /dev/null
@@ -0,0 +1,2 @@
+../../../../casl2 -M8 ../../../../as/err/err_207.casl
+Execute error - 207: PR:#0001: Stack Pointer (SP) - out of COMET II memory
diff --git a/test/integration/casl2/err_207/Makefile b/test/integration/casl2/err_207/Makefile
new file mode 100644 (file)
index 0000000..6b62421
--- /dev/null
@@ -0,0 +1,7 @@
+include ../CMD.mk    # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_207.casl
+CASL2FLAG = -M8
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk