From: j8takagi Date: Sat, 13 Feb 2010 17:04:14 +0000 (+0900) Subject: エラー検証用CASLファイルとcasl2のエラーテスト追加 X-Git-Tag: v0.1~41 X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?p=YACASL2.git;a=commitdiff_plain;h=5d1bc67b1389b89b86a98e9832b3600f8ceb26de エラー検証用CASLファイルとcasl2のエラーテスト追加 --- diff --git a/as/cmd/OUT/out.casl b/as/cmd/OUT/out.casl index 2a491fe..ae2f906 100644 --- a/as/cmd/OUT/out.casl +++ b/as/cmd/OUT/out.casl @@ -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 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 index 0000000..0b0160b --- /dev/null +++ b/as/err/err_103.casl @@ -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 index 0000000..ed48923 --- /dev/null +++ b/as/err/err_104.casl @@ -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 index 0000000..c7fc0da --- /dev/null +++ b/as/err/err_105.casl @@ -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 index 0000000..aea6e75 --- /dev/null +++ b/as/err/err_107.casl @@ -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 index 0000000..48b8afe --- /dev/null +++ b/as/err/err_108.casl @@ -0,0 +1,5 @@ +MAIN START + LD GR1 + RET +A DC 1 + END diff --git a/as/err/err_109.casl b/as/err/err_109.casl index 928dd91..7d2000d 100644 --- a/as/err/err_109.casl +++ b/as/err/err_109.casl @@ -1,4 +1,4 @@ MAIN START - LEA GR1,GR2 + ST GR1,GR2 RET END diff --git a/as/err/err_110.casl b/as/err/err_110.casl index 944742c..92e4fd0 100644 --- a/as/err/err_110.casl +++ b/as/err/err_110.casl @@ -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 index 0000000..d552c51 --- /dev/null +++ b/as/err/err_111.casl @@ -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 index 0000000..e17b3b8 --- /dev/null +++ b/as/err/err_112.casl @@ -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 index 0000000..451d87a --- /dev/null +++ b/as/err/err_113.casl @@ -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 index 0000000..d9046de --- /dev/null +++ b/as/err/err_114.casl @@ -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 index 0000000..1ed648c --- /dev/null +++ b/as/err/err_115.casl @@ -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 index 0000000..c3e66bf --- /dev/null +++ b/as/err/err_116.casl @@ -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 index 0000000..f40d401 --- /dev/null +++ b/as/err/err_117.casl @@ -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 index 0000000..0299f4f --- /dev/null +++ b/as/err/err_119.casl @@ -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 index 0000000..a77cda5 --- /dev/null +++ b/as/err/err_120.casl @@ -0,0 +1,6 @@ +MAIN START + LAD GR0,1 + LD GR1,A,GR0 + RET +A DC 7,-7 + END diff --git a/as/err/opdspc_err.casl b/as/err/err_121.casl similarity index 100% rename from as/err/opdspc_err.casl rename to as/err/err_121.casl diff --git a/as/err/quoteend_err.casl b/as/err/err_123.casl similarity index 100% rename from as/err/quoteend_err.casl rename to as/err/err_123.casl diff --git a/as/err/opd_x_err.casl b/as/err/err_125.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 index 0000000..5e52d1b --- /dev/null +++ b/as/err/err_201.casl @@ -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 index 0000000..789c272 --- /dev/null +++ b/as/err/err_202.casl @@ -0,0 +1,7 @@ +;;; casl2 -M32 err_202.casl