アセンブラファイルの整理
authorj8takagi <j8takagi@nifty.com>
Tue, 28 Dec 2010 01:29:22 +0000 (10:29 +0900)
committerj8takagi <j8takagi@nifty.com>
Tue, 28 Dec 2010 01:29:22 +0000 (10:29 +0900)
97 files changed:
as/casl2lib/mull_temp.casl [new file with mode: 0644]
as/casl2lib/outd_q15_.casl [new file with mode: 0644]
as/casl2lib/str2l.casl
as/casl2lib/test/.gitignore [deleted file]
as/casl2lib/test/Makefile [deleted file]
as/casl2lib/test/abs/0.txt [deleted file]
as/casl2lib/test/abs/Makefile [deleted file]
as/casl2lib/test/abs/abs.casl [deleted file]
as/casl2lib/test/abs/abs_0/Makefile [deleted file]
as/casl2lib/test/abs/abs_0/abs_0.casl [deleted file]
as/casl2lib/test/abs/abs_0/report.txt [deleted file]
as/casl2lib/test/addl32/0.txt [deleted file]
as/casl2lib/test/addl32/Makefile [deleted file]
as/casl2lib/test/addl32/addl32_0/0.txt [deleted file]
as/casl2lib/test/addl32/addl32_0/Makefile [deleted file]
as/casl2lib/test/addl32/addl32_0/addl32_0.casl [deleted file]
as/casl2lib/test/addl32/addl32_1.casl [deleted file]
as/casl2lib/test/divl/0.txt [deleted file]
as/casl2lib/test/divl/Makefile [deleted file]
as/casl2lib/test/divl/divl.casl [deleted file]
as/casl2lib/test/divl/divl0/call_divl.casl [deleted file]
as/casl2lib/test/divl/divl0/divl0.casl [deleted file]
as/casl2lib/test/divl/divl1/divl1.casl [deleted file]
as/casl2lib/test/inl/0.txt [deleted file]
as/casl2lib/test/inl/Makefile [deleted file]
as/casl2lib/test/inl/cmd [deleted file]
as/casl2lib/test/inl/inl.casl [deleted file]
as/casl2lib/test/inl/teststr.txt [deleted file]
as/casl2lib/test/minim/0.txt [deleted file]
as/casl2lib/test/minim/Makefile [deleted file]
as/casl2lib/test/minim/minim.casl [deleted file]
as/casl2lib/test/mula/0.txt [deleted file]
as/casl2lib/test/mula/Makefile [deleted file]
as/casl2lib/test/mula/mula.casl [deleted file]
as/casl2lib/test/mula/mula0/0.txt [deleted file]
as/casl2lib/test/mula/mula0/Makefile [deleted file]
as/casl2lib/test/mula/mula0/mula0.casl [deleted file]
as/casl2lib/test/mula/mula_call1.casl [deleted file]
as/casl2lib/test/mula/mula_call2.casl [deleted file]
as/casl2lib/test/mull/0.txt [deleted file]
as/casl2lib/test/mull/Makefile [deleted file]
as/casl2lib/test/mull/mull.casl [deleted file]
as/casl2lib/test/mull/mull_call0.casl [deleted file]
as/casl2lib/test/mull/mull_call1.casl [deleted file]
as/casl2lib/test/outa/0.txt [deleted file]
as/casl2lib/test/outa/Makefile [deleted file]
as/casl2lib/test/outa/outa.casl [deleted file]
as/casl2lib/test/outa/outa0/outa0.casl [deleted file]
as/casl2lib/test/outa/outa_ffff/outa_ffff.casl [deleted file]
as/casl2lib/test/outb/0.txt [deleted file]
as/casl2lib/test/outb/Makefile [deleted file]
as/casl2lib/test/outd_q15/Makefile [deleted file]
as/casl2lib/test/outd_q15/outd_q15_0.casl [deleted file]
as/casl2lib/test/outl/0.txt [deleted file]
as/casl2lib/test/outl/Makefile [deleted file]
as/casl2lib/test/outl/outl_0.casl [deleted file]
as/casl2lib/test/outl/outl_1.casl [deleted file]
as/casl2lib/test/outl/outl_2.casl [deleted file]
as/casl2lib/test/rev/0.txt [deleted file]
as/casl2lib/test/rev/Makefile [deleted file]
as/casl2lib/test/rev/rev.casl [deleted file]
as/fe_tests/2009_10/Q12/outb.casl
as/fe_tests/2009_10/Q12/replace_call.casl
as/fe_tests/2010_04/Q12/fadd.casl [new file with mode: 0644]
as/fe_tests/2010_10/Q12/lrevrs.casl [new file with mode: 0644]
as/fe_tests/2010_10/Q12/prevrs.casl [new file with mode: 0644]
as/fe_tests/2010_10/Q12/revl.casl [new file with mode: 0644]
as/misc/lib_outd/0.txt [moved from as/casl2lib/test/outd_q15/0.txt with 84% similarity]
as/misc/lib_outd/1.txt [new file with mode: 0644]
as/misc/lib_outd/Makefile [new file with mode: 0644]
as/misc/lib_outd/cmd [new file with mode: 0755]
as/misc/lib_outd/detail.log [new file with mode: 0644]
as/misc/lib_outd/diff.txt [new file with mode: 0644]
as/misc/lib_outd/lib_outd/0.txt [new file with mode: 0644]
as/misc/lib_outd/lib_outd/1.txt [new file with mode: 0644]
as/misc/lib_outd/lib_outd/Makefile [new file with mode: 0644]
as/misc/lib_outd/lib_outd/cmd [new file with mode: 0755]
as/misc/lib_outd/lib_outd/detail.log [new file with mode: 0644]
as/misc/lib_outd/lib_outd/diff.txt [new file with mode: 0644]
as/misc/lib_outd/lib_outd/outd.casl [new file with mode: 0644]
as/misc/lib_outd/lib_outd/outd1.casl [moved from as/casl2lib/test/outl/outl.casl with 58% similarity]
as/misc/lib_outd/lib_outd/test.log [new file with mode: 0644]
as/misc/lib_outd/outd.casl [new file with mode: 0644]
as/misc/lib_outd/outd1.casl [moved from as/casl2lib/test/outb/outb.casl with 58% similarity]
as/misc/lib_outd/test.log [new file with mode: 0644]
as/misc/lib_outd_q15/0.txt [new file with mode: 0644]
as/misc/lib_outd_q15/Makefile [new file with mode: 0644]
as/misc/lib_outd_q15/cmd [new file with mode: 0755]
as/misc/lib_outd_q15/err.txt [new file with mode: 0644]
as/misc/lib_outd_q15/lib_outd_q15/0.txt [new file with mode: 0644]
as/misc/lib_outd_q15/lib_outd_q15/Makefile [new file with mode: 0644]
as/misc/lib_outd_q15/lib_outd_q15/cmd [new file with mode: 0755]
as/misc/lib_outd_q15/lib_outd_q15/err.txt [new file with mode: 0644]
as/misc/lib_outd_q15/lib_outd_q15/outd_q15.casl [moved from as/casl2lib/test/outd_q15/outd_q15.casl with 100% similarity]
as/misc/lib_outd_q15/outd_q15.casl [new file with mode: 0644]
as/misc/outd_q15.casl [new file with mode: 0644]
as/misc/outd_q15_edit.casl [new file with mode: 0644]

diff --git a/as/casl2lib/mull_temp.casl b/as/casl2lib/mull_temp.casl
new file mode 100644 (file)
index 0000000..951d6be
--- /dev/null
@@ -0,0 +1,35 @@
+;;; 0〜65535の範囲にある正数のかけ算(筆算方式)を行う
+;;; 入力 GR1:被乗数 GR2:乗数
+;;; 出力 GR0:積 GR3:オーバーフロー値
+;;; 積が65535より大きい場合は、GR0は積の下位16ビットになり、オーバーフロー
+MULL    START
+        PUSH    0,GR1           ; 被乗数
+        PUSH    0,GR2           ; 乗数
+        PUSH    0,GR4           ; ビット位置を表す
+        XOR     GR0,GR0         ; 積
+        XOR     GR3,GR3         ; オーバーフロー値
+        AND     GR1,GR1         ; (GR1 = 0)の場合、終了
+        JZE     FIN             ; ↓
+        AND     GR2,GR2         ; (GR2 = 0)の場合、終了
+        JZE     FIN             ; ↓
+        LAD     GR4,1           ; 対象ビット
+LOOP    PUSH    0,GR4           ; ループ先頭。GR2のビット中でGR4が示すビットが0の場合、NEXTへジャンプ
+        AND     GR4,GR2         ; ↓
+        POP     GR4             ; ↓
+        JZE     NEXT            ; ↓
+        LD      GR3,GR1         ; GR3 <- GR1
+        ADDL    GR0,GR1         ; GR0 <- GR0 + GR1
+        JOV     FIN             ; GR0がオーバーフローした場合、ループ脱出
+NEXT    SLL     GR4,1           ; GR4を1回左シフト
+        AND     GR4,GR4         ; (GR4 = 0)の場合、ループ脱出
+        JZE     FIN             ; ↓
+        CPL     GR4,GR2         ; (GR4 > GR2)の場合、ループ脱出
+        JPL     FIN             ; ↓
+        SLL     GR1,1           ; GR1を1回左シフト
+        JOV     FIN             ; GR1がオーバーフローした場合、ループ脱出
+        JUMP    LOOP            ; ループ終端
+FIN     POP     GR4
+        POP     GR2
+        POP     GR1
+        RET
+        END
diff --git a/as/casl2lib/outd_q15_.casl b/as/casl2lib/outd_q15_.casl
new file mode 100644 (file)
index 0000000..cf62af3
--- /dev/null
@@ -0,0 +1,55 @@
+;; GR1に格納された値を、10進数の小数値として表示
+OUTD    START
+        RPUSH
+        XOR     GR0,GR0         ; 負数フラグ。GR1が負数の場合、GR0は1
+        LAD     GR2,10          ; GR2に10進数の「10」を格納
+        XOR     GR4,GR4         ; インデックス
+        AND     GR1,GR1         ; GR1が0の場合
+        JZE     ZPRT            ; ↓
+STDN    LD      GR0,='0'        ; 「0」をSTR領域に格納
+        ST      GR0,STR,GR4     ; ↓
+        LAD     GR4,1,GR4       ; ↓ GR4 <- GR4 + 1
+        LD      GR0,='.'        ; 「.」をSTR領域に格納
+        ST      GR0,STR,GR4     ; ↓
+        LAD     GR4,1,GR4       ; ↓ GR4 <- GR4 + 1
+;; GR1の内容を小数値と見なし、10進数の文字列に変換してSTRに格納
+TODIG   AND     GR1,GR1         ; GR1が0の場合は、ループを脱出
+        JZE     PRT             ; ↓
+        CALL    MULL            ; GR1とGR2の、積をGR0、オーバーフロー値をGR3に格納
+        ADDA    GR3,='0'        ; GR0を文字に変換
+        ST      GR3,STR,GR4     ; (STR + GR4) <- GR0
+        LAD     GR4,1,GR4       ; GR4 <- GR4 + 1
+        LD      GR1,GR0         ; GR0をGR1にコピー
+        JUMP    TODIG           ; ループ
+ZPRT    LD      GR0,='0'        ; 「0」をSTR領域に格納
+        ST      GR0,STR,GR4     ; (STR + GR4) <- GR1
+        LAD     GR4,1,GR4       ; GR4 <- GR4 + 1
+PRT     ST      GR4,LEN         ; LEN <- GR4
+        OUT     STR,LEN         ; ↓
+        RPOP
+        RET
+STR     DS      20
+LEN     DS      1
+        END
+;; GR1とGR2の、積をGR0、オーバーフロー値をGR3に格納
+MULL    START
+        PUSH   0,GR1
+        PUSH   0,GR2
+        PUSH   0,GR4
+        XOR    GR0,GR0
+        XOR    GR3,GR3         ; オーバーフロー値
+        LAD    GR4,1           ; インデックス
+LOOP    CPA     GR4,GR2         ; GR4がGR2の値になったら、ループ脱出
+        JZE     FIN             ; ↓
+        ADDA    GR0,GR1         ; GR0 <- GR0 + GR1
+        LAD     GR4,1,GR4       ; GR4 <- GR4 + 1
+        JOV     OVADD           ; オーバーフローした場合、OVADDへジャンプ
+        JUMP    LOOP            ; ループにジャンプ
+OVADD   LAD     GR3,1,GR3       ; GR3 <- GR3 + 1
+        AND     GR1,=#7FFF      ; GR1の最上位ビットをクリア
+        JUMP    LOOP            ; ループにジャンプ
+FIN     POP     GR4
+        POP     GR2
+        POP     GR1
+        RET
+        END
index d75a2ba..a358c3e 100644 (file)
@@ -61,37 +61,3 @@ STR     DS      1
 LEN     DS      1
 NLEN    DS      1
         END
-<<<<<<< HEAD
-=======
-;;; 0〜65535の範囲にある正数のかけ算(筆算方式)を行う
-;;; 入力 GR1:被乗数 GR2:乗数
-;;; 出力 GR0:積
-;;; 積が65535より大きい場合は、GR0は積の下位16ビットになり、オーバーフロー
-MULL    START
-        PUSH    0,GR1
-        PUSH    0,GR3
-        XOR     GR0,GR0         ; 積
-        AND     GR1,GR1         ; (GR1 = 0)の場合、終了
-        JZE     FIN             ; ↓
-        AND     GR2,GR2         ; (GR2 = 0)の場合、終了
-        JZE     FIN             ; ↓
-        LAD     GR3,1           ; 対象ビット
-LOOP    PUSH    0,GR3           ; ループ先頭。GR2のビット中でGR3が示すビットが0の場合、NEXTへジャンプ
-        AND     GR3,GR2         ; ↓
-        POP     GR3             ; ↓
-        JZE     NEXT            ; ↓
-        ADDL    GR0,GR1         ; GR0 <- GR0 + GR1
-        JOV     FIN             ; GR0がオーバーフローした場合、ループ脱出
-NEXT    SLL     GR3,1           ; GR3を1回左シフト
-        AND     GR3,GR3         ; (GR3 = 0)の場合、ループ脱出
-        JZE     FIN             ; ↓
-        CPL     GR3,GR2         ; (GR3 > GR2)の場合、ループ脱出
-        JPL     FIN             ; ↓
-        SLL     GR1,1           ; GR1を1回左シフト
-        JOV     FIN             ; GR1がオーバーフローした場合、ループ脱出
-        JUMP    LOOP            ; ループ終端
-FIN     POP     GR3
-        POP     GR1
-        RET
-        END
->>>>>>> b22ffc2662e5fe300bfab3adb46ca97b5b630d8b
diff --git a/as/casl2lib/test/.gitignore b/as/casl2lib/test/.gitignore
deleted file mode 100644 (file)
index c595077..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-1.txt
-report.txt
-diff.txt
-err.txt
-TEST.log
-Test.log
-*.o
diff --git a/as/casl2lib/test/Makefile b/as/casl2lib/test/Makefile
deleted file mode 100644 (file)
index 22dd7ec..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-# テストグループ
-# make         : すべてのテストを実施し、ログを作成
-# make all     : ↓
-# make clean   : すべてのテストで、「make」で生成されたファイルをクリア
-# make check   : すべてのテストを実施
-# make cleanall: すべてのテストで、「make」と「make prepare」で生成されたファイルをクリア
-# make prepare : すべてのテストの、想定結果を出力
-# make create  : UNITNAMEで指定されたテストを新規に作成
-TESTS = `ls | grep "^[^A-Z].*"`
-LOGFILE = Test.log
-
-.PHONY: all check report clean cleanall prepare create
-all: check report
-check:
-       @rm -f $(LOGFILE)
-       @for target in $(TESTS); do \
-         $(MAKE) check -C $$target; \
-     done
-$(LOGFILE):
-       @for target in $(TESTS); do \
-         cat <$$target/report.txt >>$(LOGFILE); \
-     done
-report: $(LOGFILE)
-       @success=`grep "Success" $(LOGFILE) | wc -l`; \
-     all=`cat $(LOGFILE) | wc -l`; \
-     echo "$$success / $$all tests passed. Details in `pwd`/$(LOGFILE)"; \
-     if test $$success -eq $$all; then \
-       echo "All tests are succeded."; \
-     fi
-clean:
-       @for target in $(TESTS); do $(MAKE) clean -C $$target; done
-       @rm -f $(LOGFILE)
-cleanall:
-       @for target in $(TESTS); do $(MAKE) cleanall -C $$target; done
-       @rm -f $(LOGFILE)
-prepare:
-       @for target in $(TESTS) ; do $(MAKE) prepare -C $$target ; done
-create:
-ifdef UNITNAME
-       @mkdir $(UNITNAME)
-       @echo 'CMD = ' >>$(UNITNAME)/Makefile; \
-     echo 'include ../TEST.mk' >>$(UNITNAME)/Makefile
-else
-       @echo "no test created. set UNITNAME"
-endif
diff --git a/as/casl2lib/test/abs/0.txt b/as/casl2lib/test/abs/0.txt
deleted file mode 100644 (file)
index 727ae50..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-../../../../casl2 abs.casl ../../../../as/casl2lib/outa.casl
-12
-+
-12
---------
--12
--
-12
---------
-1
-+
-1
---------
--1
--
-1
---------
-32767
-+
-32767
---------
--32767
--
-32767
---------
-0
-+
-0
---------
--32768
-OV
--32768
---------
diff --git a/as/casl2lib/test/abs/Makefile b/as/casl2lib/test/abs/Makefile
deleted file mode 100644 (file)
index d68df5c..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-YACASL2DIR= ../../../..
-CASL2 = $(YACASL2DIR)/casl2
-LIBDIR = $(YACASL2DIR)/as/casl2lib
-ASFILE = abs.casl $(LIBDIR)/outa.casl
-CMD = $(CASL2) $(ASFILE)
-include $(YACASL2DIR)/test/integration/casl2/TEST.mk
diff --git a/as/casl2lib/test/abs/abs.casl b/as/casl2lib/test/abs/abs.casl
deleted file mode 100644 (file)
index e16585b..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-;;; ABSを呼び出す
-MAIN    START
-        LAD     GR2,0
-MLOOP   CPA     GR2,MLEN
-        JZE     MFIN
-        LD      GR1,MVAL,GR2
-        CALL    OUTA
-        CALL    ABS
-        JOV     PUTOV
-        JMI     PUTM
-        OUT     PLUS,=1
-        JUMP    PUTD
-PUTM    OUT     MINUS,=1
-        JUMP    PUTD
-PUTOV   OUT     OV,=2
-PUTD    CALL    OUTA
-        OUT     SEP,MLEN
-        LAD     GR2,1,GR2
-        JUMP    MLOOP
-MFIN    RET
-MVAL    DC      12,-12,1,-1,32767,-32767,0,-32768
-MLEN    DC      8
-SEP     DC      '--------'
-PLUS    DC      '+'
-MINUS   DC      '-'
-OV      DC      'OV'
-        END
diff --git a/as/casl2lib/test/abs/abs_0/Makefile b/as/casl2lib/test/abs/abs_0/Makefile
deleted file mode 100644 (file)
index a04bba4..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-YACASL2DIR= ../../../../..
-CASL2 = $(YACASL2DIR)/casl2
-LIBDIR = $(YACASL2DIR)/as/casl2lib
-ASFILE = abs_0.casl $(LIBDIR)/outa.casl
-CMD = $(CASL2) $(ASFILE)
-include $(YACASL2DIR)/test/TEST.mk
diff --git a/as/casl2lib/test/abs/abs_0/abs_0.casl b/as/casl2lib/test/abs/abs_0/abs_0.casl
deleted file mode 100644 (file)
index b53de42..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-;;; ABSを呼び出す
-;;; casl2 abs_call.casl abs.casl outa.casl
-MAIN    START
-        LD      GR1,MVAL
-        CALL    ABS
-MFIN    RET
-MVAL    DC      -32768
-        END
diff --git a/as/casl2lib/test/abs/abs_0/report.txt b/as/casl2lib/test/abs/abs_0/report.txt
deleted file mode 100644 (file)
index 26373a0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-abs_call: Test Success 2010-02-12 01:12:37
diff --git a/as/casl2lib/test/addl32/0.txt b/as/casl2lib/test/addl32/0.txt
deleted file mode 100644 (file)
index 520fa7a..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-../../../../casl2 addl32_1.casl ../../../../as/casl2lib/addl32.casl ../../../../as/casl2lib/outl.casl
-4
-9
diff --git a/as/casl2lib/test/addl32/Makefile b/as/casl2lib/test/addl32/Makefile
deleted file mode 100644 (file)
index 79bb14e..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-YACASL2DIR= ../../../..
-CASL2 = $(YACASL2DIR)/casl2
-LIBDIR = $(YACASL2DIR)/as/casl2lib
-ASFILE = addl32_1.casl $(LIBDIR)/addl32.casl $(LIBDIR)/outl.casl
-CMD = $(CASL2) $(ASFILE)
-include $(YACASL2DIR)/test/integration/casl2/TEST.mk
diff --git a/as/casl2lib/test/addl32/addl32_0/0.txt b/as/casl2lib/test/addl32/addl32_0/0.txt
deleted file mode 100644 (file)
index a140985..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../casl2 addl32_0.casl ../../../../../as/casl2lib/addl32.casl
diff --git a/as/casl2lib/test/addl32/addl32_0/Makefile b/as/casl2lib/test/addl32/addl32_0/Makefile
deleted file mode 100644 (file)
index 6c38cd5..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-YACASL2DIR= ../../../../..
-CASL2 = $(YACASL2DIR)/casl2
-LIBDIR = $(YACASL2DIR)/as/casl2lib
-ASFILE = addl32_0.casl $(LIBDIR)/addl32.casl
-CMD = $(CASL2) $(ASFILE)
-include $(YACASL2DIR)/test/integration/casl2/TEST.mk
diff --git a/as/casl2lib/test/addl32/addl32_0/addl32_0.casl b/as/casl2lib/test/addl32/addl32_0/addl32_0.casl
deleted file mode 100644 (file)
index bb8fa0a..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-MAIN    START
-        LAD     GR1,A
-        LAD     GR2,B
-        CALL    ADDL32
-        LD      GR2,GR0
-        RET
-A       DC      6,10
-B       DC      2,65530
-        END
diff --git a/as/casl2lib/test/addl32/addl32_1.casl b/as/casl2lib/test/addl32/addl32_1.casl
deleted file mode 100644 (file)
index 6072b8b..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-MAIN    START
-        LAD     GR1,A
-        LAD     GR2,B
-        CALL    ADDL32
-        LD      GR2,GR0
-        LD      GR1,1,GR2
-        CALL    OUTL
-        LD      GR1,0,GR2
-        CALL    OUTL
-        RET
-A       DC      6,10
-B       DC      2,65530
-        END
diff --git a/as/casl2lib/test/divl/0.txt b/as/casl2lib/test/divl/0.txt
deleted file mode 100644 (file)
index f19f6b8..0000000
+++ /dev/null
@@ -1,5556 +0,0 @@
-../../../../casl2 -M640 divl.casl ../../../../as/casl2lib/outl.casl
---------------------
-100
-0
-Error: div by 0
---------------------
-100
-1
-100
-0
---------------------
-100
-2
-50
-0
---------------------
-100
-3
-33
-1
---------------------
-100
-4
-25
-0
---------------------
-100
-5
-20
-0
---------------------
-100
-6
-16
-4
---------------------
-100
-7
-14
-2
---------------------
-100
-8
-12
-4
---------------------
-100
-9
-11
-1
---------------------
-100
-10
-10
-0
---------------------
---------------------
-99
-0
-Error: div by 0
---------------------
-99
-1
-99
-0
---------------------
-99
-2
-49
-1
---------------------
-99
-3
-33
-0
---------------------
-99
-4
-24
-3
---------------------
-99
-5
-19
-4
---------------------
-99
-6
-16
-3
---------------------
-99
-7
-14
-1
---------------------
-99
-8
-12
-3
---------------------
-99
-9
-11
-0
---------------------
-99
-10
-9
-9
---------------------
---------------------
-98
-0
-Error: div by 0
---------------------
-98
-1
-98
-0
---------------------
-98
-2
-49
-0
---------------------
-98
-3
-32
-2
---------------------
-98
-4
-24
-2
---------------------
-98
-5
-19
-3
---------------------
-98
-6
-16
-2
---------------------
-98
-7
-14
-0
---------------------
-98
-8
-12
-2
---------------------
-98
-9
-10
-8
---------------------
-98
-10
-9
-8
---------------------
---------------------
-97
-0
-Error: div by 0
---------------------
-97
-1
-97
-0
---------------------
-97
-2
-48
-1
---------------------
-97
-3
-32
-1
---------------------
-97
-4
-24
-1
---------------------
-97
-5
-19
-2
---------------------
-97
-6
-16
-1
---------------------
-97
-7
-13
-6
---------------------
-97
-8
-12
-1
---------------------
-97
-9
-10
-7
---------------------
-97
-10
-9
-7
---------------------
---------------------
-96
-0
-Error: div by 0
---------------------
-96
-1
-96
-0
---------------------
-96
-2
-48
-0
---------------------
-96
-3
-32
-0
---------------------
-96
-4
-24
-0
---------------------
-96
-5
-19
-1
---------------------
-96
-6
-16
-0
---------------------
-96
-7
-13
-5
---------------------
-96
-8
-12
-0
---------------------
-96
-9
-10
-6
---------------------
-96
-10
-9
-6
---------------------
---------------------
-95
-0
-Error: div by 0
---------------------
-95
-1
-95
-0
---------------------
-95
-2
-47
-1
---------------------
-95
-3
-31
-2
---------------------
-95
-4
-23
-3
---------------------
-95
-5
-19
-0
---------------------
-95
-6
-15
-5
---------------------
-95
-7
-13
-4
---------------------
-95
-8
-11
-7
---------------------
-95
-9
-10
-5
---------------------
-95
-10
-9
-5
---------------------
---------------------
-94
-0
-Error: div by 0
---------------------
-94
-1
-94
-0
---------------------
-94
-2
-47
-0
---------------------
-94
-3
-31
-1
---------------------
-94
-4
-23
-2
---------------------
-94
-5
-18
-4
---------------------
-94
-6
-15
-4
---------------------
-94
-7
-13
-3
---------------------
-94
-8
-11
-6
---------------------
-94
-9
-10
-4
---------------------
-94
-10
-9
-4
---------------------
---------------------
-93
-0
-Error: div by 0
---------------------
-93
-1
-93
-0
---------------------
-93
-2
-46
-1
---------------------
-93
-3
-31
-0
---------------------
-93
-4
-23
-1
---------------------
-93
-5
-18
-3
---------------------
-93
-6
-15
-3
---------------------
-93
-7
-13
-2
---------------------
-93
-8
-11
-5
---------------------
-93
-9
-10
-3
---------------------
-93
-10
-9
-3
---------------------
---------------------
-92
-0
-Error: div by 0
---------------------
-92
-1
-92
-0
---------------------
-92
-2
-46
-0
---------------------
-92
-3
-30
-2
---------------------
-92
-4
-23
-0
---------------------
-92
-5
-18
-2
---------------------
-92
-6
-15
-2
---------------------
-92
-7
-13
-1
---------------------
-92
-8
-11
-4
---------------------
-92
-9
-10
-2
---------------------
-92
-10
-9
-2
---------------------
---------------------
-91
-0
-Error: div by 0
---------------------
-91
-1
-91
-0
---------------------
-91
-2
-45
-1
---------------------
-91
-3
-30
-1
---------------------
-91
-4
-22
-3
---------------------
-91
-5
-18
-1
---------------------
-91
-6
-15
-1
---------------------
-91
-7
-13
-0
---------------------
-91
-8
-11
-3
---------------------
-91
-9
-10
-1
---------------------
-91
-10
-9
-1
---------------------
---------------------
-90
-0
-Error: div by 0
---------------------
-90
-1
-90
-0
---------------------
-90
-2
-45
-0
---------------------
-90
-3
-30
-0
---------------------
-90
-4
-22
-2
---------------------
-90
-5
-18
-0
---------------------
-90
-6
-15
-0
---------------------
-90
-7
-12
-6
---------------------
-90
-8
-11
-2
---------------------
-90
-9
-10
-0
---------------------
-90
-10
-9
-0
---------------------
---------------------
-89
-0
-Error: div by 0
---------------------
-89
-1
-89
-0
---------------------
-89
-2
-44
-1
---------------------
-89
-3
-29
-2
---------------------
-89
-4
-22
-1
---------------------
-89
-5
-17
-4
---------------------
-89
-6
-14
-5
---------------------
-89
-7
-12
-5
---------------------
-89
-8
-11
-1
---------------------
-89
-9
-9
-8
---------------------
-89
-10
-8
-9
---------------------
---------------------
-88
-0
-Error: div by 0
---------------------
-88
-1
-88
-0
---------------------
-88
-2
-44
-0
---------------------
-88
-3
-29
-1
---------------------
-88
-4
-22
-0
---------------------
-88
-5
-17
-3
---------------------
-88
-6
-14
-4
---------------------
-88
-7
-12
-4
---------------------
-88
-8
-11
-0
---------------------
-88
-9
-9
-7
---------------------
-88
-10
-8
-8
---------------------
---------------------
-87
-0
-Error: div by 0
---------------------
-87
-1
-87
-0
---------------------
-87
-2
-43
-1
---------------------
-87
-3
-29
-0
---------------------
-87
-4
-21
-3
---------------------
-87
-5
-17
-2
---------------------
-87
-6
-14
-3
---------------------
-87
-7
-12
-3
---------------------
-87
-8
-10
-7
---------------------
-87
-9
-9
-6
---------------------
-87
-10
-8
-7
---------------------
---------------------
-86
-0
-Error: div by 0
---------------------
-86
-1
-86
-0
---------------------
-86
-2
-43
-0
---------------------
-86
-3
-28
-2
---------------------
-86
-4
-21
-2
---------------------
-86
-5
-17
-1
---------------------
-86
-6
-14
-2
---------------------
-86
-7
-12
-2
---------------------
-86
-8
-10
-6
---------------------
-86
-9
-9
-5
---------------------
-86
-10
-8
-6
---------------------
---------------------
-85
-0
-Error: div by 0
---------------------
-85
-1
-85
-0
---------------------
-85
-2
-42
-1
---------------------
-85
-3
-28
-1
---------------------
-85
-4
-21
-1
---------------------
-85
-5
-17
-0
---------------------
-85
-6
-14
-1
---------------------
-85
-7
-12
-1
---------------------
-85
-8
-10
-5
---------------------
-85
-9
-9
-4
---------------------
-85
-10
-8
-5
---------------------
---------------------
-84
-0
-Error: div by 0
---------------------
-84
-1
-84
-0
---------------------
-84
-2
-42
-0
---------------------
-84
-3
-28
-0
---------------------
-84
-4
-21
-0
---------------------
-84
-5
-16
-4
---------------------
-84
-6
-14
-0
---------------------
-84
-7
-12
-0
---------------------
-84
-8
-10
-4
---------------------
-84
-9
-9
-3
---------------------
-84
-10
-8
-4
---------------------
---------------------
-83
-0
-Error: div by 0
---------------------
-83
-1
-83
-0
---------------------
-83
-2
-41
-1
---------------------
-83
-3
-27
-2
---------------------
-83
-4
-20
-3
---------------------
-83
-5
-16
-3
---------------------
-83
-6
-13
-5
---------------------
-83
-7
-11
-6
---------------------
-83
-8
-10
-3
---------------------
-83
-9
-9
-2
---------------------
-83
-10
-8
-3
---------------------
---------------------
-82
-0
-Error: div by 0
---------------------
-82
-1
-82
-0
---------------------
-82
-2
-41
-0
---------------------
-82
-3
-27
-1
---------------------
-82
-4
-20
-2
---------------------
-82
-5
-16
-2
---------------------
-82
-6
-13
-4
---------------------
-82
-7
-11
-5
---------------------
-82
-8
-10
-2
---------------------
-82
-9
-9
-1
---------------------
-82
-10
-8
-2
---------------------
---------------------
-81
-0
-Error: div by 0
---------------------
-81
-1
-81
-0
---------------------
-81
-2
-40
-1
---------------------
-81
-3
-27
-0
---------------------
-81
-4
-20
-1
---------------------
-81
-5
-16
-1
---------------------
-81
-6
-13
-3
---------------------
-81
-7
-11
-4
---------------------
-81
-8
-10
-1
---------------------
-81
-9
-9
-0
---------------------
-81
-10
-8
-1
---------------------
---------------------
-80
-0
-Error: div by 0
---------------------
-80
-1
-80
-0
---------------------
-80
-2
-40
-0
---------------------
-80
-3
-26
-2
---------------------
-80
-4
-20
-0
---------------------
-80
-5
-16
-0
---------------------
-80
-6
-13
-2
---------------------
-80
-7
-11
-3
---------------------
-80
-8
-10
-0
---------------------
-80
-9
-8
-8
---------------------
-80
-10
-8
-0
---------------------
---------------------
-79
-0
-Error: div by 0
---------------------
-79
-1
-79
-0
---------------------
-79
-2
-39
-1
---------------------
-79
-3
-26
-1
---------------------
-79
-4
-19
-3
---------------------
-79
-5
-15
-4
---------------------
-79
-6
-13
-1
---------------------
-79
-7
-11
-2
---------------------
-79
-8
-9
-7
---------------------
-79
-9
-8
-7
---------------------
-79
-10
-7
-9
---------------------
---------------------
-78
-0
-Error: div by 0
---------------------
-78
-1
-78
-0
---------------------
-78
-2
-39
-0
---------------------
-78
-3
-26
-0
---------------------
-78
-4
-19
-2
---------------------
-78
-5
-15
-3
---------------------
-78
-6
-13
-0
---------------------
-78
-7
-11
-1
---------------------
-78
-8
-9
-6
---------------------
-78
-9
-8
-6
---------------------
-78
-10
-7
-8
---------------------
---------------------
-77
-0
-Error: div by 0
---------------------
-77
-1
-77
-0
---------------------
-77
-2
-38
-1
---------------------
-77
-3
-25
-2
---------------------
-77
-4
-19
-1
---------------------
-77
-5
-15
-2
---------------------
-77
-6
-12
-5
---------------------
-77
-7
-11
-0
---------------------
-77
-8
-9
-5
---------------------
-77
-9
-8
-5
---------------------
-77
-10
-7
-7
---------------------
---------------------
-76
-0
-Error: div by 0
---------------------
-76
-1
-76
-0
---------------------
-76
-2
-38
-0
---------------------
-76
-3
-25
-1
---------------------
-76
-4
-19
-0
---------------------
-76
-5
-15
-1
---------------------
-76
-6
-12
-4
---------------------
-76
-7
-10
-6
---------------------
-76
-8
-9
-4
---------------------
-76
-9
-8
-4
---------------------
-76
-10
-7
-6
---------------------
---------------------
-75
-0
-Error: div by 0
---------------------
-75
-1
-75
-0
---------------------
-75
-2
-37
-1
---------------------
-75
-3
-25
-0
---------------------
-75
-4
-18
-3
---------------------
-75
-5
-15
-0
---------------------
-75
-6
-12
-3
---------------------
-75
-7
-10
-5
---------------------
-75
-8
-9
-3
---------------------
-75
-9
-8
-3
---------------------
-75
-10
-7
-5
---------------------
---------------------
-74
-0
-Error: div by 0
---------------------
-74
-1
-74
-0
---------------------
-74
-2
-37
-0
---------------------
-74
-3
-24
-2
---------------------
-74
-4
-18
-2
---------------------
-74
-5
-14
-4
---------------------
-74
-6
-12
-2
---------------------
-74
-7
-10
-4
---------------------
-74
-8
-9
-2
---------------------
-74
-9
-8
-2
---------------------
-74
-10
-7
-4
---------------------
---------------------
-73
-0
-Error: div by 0
---------------------
-73
-1
-73
-0
---------------------
-73
-2
-36
-1
---------------------
-73
-3
-24
-1
---------------------
-73
-4
-18
-1
---------------------
-73
-5
-14
-3
---------------------
-73
-6
-12
-1
---------------------
-73
-7
-10
-3
---------------------
-73
-8
-9
-1
---------------------
-73
-9
-8
-1
---------------------
-73
-10
-7
-3
---------------------
---------------------
-72
-0
-Error: div by 0
---------------------
-72
-1
-72
-0
---------------------
-72
-2
-36
-0
---------------------
-72
-3
-24
-0
---------------------
-72
-4
-18
-0
---------------------
-72
-5
-14
-2
---------------------
-72
-6
-12
-0
---------------------
-72
-7
-10
-2
---------------------
-72
-8
-9
-0
---------------------
-72
-9
-8
-0
---------------------
-72
-10
-7
-2
---------------------
---------------------
-71
-0
-Error: div by 0
---------------------
-71
-1
-71
-0
---------------------
-71
-2
-35
-1
---------------------
-71
-3
-23
-2
---------------------
-71
-4
-17
-3
---------------------
-71
-5
-14
-1
---------------------
-71
-6
-11
-5
---------------------
-71
-7
-10
-1
---------------------
-71
-8
-8
-7
---------------------
-71
-9
-7
-8
---------------------
-71
-10
-7
-1
---------------------
---------------------
-70
-0
-Error: div by 0
---------------------
-70
-1
-70
-0
---------------------
-70
-2
-35
-0
---------------------
-70
-3
-23
-1
---------------------
-70
-4
-17
-2
---------------------
-70
-5
-14
-0
---------------------
-70
-6
-11
-4
---------------------
-70
-7
-10
-0
---------------------
-70
-8
-8
-6
---------------------
-70
-9
-7
-7
---------------------
-70
-10
-7
-0
---------------------
---------------------
-69
-0
-Error: div by 0
---------------------
-69
-1
-69
-0
---------------------
-69
-2
-34
-1
---------------------
-69
-3
-23
-0
---------------------
-69
-4
-17
-1
---------------------
-69
-5
-13
-4
---------------------
-69
-6
-11
-3
---------------------
-69
-7
-9
-6
---------------------
-69
-8
-8
-5
---------------------
-69
-9
-7
-6
---------------------
-69
-10
-6
-9
---------------------
---------------------
-68
-0
-Error: div by 0
---------------------
-68
-1
-68
-0
---------------------
-68
-2
-34
-0
---------------------
-68
-3
-22
-2
---------------------
-68
-4
-17
-0
---------------------
-68
-5
-13
-3
---------------------
-68
-6
-11
-2
---------------------
-68
-7
-9
-5
---------------------
-68
-8
-8
-4
---------------------
-68
-9
-7
-5
---------------------
-68
-10
-6
-8
---------------------
---------------------
-67
-0
-Error: div by 0
---------------------
-67
-1
-67
-0
---------------------
-67
-2
-33
-1
---------------------
-67
-3
-22
-1
---------------------
-67
-4
-16
-3
---------------------
-67
-5
-13
-2
---------------------
-67
-6
-11
-1
---------------------
-67
-7
-9
-4
---------------------
-67
-8
-8
-3
---------------------
-67
-9
-7
-4
---------------------
-67
-10
-6
-7
---------------------
---------------------
-66
-0
-Error: div by 0
---------------------
-66
-1
-66
-0
---------------------
-66
-2
-33
-0
---------------------
-66
-3
-22
-0
---------------------
-66
-4
-16
-2
---------------------
-66
-5
-13
-1
---------------------
-66
-6
-11
-0
---------------------
-66
-7
-9
-3
---------------------
-66
-8
-8
-2
---------------------
-66
-9
-7
-3
---------------------
-66
-10
-6
-6
---------------------
---------------------
-65
-0
-Error: div by 0
---------------------
-65
-1
-65
-0
---------------------
-65
-2
-32
-1
---------------------
-65
-3
-21
-2
---------------------
-65
-4
-16
-1
---------------------
-65
-5
-13
-0
---------------------
-65
-6
-10
-5
---------------------
-65
-7
-9
-2
---------------------
-65
-8
-8
-1
---------------------
-65
-9
-7
-2
---------------------
-65
-10
-6
-5
---------------------
---------------------
-64
-0
-Error: div by 0
---------------------
-64
-1
-64
-0
---------------------
-64
-2
-32
-0
---------------------
-64
-3
-21
-1
---------------------
-64
-4
-16
-0
---------------------
-64
-5
-12
-4
---------------------
-64
-6
-10
-4
---------------------
-64
-7
-9
-1
---------------------
-64
-8
-8
-0
---------------------
-64
-9
-7
-1
---------------------
-64
-10
-6
-4
---------------------
---------------------
-63
-0
-Error: div by 0
---------------------
-63
-1
-63
-0
---------------------
-63
-2
-31
-1
---------------------
-63
-3
-21
-0
---------------------
-63
-4
-15
-3
---------------------
-63
-5
-12
-3
---------------------
-63
-6
-10
-3
---------------------
-63
-7
-9
-0
---------------------
-63
-8
-7
-7
---------------------
-63
-9
-7
-0
---------------------
-63
-10
-6
-3
---------------------
---------------------
-62
-0
-Error: div by 0
---------------------
-62
-1
-62
-0
---------------------
-62
-2
-31
-0
---------------------
-62
-3
-20
-2
---------------------
-62
-4
-15
-2
---------------------
-62
-5
-12
-2
---------------------
-62
-6
-10
-2
---------------------
-62
-7
-8
-6
---------------------
-62
-8
-7
-6
---------------------
-62
-9
-6
-8
---------------------
-62
-10
-6
-2
---------------------
---------------------
-61
-0
-Error: div by 0
---------------------
-61
-1
-61
-0
---------------------
-61
-2
-30
-1
---------------------
-61
-3
-20
-1
---------------------
-61
-4
-15
-1
---------------------
-61
-5
-12
-1
---------------------
-61
-6
-10
-1
---------------------
-61
-7
-8
-5
---------------------
-61
-8
-7
-5
---------------------
-61
-9
-6
-7
---------------------
-61
-10
-6
-1
---------------------
---------------------
-60
-0
-Error: div by 0
---------------------
-60
-1
-60
-0
---------------------
-60
-2
-30
-0
---------------------
-60
-3
-20
-0
---------------------
-60
-4
-15
-0
---------------------
-60
-5
-12
-0
---------------------
-60
-6
-10
-0
---------------------
-60
-7
-8
-4
---------------------
-60
-8
-7
-4
---------------------
-60
-9
-6
-6
---------------------
-60
-10
-6
-0
---------------------
---------------------
-59
-0
-Error: div by 0
---------------------
-59
-1
-59
-0
---------------------
-59
-2
-29
-1
---------------------
-59
-3
-19
-2
---------------------
-59
-4
-14
-3
---------------------
-59
-5
-11
-4
---------------------
-59
-6
-9
-5
---------------------
-59
-7
-8
-3
---------------------
-59
-8
-7
-3
---------------------
-59
-9
-6
-5
---------------------
-59
-10
-5
-9
---------------------
---------------------
-58
-0
-Error: div by 0
---------------------
-58
-1
-58
-0
---------------------
-58
-2
-29
-0
---------------------
-58
-3
-19
-1
---------------------
-58
-4
-14
-2
---------------------
-58
-5
-11
-3
---------------------
-58
-6
-9
-4
---------------------
-58
-7
-8
-2
---------------------
-58
-8
-7
-2
---------------------
-58
-9
-6
-4
---------------------
-58
-10
-5
-8
---------------------
---------------------
-57
-0
-Error: div by 0
---------------------
-57
-1
-57
-0
---------------------
-57
-2
-28
-1
---------------------
-57
-3
-19
-0
---------------------
-57
-4
-14
-1
---------------------
-57
-5
-11
-2
---------------------
-57
-6
-9
-3
---------------------
-57
-7
-8
-1
---------------------
-57
-8
-7
-1
---------------------
-57
-9
-6
-3
---------------------
-57
-10
-5
-7
---------------------
---------------------
-56
-0
-Error: div by 0
---------------------
-56
-1
-56
-0
---------------------
-56
-2
-28
-0
---------------------
-56
-3
-18
-2
---------------------
-56
-4
-14
-0
---------------------
-56
-5
-11
-1
---------------------
-56
-6
-9
-2
---------------------
-56
-7
-8
-0
---------------------
-56
-8
-7
-0
---------------------
-56
-9
-6
-2
---------------------
-56
-10
-5
-6
---------------------
---------------------
-55
-0
-Error: div by 0
---------------------
-55
-1
-55
-0
---------------------
-55
-2
-27
-1
---------------------
-55
-3
-18
-1
---------------------
-55
-4
-13
-3
---------------------
-55
-5
-11
-0
---------------------
-55
-6
-9
-1
---------------------
-55
-7
-7
-6
---------------------
-55
-8
-6
-7
---------------------
-55
-9
-6
-1
---------------------
-55
-10
-5
-5
---------------------
---------------------
-54
-0
-Error: div by 0
---------------------
-54
-1
-54
-0
---------------------
-54
-2
-27
-0
---------------------
-54
-3
-18
-0
---------------------
-54
-4
-13
-2
---------------------
-54
-5
-10
-4
---------------------
-54
-6
-9
-0
---------------------
-54
-7
-7
-5
---------------------
-54
-8
-6
-6
---------------------
-54
-9
-6
-0
---------------------
-54
-10
-5
-4
---------------------
---------------------
-53
-0
-Error: div by 0
---------------------
-53
-1
-53
-0
---------------------
-53
-2
-26
-1
---------------------
-53
-3
-17
-2
---------------------
-53
-4
-13
-1
---------------------
-53
-5
-10
-3
---------------------
-53
-6
-8
-5
---------------------
-53
-7
-7
-4
---------------------
-53
-8
-6
-5
---------------------
-53
-9
-5
-8
---------------------
-53
-10
-5
-3
---------------------
---------------------
-52
-0
-Error: div by 0
---------------------
-52
-1
-52
-0
---------------------
-52
-2
-26
-0
---------------------
-52
-3
-17
-1
---------------------
-52
-4
-13
-0
---------------------
-52
-5
-10
-2
---------------------
-52
-6
-8
-4
---------------------
-52
-7
-7
-3
---------------------
-52
-8
-6
-4
---------------------
-52
-9
-5
-7
---------------------
-52
-10
-5
-2
---------------------
---------------------
-51
-0
-Error: div by 0
---------------------
-51
-1
-51
-0
---------------------
-51
-2
-25
-1
---------------------
-51
-3
-17
-0
---------------------
-51
-4
-12
-3
---------------------
-51
-5
-10
-1
---------------------
-51
-6
-8
-3
---------------------
-51
-7
-7
-2
---------------------
-51
-8
-6
-3
---------------------
-51
-9
-5
-6
---------------------
-51
-10
-5
-1
---------------------
---------------------
-50
-0
-Error: div by 0
---------------------
-50
-1
-50
-0
---------------------
-50
-2
-25
-0
---------------------
-50
-3
-16
-2
---------------------
-50
-4
-12
-2
---------------------
-50
-5
-10
-0
---------------------
-50
-6
-8
-2
---------------------
-50
-7
-7
-1
---------------------
-50
-8
-6
-2
---------------------
-50
-9
-5
-5
---------------------
-50
-10
-5
-0
---------------------
---------------------
-49
-0
-Error: div by 0
---------------------
-49
-1
-49
-0
---------------------
-49
-2
-24
-1
---------------------
-49
-3
-16
-1
---------------------
-49
-4
-12
-1
---------------------
-49
-5
-9
-4
---------------------
-49
-6
-8
-1
---------------------
-49
-7
-7
-0
---------------------
-49
-8
-6
-1
---------------------
-49
-9
-5
-4
---------------------
-49
-10
-4
-9
---------------------
---------------------
-48
-0
-Error: div by 0
---------------------
-48
-1
-48
-0
---------------------
-48
-2
-24
-0
---------------------
-48
-3
-16
-0
---------------------
-48
-4
-12
-0
---------------------
-48
-5
-9
-3
---------------------
-48
-6
-8
-0
---------------------
-48
-7
-6
-6
---------------------
-48
-8
-6
-0
---------------------
-48
-9
-5
-3
---------------------
-48
-10
-4
-8
---------------------
---------------------
-47
-0
-Error: div by 0
---------------------
-47
-1
-47
-0
---------------------
-47
-2
-23
-1
---------------------
-47
-3
-15
-2
---------------------
-47
-4
-11
-3
---------------------
-47
-5
-9
-2
---------------------
-47
-6
-7
-5
---------------------
-47
-7
-6
-5
---------------------
-47
-8
-5
-7
---------------------
-47
-9
-5
-2
---------------------
-47
-10
-4
-7
---------------------
---------------------
-46
-0
-Error: div by 0
---------------------
-46
-1
-46
-0
---------------------
-46
-2
-23
-0
---------------------
-46
-3
-15
-1
---------------------
-46
-4
-11
-2
---------------------
-46
-5
-9
-1
---------------------
-46
-6
-7
-4
---------------------
-46
-7
-6
-4
---------------------
-46
-8
-5
-6
---------------------
-46
-9
-5
-1
---------------------
-46
-10
-4
-6
---------------------
---------------------
-45
-0
-Error: div by 0
---------------------
-45
-1
-45
-0
---------------------
-45
-2
-22
-1
---------------------
-45
-3
-15
-0
---------------------
-45
-4
-11
-1
---------------------
-45
-5
-9
-0
---------------------
-45
-6
-7
-3
---------------------
-45
-7
-6
-3
---------------------
-45
-8
-5
-5
---------------------
-45
-9
-5
-0
---------------------
-45
-10
-4
-5
---------------------
---------------------
-44
-0
-Error: div by 0
---------------------
-44
-1
-44
-0
---------------------
-44
-2
-22
-0
---------------------
-44
-3
-14
-2
---------------------
-44
-4
-11
-0
---------------------
-44
-5
-8
-4
---------------------
-44
-6
-7
-2
---------------------
-44
-7
-6
-2
---------------------
-44
-8
-5
-4
---------------------
-44
-9
-4
-8
---------------------
-44
-10
-4
-4
---------------------
---------------------
-43
-0
-Error: div by 0
---------------------
-43
-1
-43
-0
---------------------
-43
-2
-21
-1
---------------------
-43
-3
-14
-1
---------------------
-43
-4
-10
-3
---------------------
-43
-5
-8
-3
---------------------
-43
-6
-7
-1
---------------------
-43
-7
-6
-1
---------------------
-43
-8
-5
-3
---------------------
-43
-9
-4
-7
---------------------
-43
-10
-4
-3
---------------------
---------------------
-42
-0
-Error: div by 0
---------------------
-42
-1
-42
-0
---------------------
-42
-2
-21
-0
---------------------
-42
-3
-14
-0
---------------------
-42
-4
-10
-2
---------------------
-42
-5
-8
-2
---------------------
-42
-6
-7
-0
---------------------
-42
-7
-6
-0
---------------------
-42
-8
-5
-2
---------------------
-42
-9
-4
-6
---------------------
-42
-10
-4
-2
---------------------
---------------------
-41
-0
-Error: div by 0
---------------------
-41
-1
-41
-0
---------------------
-41
-2
-20
-1
---------------------
-41
-3
-13
-2
---------------------
-41
-4
-10
-1
---------------------
-41
-5
-8
-1
---------------------
-41
-6
-6
-5
---------------------
-41
-7
-5
-6
---------------------
-41
-8
-5
-1
---------------------
-41
-9
-4
-5
---------------------
-41
-10
-4
-1
---------------------
---------------------
-40
-0
-Error: div by 0
---------------------
-40
-1
-40
-0
---------------------
-40
-2
-20
-0
---------------------
-40
-3
-13
-1
---------------------
-40
-4
-10
-0
---------------------
-40
-5
-8
-0
---------------------
-40
-6
-6
-4
---------------------
-40
-7
-5
-5
---------------------
-40
-8
-5
-0
---------------------
-40
-9
-4
-4
---------------------
-40
-10
-4
-0
---------------------
---------------------
-39
-0
-Error: div by 0
---------------------
-39
-1
-39
-0
---------------------
-39
-2
-19
-1
---------------------
-39
-3
-13
-0
---------------------
-39
-4
-9
-3
---------------------
-39
-5
-7
-4
---------------------
-39
-6
-6
-3
---------------------
-39
-7
-5
-4
---------------------
-39
-8
-4
-7
---------------------
-39
-9
-4
-3
---------------------
-39
-10
-3
-9
---------------------
---------------------
-38
-0
-Error: div by 0
---------------------
-38
-1
-38
-0
---------------------
-38
-2
-19
-0
---------------------
-38
-3
-12
-2
---------------------
-38
-4
-9
-2
---------------------
-38
-5
-7
-3
---------------------
-38
-6
-6
-2
---------------------
-38
-7
-5
-3
---------------------
-38
-8
-4
-6
---------------------
-38
-9
-4
-2
---------------------
-38
-10
-3
-8
---------------------
---------------------
-37
-0
-Error: div by 0
---------------------
-37
-1
-37
-0
---------------------
-37
-2
-18
-1
---------------------
-37
-3
-12
-1
---------------------
-37
-4
-9
-1
---------------------
-37
-5
-7
-2
---------------------
-37
-6
-6
-1
---------------------
-37
-7
-5
-2
---------------------
-37
-8
-4
-5
---------------------
-37
-9
-4
-1
---------------------
-37
-10
-3
-7
---------------------
---------------------
-36
-0
-Error: div by 0
---------------------
-36
-1
-36
-0
---------------------
-36
-2
-18
-0
---------------------
-36
-3
-12
-0
---------------------
-36
-4
-9
-0
---------------------
-36
-5
-7
-1
---------------------
-36
-6
-6
-0
---------------------
-36
-7
-5
-1
---------------------
-36
-8
-4
-4
---------------------
-36
-9
-4
-0
---------------------
-36
-10
-3
-6
---------------------
---------------------
-35
-0
-Error: div by 0
---------------------
-35
-1
-35
-0
---------------------
-35
-2
-17
-1
---------------------
-35
-3
-11
-2
---------------------
-35
-4
-8
-3
---------------------
-35
-5
-7
-0
---------------------
-35
-6
-5
-5
---------------------
-35
-7
-5
-0
---------------------
-35
-8
-4
-3
---------------------
-35
-9
-3
-8
---------------------
-35
-10
-3
-5
---------------------
---------------------
-34
-0
-Error: div by 0
---------------------
-34
-1
-34
-0
---------------------
-34
-2
-17
-0
---------------------
-34
-3
-11
-1
---------------------
-34
-4
-8
-2
---------------------
-34
-5
-6
-4
---------------------
-34
-6
-5
-4
---------------------
-34
-7
-4
-6
---------------------
-34
-8
-4
-2
---------------------
-34
-9
-3
-7
---------------------
-34
-10
-3
-4
---------------------
---------------------
-33
-0
-Error: div by 0
---------------------
-33
-1
-33
-0
---------------------
-33
-2
-16
-1
---------------------
-33
-3
-11
-0
---------------------
-33
-4
-8
-1
---------------------
-33
-5
-6
-3
---------------------
-33
-6
-5
-3
---------------------
-33
-7
-4
-5
---------------------
-33
-8
-4
-1
---------------------
-33
-9
-3
-6
---------------------
-33
-10
-3
-3
---------------------
---------------------
-32
-0
-Error: div by 0
---------------------
-32
-1
-32
-0
---------------------
-32
-2
-16
-0
---------------------
-32
-3
-10
-2
---------------------
-32
-4
-8
-0
---------------------
-32
-5
-6
-2
---------------------
-32
-6
-5
-2
---------------------
-32
-7
-4
-4
---------------------
-32
-8
-4
-0
---------------------
-32
-9
-3
-5
---------------------
-32
-10
-3
-2
---------------------
---------------------
-31
-0
-Error: div by 0
---------------------
-31
-1
-31
-0
---------------------
-31
-2
-15
-1
---------------------
-31
-3
-10
-1
---------------------
-31
-4
-7
-3
---------------------
-31
-5
-6
-1
---------------------
-31
-6
-5
-1
---------------------
-31
-7
-4
-3
---------------------
-31
-8
-3
-7
---------------------
-31
-9
-3
-4
---------------------
-31
-10
-3
-1
---------------------
---------------------
-30
-0
-Error: div by 0
---------------------
-30
-1
-30
-0
---------------------
-30
-2
-15
-0
---------------------
-30
-3
-10
-0
---------------------
-30
-4
-7
-2
---------------------
-30
-5
-6
-0
---------------------
-30
-6
-5
-0
---------------------
-30
-7
-4
-2
---------------------
-30
-8
-3
-6
---------------------
-30
-9
-3
-3
---------------------
-30
-10
-3
-0
---------------------
---------------------
-29
-0
-Error: div by 0
---------------------
-29
-1
-29
-0
---------------------
-29
-2
-14
-1
---------------------
-29
-3
-9
-2
---------------------
-29
-4
-7
-1
---------------------
-29
-5
-5
-4
---------------------
-29
-6
-4
-5
---------------------
-29
-7
-4
-1
---------------------
-29
-8
-3
-5
---------------------
-29
-9
-3
-2
---------------------
-29
-10
-2
-9
---------------------
---------------------
-28
-0
-Error: div by 0
---------------------
-28
-1
-28
-0
---------------------
-28
-2
-14
-0
---------------------
-28
-3
-9
-1
---------------------
-28
-4
-7
-0
---------------------
-28
-5
-5
-3
---------------------
-28
-6
-4
-4
---------------------
-28
-7
-4
-0
---------------------
-28
-8
-3
-4
---------------------
-28
-9
-3
-1
---------------------
-28
-10
-2
-8
---------------------
---------------------
-27
-0
-Error: div by 0
---------------------
-27
-1
-27
-0
---------------------
-27
-2
-13
-1
---------------------
-27
-3
-9
-0
---------------------
-27
-4
-6
-3
---------------------
-27
-5
-5
-2
---------------------
-27
-6
-4
-3
---------------------
-27
-7
-3
-6
---------------------
-27
-8
-3
-3
---------------------
-27
-9
-3
-0
---------------------
-27
-10
-2
-7
---------------------
---------------------
-26
-0
-Error: div by 0
---------------------
-26
-1
-26
-0
---------------------
-26
-2
-13
-0
---------------------
-26
-3
-8
-2
---------------------
-26
-4
-6
-2
---------------------
-26
-5
-5
-1
---------------------
-26
-6
-4
-2
---------------------
-26
-7
-3
-5
---------------------
-26
-8
-3
-2
---------------------
-26
-9
-2
-8
---------------------
-26
-10
-2
-6
---------------------
---------------------
-25
-0
-Error: div by 0
---------------------
-25
-1
-25
-0
---------------------
-25
-2
-12
-1
---------------------
-25
-3
-8
-1
---------------------
-25
-4
-6
-1
---------------------
-25
-5
-5
-0
---------------------
-25
-6
-4
-1
---------------------
-25
-7
-3
-4
---------------------
-25
-8
-3
-1
---------------------
-25
-9
-2
-7
---------------------
-25
-10
-2
-5
---------------------
---------------------
-24
-0
-Error: div by 0
---------------------
-24
-1
-24
-0
---------------------
-24
-2
-12
-0
---------------------
-24
-3
-8
-0
---------------------
-24
-4
-6
-0
---------------------
-24
-5
-4
-4
---------------------
-24
-6
-4
-0
---------------------
-24
-7
-3
-3
---------------------
-24
-8
-3
-0
---------------------
-24
-9
-2
-6
---------------------
-24
-10
-2
-4
---------------------
---------------------
-23
-0
-Error: div by 0
---------------------
-23
-1
-23
-0
---------------------
-23
-2
-11
-1
---------------------
-23
-3
-7
-2
---------------------
-23
-4
-5
-3
---------------------
-23
-5
-4
-3
---------------------
-23
-6
-3
-5
---------------------
-23
-7
-3
-2
---------------------
-23
-8
-2
-7
---------------------
-23
-9
-2
-5
---------------------
-23
-10
-2
-3
---------------------
---------------------
-22
-0
-Error: div by 0
---------------------
-22
-1
-22
-0
---------------------
-22
-2
-11
-0
---------------------
-22
-3
-7
-1
---------------------
-22
-4
-5
-2
---------------------
-22
-5
-4
-2
---------------------
-22
-6
-3
-4
---------------------
-22
-7
-3
-1
---------------------
-22
-8
-2
-6
---------------------
-22
-9
-2
-4
---------------------
-22
-10
-2
-2
---------------------
---------------------
-21
-0
-Error: div by 0
---------------------
-21
-1
-21
-0
---------------------
-21
-2
-10
-1
---------------------
-21
-3
-7
-0
---------------------
-21
-4
-5
-1
---------------------
-21
-5
-4
-1
---------------------
-21
-6
-3
-3
---------------------
-21
-7
-3
-0
---------------------
-21
-8
-2
-5
---------------------
-21
-9
-2
-3
---------------------
-21
-10
-2
-1
---------------------
---------------------
-20
-0
-Error: div by 0
---------------------
-20
-1
-20
-0
---------------------
-20
-2
-10
-0
---------------------
-20
-3
-6
-2
---------------------
-20
-4
-5
-0
---------------------
-20
-5
-4
-0
---------------------
-20
-6
-3
-2
---------------------
-20
-7
-2
-6
---------------------
-20
-8
-2
-4
---------------------
-20
-9
-2
-2
---------------------
-20
-10
-2
-0
---------------------
---------------------
-19
-0
-Error: div by 0
---------------------
-19
-1
-19
-0
---------------------
-19
-2
-9
-1
---------------------
-19
-3
-6
-1
---------------------
-19
-4
-4
-3
---------------------
-19
-5
-3
-4
---------------------
-19
-6
-3
-1
---------------------
-19
-7
-2
-5
---------------------
-19
-8
-2
-3
---------------------
-19
-9
-2
-1
---------------------
-19
-10
-1
-9
---------------------
---------------------
-18
-0
-Error: div by 0
---------------------
-18
-1
-18
-0
---------------------
-18
-2
-9
-0
---------------------
-18
-3
-6
-0
---------------------
-18
-4
-4
-2
---------------------
-18
-5
-3
-3
---------------------
-18
-6
-3
-0
---------------------
-18
-7
-2
-4
---------------------
-18
-8
-2
-2
---------------------
-18
-9
-2
-0
---------------------
-18
-10
-1
-8
---------------------
---------------------
-17
-0
-Error: div by 0
---------------------
-17
-1
-17
-0
---------------------
-17
-2
-8
-1
---------------------
-17
-3
-5
-2
---------------------
-17
-4
-4
-1
---------------------
-17
-5
-3
-2
---------------------
-17
-6
-2
-5
---------------------
-17
-7
-2
-3
---------------------
-17
-8
-2
-1
---------------------
-17
-9
-1
-8
---------------------
-17
-10
-1
-7
---------------------
---------------------
-16
-0
-Error: div by 0
---------------------
-16
-1
-16
-0
---------------------
-16
-2
-8
-0
---------------------
-16
-3
-5
-1
---------------------
-16
-4
-4
-0
---------------------
-16
-5
-3
-1
---------------------
-16
-6
-2
-4
---------------------
-16
-7
-2
-2
---------------------
-16
-8
-2
-0
---------------------
-16
-9
-1
-7
---------------------
-16
-10
-1
-6
---------------------
---------------------
-15
-0
-Error: div by 0
---------------------
-15
-1
-15
-0
---------------------
-15
-2
-7
-1
---------------------
-15
-3
-5
-0
---------------------
-15
-4
-3
-3
---------------------
-15
-5
-3
-0
---------------------
-15
-6
-2
-3
---------------------
-15
-7
-2
-1
---------------------
-15
-8
-1
-7
---------------------
-15
-9
-1
-6
---------------------
-15
-10
-1
-5
---------------------
---------------------
-14
-0
-Error: div by 0
---------------------
-14
-1
-14
-0
---------------------
-14
-2
-7
-0
---------------------
-14
-3
-4
-2
---------------------
-14
-4
-3
-2
---------------------
-14
-5
-2
-4
---------------------
-14
-6
-2
-2
---------------------
-14
-7
-2
-0
---------------------
-14
-8
-1
-6
---------------------
-14
-9
-1
-5
---------------------
-14
-10
-1
-4
---------------------
---------------------
-13
-0
-Error: div by 0
---------------------
-13
-1
-13
-0
---------------------
-13
-2
-6
-1
---------------------
-13
-3
-4
-1
---------------------
-13
-4
-3
-1
---------------------
-13
-5
-2
-3
---------------------
-13
-6
-2
-1
---------------------
-13
-7
-1
-6
---------------------
-13
-8
-1
-5
---------------------
-13
-9
-1
-4
---------------------
-13
-10
-1
-3
---------------------
---------------------
-12
-0
-Error: div by 0
---------------------
-12
-1
-12
-0
---------------------
-12
-2
-6
-0
---------------------
-12
-3
-4
-0
---------------------
-12
-4
-3
-0
---------------------
-12
-5
-2
-2
---------------------
-12
-6
-2
-0
---------------------
-12
-7
-1
-5
---------------------
-12
-8
-1
-4
---------------------
-12
-9
-1
-3
---------------------
-12
-10
-1
-2
---------------------
---------------------
-11
-0
-Error: div by 0
---------------------
-11
-1
-11
-0
---------------------
-11
-2
-5
-1
---------------------
-11
-3
-3
-2
---------------------
-11
-4
-2
-3
---------------------
-11
-5
-2
-1
---------------------
-11
-6
-1
-5
---------------------
-11
-7
-1
-4
---------------------
-11
-8
-1
-3
---------------------
-11
-9
-1
-2
---------------------
-11
-10
-1
-1
---------------------
---------------------
-10
-0
-Error: div by 0
---------------------
-10
-1
-10
-0
---------------------
-10
-2
-5
-0
---------------------
-10
-3
-3
-1
---------------------
-10
-4
-2
-2
---------------------
-10
-5
-2
-0
---------------------
-10
-6
-1
-4
---------------------
-10
-7
-1
-3
---------------------
-10
-8
-1
-2
---------------------
-10
-9
-1
-1
---------------------
-10
-10
-1
-0
---------------------
---------------------
-9
-0
-Error: div by 0
---------------------
-9
-1
-9
-0
---------------------
-9
-2
-4
-1
---------------------
-9
-3
-3
-0
---------------------
-9
-4
-2
-1
---------------------
-9
-5
-1
-4
---------------------
-9
-6
-1
-3
---------------------
-9
-7
-1
-2
---------------------
-9
-8
-1
-1
---------------------
-9
-9
-1
-0
---------------------
-9
-10
-0
-9
---------------------
---------------------
-8
-0
-Error: div by 0
---------------------
-8
-1
-8
-0
---------------------
-8
-2
-4
-0
---------------------
-8
-3
-2
-2
---------------------
-8
-4
-2
-0
---------------------
-8
-5
-1
-3
---------------------
-8
-6
-1
-2
---------------------
-8
-7
-1
-1
---------------------
-8
-8
-1
-0
---------------------
-8
-9
-0
-8
---------------------
-8
-10
-0
-8
---------------------
---------------------
-7
-0
-Error: div by 0
---------------------
-7
-1
-7
-0
---------------------
-7
-2
-3
-1
---------------------
-7
-3
-2
-1
---------------------
-7
-4
-1
-3
---------------------
-7
-5
-1
-2
---------------------
-7
-6
-1
-1
---------------------
-7
-7
-1
-0
---------------------
-7
-8
-0
-7
---------------------
-7
-9
-0
-7
---------------------
-7
-10
-0
-7
---------------------
---------------------
-6
-0
-Error: div by 0
---------------------
-6
-1
-6
-0
---------------------
-6
-2
-3
-0
---------------------
-6
-3
-2
-0
---------------------
-6
-4
-1
-2
---------------------
-6
-5
-1
-1
---------------------
-6
-6
-1
-0
---------------------
-6
-7
-0
-6
---------------------
-6
-8
-0
-6
---------------------
-6
-9
-0
-6
---------------------
-6
-10
-0
-6
---------------------
---------------------
-5
-0
-Error: div by 0
---------------------
-5
-1
-5
-0
---------------------
-5
-2
-2
-1
---------------------
-5
-3
-1
-2
---------------------
-5
-4
-1
-1
---------------------
-5
-5
-1
-0
---------------------
-5
-6
-0
-5
---------------------
-5
-7
-0
-5
---------------------
-5
-8
-0
-5
---------------------
-5
-9
-0
-5
---------------------
-5
-10
-0
-5
---------------------
---------------------
-4
-0
-Error: div by 0
---------------------
-4
-1
-4
-0
---------------------
-4
-2
-2
-0
---------------------
-4
-3
-1
-1
---------------------
-4
-4
-1
-0
---------------------
-4
-5
-0
-4
---------------------
-4
-6
-0
-4
---------------------
-4
-7
-0
-4
---------------------
-4
-8
-0
-4
---------------------
-4
-9
-0
-4
---------------------
-4
-10
-0
-4
---------------------
---------------------
-3
-0
-Error: div by 0
---------------------
-3
-1
-3
-0
---------------------
-3
-2
-1
-1
---------------------
-3
-3
-1
-0
---------------------
-3
-4
-0
-3
---------------------
-3
-5
-0
-3
---------------------
-3
-6
-0
-3
---------------------
-3
-7
-0
-3
---------------------
-3
-8
-0
-3
---------------------
-3
-9
-0
-3
---------------------
-3
-10
-0
-3
---------------------
---------------------
-2
-0
-Error: div by 0
---------------------
-2
-1
-2
-0
---------------------
-2
-2
-1
-0
---------------------
-2
-3
-0
-2
---------------------
-2
-4
-0
-2
---------------------
-2
-5
-0
-2
---------------------
-2
-6
-0
-2
---------------------
-2
-7
-0
-2
---------------------
-2
-8
-0
-2
---------------------
-2
-9
-0
-2
---------------------
-2
-10
-0
-2
---------------------
---------------------
-1
-0
-Error: div by 0
---------------------
-1
-1
-1
-0
---------------------
-1
-2
-0
-1
---------------------
-1
-3
-0
-1
---------------------
-1
-4
-0
-1
---------------------
-1
-5
-0
-1
---------------------
-1
-6
-0
-1
---------------------
-1
-7
-0
-1
---------------------
-1
-8
-0
-1
---------------------
-1
-9
-0
-1
---------------------
-1
-10
-0
-1
---------------------
---------------------
-0
-0
-Error: div by 0
---------------------
-0
-1
-0
-0
---------------------
-0
-2
-0
-0
---------------------
-0
-3
-0
-0
---------------------
-0
-4
-0
-0
---------------------
-0
-5
-0
-0
---------------------
-0
-6
-0
-0
---------------------
-0
-7
-0
-0
---------------------
-0
-8
-0
-0
---------------------
-0
-9
-0
-0
---------------------
-0
-10
-0
-0
---------------------
diff --git a/as/casl2lib/test/divl/Makefile b/as/casl2lib/test/divl/Makefile
deleted file mode 100644 (file)
index 068f49f..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-YACASL2DIR= ../../../..
-CASL2 = $(YACASL2DIR)/casl2
-CASL2FLAG = -M640
-LIBDIR = $(YACASL2DIR)/as/casl2lib
-ASFILE = divl.casl $(LIBDIR)/outl.casl    # DIVLは、outl.caslに含まれる
-CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
-include $(YACASL2DIR)/test/integration/casl2/TEST.mk
diff --git a/as/casl2lib/test/divl/divl.casl b/as/casl2lib/test/divl/divl.casl
deleted file mode 100644 (file)
index e988bea..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-MAIN    START
-        LD      GR1,XMAX
-LOOPX   CPA     GR1,XMIN
-        JMI     FIN
-        OUT     SEP,SLEN
-        LD      GR2,YMIN
-LOOPY   CPL     GR2,YMAX
-        JPL     XNEXT
-        CALL    OUTL
-        PUSH    0,GR1
-        LD      GR1,GR2
-        CALL    OUTL
-        POP     GR1
-        CALL    DIVL
-        JOV     WOV
-        PUSH    0,GR1
-        LD      GR1,GR0
-        CALL    OUTL
-        LD      GR1,GR3
-        CALL    OUTL
-        POP     GR1
-YNEXT   OUT     SEP,SLEN
-        LAD     GR2,1,GR2
-        JUMP    LOOPY
-WOV     OUT     Y0MSG,YLEN
-        JUMP    YNEXT
-XNEXT   LAD     GR1,-1,GR1
-        JUMP    LOOPX
-FIN     RET
-XMAX    DC      100
-XMIN    DC      0
-YMAX    DC      10
-YMIN    DC      0
-SEP     DC      '--------------------'
-SLEN    DC      20
-Y0MSG   DC      'Error: div by 0'
-YLEN    DC      15
-        END
diff --git a/as/casl2lib/test/divl/divl0/call_divl.casl b/as/casl2lib/test/divl/divl0/call_divl.casl
deleted file mode 100644 (file)
index eb5fdea..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-;; CASL2LIB > DIVLを呼び出し、65535 / 256 の商と剰余を表示
-MAIN    START
-BEGIN   LD      GR1,A
-        LD      GR2,B
-        CALL    DIVL
-        JOV     ERR
-        LD      GR1,GR0
-        CALL    OUTA
-        LD      GR1,GR3
-        CALL    OUTA
-        JUMP    FIN        
-ERR     OUT     EMSG,ELEN
-FIN     RET
-A       DC      65535
-B       DC      256
-EMSG    DC      'error'
-ELEN   DC      5
-        END
diff --git a/as/casl2lib/test/divl/divl0/divl0.casl b/as/casl2lib/test/divl/divl0/divl0.casl
deleted file mode 100644 (file)
index b8c3a82..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-MAIN    START
-BEGIN   LAD     GR1,101
-        LAD     GR2,10
-        CALL    DIVL
-        RET
-        END
diff --git a/as/casl2lib/test/divl/divl1/divl1.casl b/as/casl2lib/test/divl/divl1/divl1.casl
deleted file mode 100644 (file)
index bd84ab3..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-;;; casl2 divl1.casl ../casl2lib/outl.casl
-MAIN    START
-BEGIN   LD      GR1,X
-        CALL    OUTL
-        LD      GR2,Y
-        PUSH    0,GR1
-        LD      GR1,GR2
-        CALL    OUTL
-        POP     GR1
-        CALL    DIVL
-        LD      GR1,GR0
-        CALL    OUTL
-        LD      GR1,GR3
-        CALL    OUTL
-        RET
-X       DC      123
-Y       DC      10
-        END
diff --git a/as/casl2lib/test/inl/0.txt b/as/casl2lib/test/inl/0.txt
deleted file mode 100644 (file)
index cb4e0e4..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-../../../../casl2 -M720 inl.casl ../../../../as/casl2lib/inl.casl ../../../../as/casl2lib/outl.casl
-0
-1
-2
-10
-12
-32767
-32768
-65535
-Over 65535
-Over 65535
-Not A Number
-Not A Number
-12345
-Str too long. Stop
diff --git a/as/casl2lib/test/inl/Makefile b/as/casl2lib/test/inl/Makefile
deleted file mode 100644 (file)
index 529d51d..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-YACASL2DIR= ../../../..
-CASL2 = $(YACASL2DIR)/casl2
-CASL2FLAG = -M720
-LIBDIR = $(YACASL2DIR)/as/casl2lib
-ASFILE = inl.casl $(LIBDIR)/inl.casl $(LIBDIR)/outl.casl
-IN = teststr.txt
-CMD = $(CASL2) $(CASL2FLAG) $(ASFILE) <$(IN)
-include $(YACASL2DIR)/test/TEST.mk
diff --git a/as/casl2lib/test/inl/cmd b/as/casl2lib/test/inl/cmd
deleted file mode 100644 (file)
index 9e91fb1..0000000
+++ /dev/null
@@ -1 +0,0 @@
-casl2 cal_inl.casl $CASL2LIB/inl.casl $CASL2LIB/outl.casl < in.txt
\ No newline at end of file
diff --git a/as/casl2lib/test/inl/inl.casl b/as/casl2lib/test/inl/inl.casl
deleted file mode 100644 (file)
index 28c6a9c..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-;;; casl2 inl.casl ../casl2lib/inl.casl ../casl2lib/outl.casl
-MAIN    START
-LOOP    CALL    INL             ; GR1に数値、GR0に文字列の長さ
-        JOV     OV
-        AND     GR0,GR0
-        JZE     FIN
-        CPL     GR0,=#FFFF
-        JZE     NAN
-        CALL    OUTL
-        JUMP    LOOP
-OV      CPL     GR0,=#FFFF
-        JZE     LENOV
-        OUT     OVMSG,MLEN1
-        JUMP    LOOP
-NAN     OUT     NANMSG,MLEN2
-        JUMP    LOOP
-LENOV   OUT     LENOVMSG,MLEN3
-FIN     RET
-OVMSG   DC      'Over 65535'
-MLEN1   DC      10
-NANMSG  DC      'Not A Number'
-MLEN2   DC      12
-LENOVMSG DC     'Str too long. Stop'
-MLEN3   DC      18
-        END
diff --git a/as/casl2lib/test/inl/teststr.txt b/as/casl2lib/test/inl/teststr.txt
deleted file mode 100644 (file)
index b6b862a..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-0
-1
-2
-10
-12
-32767
-32768
-65535
-65536
-90000
--1
-NOTNU
-12345
-100000
-1234
diff --git a/as/casl2lib/test/minim/0.txt b/as/casl2lib/test/minim/0.txt
deleted file mode 100644 (file)
index b085c0c..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-../../../../casl2 minim.casl ../../../../as/casl2lib/minim.casl ../../../../as/casl2lib/outa.casl
--39
diff --git a/as/casl2lib/test/minim/Makefile b/as/casl2lib/test/minim/Makefile
deleted file mode 100644 (file)
index 172bb35..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-YACASL2DIR= ../../../..
-CASL2 = $(YACASL2DIR)/casl2
-LIBDIR = $(YACASL2DIR)/as/casl2lib
-ASFILE = minim.casl $(LIBDIR)/minim.casl $(LIBDIR)/outa.casl
-CMD = $(CASL2) $(ASFILE)
-include $(YACASL2DIR)/test/TEST.mk
diff --git a/as/casl2lib/test/minim/minim.casl b/as/casl2lib/test/minim/minim.casl
deleted file mode 100644 (file)
index d74aa34..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-;;; casl2 minim.casl $(LIBDIR)/minim.casl $(LIBDIR)/outa.casl
-MAIN    START
-        LAD     GR1,DATA
-        LD      GR2,CNT
-        CALL    MINIM
-        LD      GR1,GR0
-        CALL    OUTA
-        RET
-DATA    DC      23,78,2,45,67,-39,86
-CNT     DC      7
-        END
diff --git a/as/casl2lib/test/mula/0.txt b/as/casl2lib/test/mula/0.txt
deleted file mode 100644 (file)
index 2936628..0000000
+++ /dev/null
@@ -1,1937 +0,0 @@
-../../../../casl2 -M640 mula.casl ../../../../as/casl2lib/mula.casl ../../../../as/casl2lib/outa.casl
-0
-0
-0
---------------------
-0
-1
-0
---------------------
-0
-2
-0
---------------------
-0
-127
-0
---------------------
-0
-128
-0
---------------------
-0
-151
-0
---------------------
-0
-217
-0
---------------------
-0
-255
-0
---------------------
-0
-256
-0
---------------------
-0
-257
-0
---------------------
-0
-32767
-0
---------------------
-0
--32768
-0
---------------------
-0
--32767
-0
---------------------
-0
--257
-0
---------------------
-0
--256
-0
---------------------
-0
--255
-0
---------------------
-0
--217
-0
---------------------
-0
--151
-0
---------------------
-0
--128
-0
---------------------
-0
--127
-0
---------------------
-0
--2
-0
---------------------
-0
--1
-0
---------------------
-1
-0
-0
---------------------
-1
-1
-1
---------------------
-1
-2
-2
---------------------
-1
-127
-127
---------------------
-1
-128
-128
---------------------
-1
-151
-151
---------------------
-1
-217
-217
---------------------
-1
-255
-255
---------------------
-1
-256
-256
---------------------
-1
-257
-257
---------------------
-1
-32767
-32767
---------------------
-1
--32768
-Warning: overflow
---------------------
-1
--32767
--32767
---------------------
-1
--257
--257
---------------------
-1
--256
--256
---------------------
-1
--255
--255
---------------------
-1
--217
--217
---------------------
-1
--151
--151
---------------------
-1
--128
--128
---------------------
-1
--127
--127
---------------------
-1
--2
--2
---------------------
-1
--1
--1
---------------------
-2
-0
-0
---------------------
-2
-1
-2
---------------------
-2
-2
-4
---------------------
-2
-127
-254
---------------------
-2
-128
-256
---------------------
-2
-151
-302
---------------------
-2
-217
-434
---------------------
-2
-255
-510
---------------------
-2
-256
-512
---------------------
-2
-257
-514
---------------------
-2
-32767
-Warning: overflow
---------------------
-2
--32768
-Warning: overflow
---------------------
-2
--32767
-Warning: overflow
---------------------
-2
--257
--514
---------------------
-2
--256
--512
---------------------
-2
--255
--510
---------------------
-2
--217
--434
---------------------
-2
--151
--302
---------------------
-2
--128
--256
---------------------
-2
--127
--254
---------------------
-2
--2
--4
---------------------
-2
--1
--2
---------------------
-127
-0
-0
---------------------
-127
-1
-127
---------------------
-127
-2
-254
---------------------
-127
-127
-16129
---------------------
-127
-128
-16256
---------------------
-127
-151
-19177
---------------------
-127
-217
-27559
---------------------
-127
-255
-32385
---------------------
-127
-256
-32512
---------------------
-127
-257
-32639
---------------------
-127
-32767
-Warning: overflow
---------------------
-127
--32768
-Warning: overflow
---------------------
-127
--32767
-Warning: overflow
---------------------
-127
--257
--32639
---------------------
-127
--256
--32512
---------------------
-127
--255
--32385
---------------------
-127
--217
--27559
---------------------
-127
--151
--19177
---------------------
-127
--128
--16256
---------------------
-127
--127
--16129
---------------------
-127
--2
--254
---------------------
-127
--1
--127
---------------------
-128
-0
-0
---------------------
-128
-1
-128
---------------------
-128
-2
-256
---------------------
-128
-127
-16256
---------------------
-128
-128
-16384
---------------------
-128
-151
-19328
---------------------
-128
-217
-27776
---------------------
-128
-255
-32640
---------------------
-128
-256
-Warning: overflow
---------------------
-128
-257
-Warning: overflow
---------------------
-128
-32767
-Warning: overflow
---------------------
-128
--32768
-Warning: overflow
---------------------
-128
--32767
-Warning: overflow
---------------------
-128
--257
-Warning: overflow
---------------------
-128
--256
-Warning: overflow
---------------------
-128
--255
--32640
---------------------
-128
--217
--27776
---------------------
-128
--151
--19328
---------------------
-128
--128
--16384
---------------------
-128
--127
--16256
---------------------
-128
--2
--256
---------------------
-128
--1
--128
---------------------
-151
-0
-0
---------------------
-151
-1
-151
---------------------
-151
-2
-302
---------------------
-151
-127
-19177
---------------------
-151
-128
-19328
---------------------
-151
-151
-22801
---------------------
-151
-217
-32767
---------------------
-151
-255
-Warning: overflow
---------------------
-151
-256
-Warning: overflow
---------------------
-151
-257
-Warning: overflow
---------------------
-151
-32767
-Warning: overflow
---------------------
-151
--32768
-Warning: overflow
---------------------
-151
--32767
-Warning: overflow
---------------------
-151
--257
-Warning: overflow
---------------------
-151
--256
-Warning: overflow
---------------------
-151
--255
-Warning: overflow
---------------------
-151
--217
--32767
---------------------
-151
--151
--22801
---------------------
-151
--128
--19328
---------------------
-151
--127
--19177
---------------------
-151
--2
--302
---------------------
-151
--1
--151
---------------------
-217
-0
-0
---------------------
-217
-1
-217
---------------------
-217
-2
-434
---------------------
-217
-127
-27559
---------------------
-217
-128
-27776
---------------------
-217
-151
-32767
---------------------
-217
-217
-Warning: overflow
---------------------
-217
-255
-Warning: overflow
---------------------
-217
-256
-Warning: overflow
---------------------
-217
-257
-Warning: overflow
---------------------
-217
-32767
-Warning: overflow
---------------------
-217
--32768
-Warning: overflow
---------------------
-217
--32767
-Warning: overflow
---------------------
-217
--257
-Warning: overflow
---------------------
-217
--256
-Warning: overflow
---------------------
-217
--255
-Warning: overflow
---------------------
-217
--217
-Warning: overflow
---------------------
-217
--151
--32767
---------------------
-217
--128
--27776
---------------------
-217
--127
--27559
---------------------
-217
--2
--434
---------------------
-217
--1
--217
---------------------
-255
-0
-0
---------------------
-255
-1
-255
---------------------
-255
-2
-510
---------------------
-255
-127
-32385
---------------------
-255
-128
-32640
---------------------
-255
-151
-Warning: overflow
---------------------
-255
-217
-Warning: overflow
---------------------
-255
-255
-Warning: overflow
---------------------
-255
-256
-Warning: overflow
---------------------
-255
-257
-Warning: overflow
---------------------
-255
-32767
-Warning: overflow
---------------------
-255
--32768
-Warning: overflow
---------------------
-255
--32767
-Warning: overflow
---------------------
-255
--257
-Warning: overflow
---------------------
-255
--256
-Warning: overflow
---------------------
-255
--255
-Warning: overflow
---------------------
-255
--217
-Warning: overflow
---------------------
-255
--151
-Warning: overflow
---------------------
-255
--128
--32640
---------------------
-255
--127
--32385
---------------------
-255
--2
--510
---------------------
-255
--1
--255
---------------------
-256
-0
-0
---------------------
-256
-1
-256
---------------------
-256
-2
-512
---------------------
-256
-127
-32512
---------------------
-256
-128
-Warning: overflow
---------------------
-256
-151
-Warning: overflow
---------------------
-256
-217
-Warning: overflow
---------------------
-256
-255
-Warning: overflow
---------------------
-256
-256
-Warning: overflow
---------------------
-256
-257
-Warning: overflow
---------------------
-256
-32767
-Warning: overflow
---------------------
-256
--32768
-Warning: overflow
---------------------
-256
--32767
-Warning: overflow
---------------------
-256
--257
-Warning: overflow
---------------------
-256
--256
-Warning: overflow
---------------------
-256
--255
-Warning: overflow
---------------------
-256
--217
-Warning: overflow
---------------------
-256
--151
-Warning: overflow
---------------------
-256
--128
-Warning: overflow
---------------------
-256
--127
--32512
---------------------
-256
--2
--512
---------------------
-256
--1
--256
---------------------
-257
-0
-0
---------------------
-257
-1
-257
---------------------
-257
-2
-514
---------------------
-257
-127
-32639
---------------------
-257
-128
-Warning: overflow
---------------------
-257
-151
-Warning: overflow
---------------------
-257
-217
-Warning: overflow
---------------------
-257
-255
-Warning: overflow
---------------------
-257
-256
-Warning: overflow
---------------------
-257
-257
-Warning: overflow
---------------------
-257
-32767
-Warning: overflow
---------------------
-257
--32768
-Warning: overflow
---------------------
-257
--32767
-Warning: overflow
---------------------
-257
--257
-Warning: overflow
---------------------
-257
--256
-Warning: overflow
---------------------
-257
--255
-Warning: overflow
---------------------
-257
--217
-Warning: overflow
---------------------
-257
--151
-Warning: overflow
---------------------
-257
--128
-Warning: overflow
---------------------
-257
--127
--32639
---------------------
-257
--2
--514
---------------------
-257
--1
--257
---------------------
-32767
-0
-0
---------------------
-32767
-1
-32767
---------------------
-32767
-2
-Warning: overflow
---------------------
-32767
-127
-Warning: overflow
---------------------
-32767
-128
-Warning: overflow
---------------------
-32767
-151
-Warning: overflow
---------------------
-32767
-217
-Warning: overflow
---------------------
-32767
-255
-Warning: overflow
---------------------
-32767
-256
-Warning: overflow
---------------------
-32767
-257
-Warning: overflow
---------------------
-32767
-32767
-Warning: overflow
---------------------
-32767
--32768
-Warning: overflow
---------------------
-32767
--32767
-Warning: overflow
---------------------
-32767
--257
-Warning: overflow
---------------------
-32767
--256
-Warning: overflow
---------------------
-32767
--255
-Warning: overflow
---------------------
-32767
--217
-Warning: overflow
---------------------
-32767
--151
-Warning: overflow
---------------------
-32767
--128
-Warning: overflow
---------------------
-32767
--127
-Warning: overflow
---------------------
-32767
--2
-Warning: overflow
---------------------
-32767
--1
--32767
---------------------
--32768
-0
-0
---------------------
--32768
-1
-Warning: overflow
---------------------
--32768
-2
-Warning: overflow
---------------------
--32768
-127
-Warning: overflow
---------------------
--32768
-128
-Warning: overflow
---------------------
--32768
-151
-Warning: overflow
---------------------
--32768
-217
-Warning: overflow
---------------------
--32768
-255
-Warning: overflow
---------------------
--32768
-256
-Warning: overflow
---------------------
--32768
-257
-Warning: overflow
---------------------
--32768
-32767
-Warning: overflow
---------------------
--32768
--32768
-Warning: overflow
---------------------
--32768
--32767
-Warning: overflow
---------------------
--32768
--257
-Warning: overflow
---------------------
--32768
--256
-Warning: overflow
---------------------
--32768
--255
-Warning: overflow
---------------------
--32768
--217
-Warning: overflow
---------------------
--32768
--151
-Warning: overflow
---------------------
--32768
--128
-Warning: overflow
---------------------
--32768
--127
-Warning: overflow
---------------------
--32768
--2
-Warning: overflow
---------------------
--32768
--1
-Warning: overflow
---------------------
--32767
-0
-0
---------------------
--32767
-1
--32767
---------------------
--32767
-2
-Warning: overflow
---------------------
--32767
-127
-Warning: overflow
---------------------
--32767
-128
-Warning: overflow
---------------------
--32767
-151
-Warning: overflow
---------------------
--32767
-217
-Warning: overflow
---------------------
--32767
-255
-Warning: overflow
---------------------
--32767
-256
-Warning: overflow
---------------------
--32767
-257
-Warning: overflow
---------------------
--32767
-32767
-Warning: overflow
---------------------
--32767
--32768
-Warning: overflow
---------------------
--32767
--32767
-Warning: overflow
---------------------
--32767
--257
-Warning: overflow
---------------------
--32767
--256
-Warning: overflow
---------------------
--32767
--255
-Warning: overflow
---------------------
--32767
--217
-Warning: overflow
---------------------
--32767
--151
-Warning: overflow
---------------------
--32767
--128
-Warning: overflow
---------------------
--32767
--127
-Warning: overflow
---------------------
--32767
--2
-Warning: overflow
---------------------
--32767
--1
-32767
---------------------
--257
-0
-0
---------------------
--257
-1
--257
---------------------
--257
-2
--514
---------------------
--257
-127
--32639
---------------------
--257
-128
-Warning: overflow
---------------------
--257
-151
-Warning: overflow
---------------------
--257
-217
-Warning: overflow
---------------------
--257
-255
-Warning: overflow
---------------------
--257
-256
-Warning: overflow
---------------------
--257
-257
-Warning: overflow
---------------------
--257
-32767
-Warning: overflow
---------------------
--257
--32768
-Warning: overflow
---------------------
--257
--32767
-Warning: overflow
---------------------
--257
--257
-Warning: overflow
---------------------
--257
--256
-Warning: overflow
---------------------
--257
--255
-Warning: overflow
---------------------
--257
--217
-Warning: overflow
---------------------
--257
--151
-Warning: overflow
---------------------
--257
--128
-Warning: overflow
---------------------
--257
--127
-32639
---------------------
--257
--2
-514
---------------------
--257
--1
-257
---------------------
--256
-0
-0
---------------------
--256
-1
--256
---------------------
--256
-2
--512
---------------------
--256
-127
--32512
---------------------
--256
-128
-Warning: overflow
---------------------
--256
-151
-Warning: overflow
---------------------
--256
-217
-Warning: overflow
---------------------
--256
-255
-Warning: overflow
---------------------
--256
-256
-Warning: overflow
---------------------
--256
-257
-Warning: overflow
---------------------
--256
-32767
-Warning: overflow
---------------------
--256
--32768
-Warning: overflow
---------------------
--256
--32767
-Warning: overflow
---------------------
--256
--257
-Warning: overflow
---------------------
--256
--256
-Warning: overflow
---------------------
--256
--255
-Warning: overflow
---------------------
--256
--217
-Warning: overflow
---------------------
--256
--151
-Warning: overflow
---------------------
--256
--128
-Warning: overflow
---------------------
--256
--127
-32512
---------------------
--256
--2
-512
---------------------
--256
--1
-256
---------------------
--255
-0
-0
---------------------
--255
-1
--255
---------------------
--255
-2
--510
---------------------
--255
-127
--32385
---------------------
--255
-128
--32640
---------------------
--255
-151
-Warning: overflow
---------------------
--255
-217
-Warning: overflow
---------------------
--255
-255
-Warning: overflow
---------------------
--255
-256
-Warning: overflow
---------------------
--255
-257
-Warning: overflow
---------------------
--255
-32767
-Warning: overflow
---------------------
--255
--32768
-Warning: overflow
---------------------
--255
--32767
-Warning: overflow
---------------------
--255
--257
-Warning: overflow
---------------------
--255
--256
-Warning: overflow
---------------------
--255
--255
-Warning: overflow
---------------------
--255
--217
-Warning: overflow
---------------------
--255
--151
-Warning: overflow
---------------------
--255
--128
-32640
---------------------
--255
--127
-32385
---------------------
--255
--2
-510
---------------------
--255
--1
-255
---------------------
--217
-0
-0
---------------------
--217
-1
--217
---------------------
--217
-2
--434
---------------------
--217
-127
--27559
---------------------
--217
-128
--27776
---------------------
--217
-151
--32767
---------------------
--217
-217
-Warning: overflow
---------------------
--217
-255
-Warning: overflow
---------------------
--217
-256
-Warning: overflow
---------------------
--217
-257
-Warning: overflow
---------------------
--217
-32767
-Warning: overflow
---------------------
--217
--32768
-Warning: overflow
---------------------
--217
--32767
-Warning: overflow
---------------------
--217
--257
-Warning: overflow
---------------------
--217
--256
-Warning: overflow
---------------------
--217
--255
-Warning: overflow
---------------------
--217
--217
-Warning: overflow
---------------------
--217
--151
-32767
---------------------
--217
--128
-27776
---------------------
--217
--127
-27559
---------------------
--217
--2
-434
---------------------
--217
--1
-217
---------------------
--151
-0
-0
---------------------
--151
-1
--151
---------------------
--151
-2
--302
---------------------
--151
-127
--19177
---------------------
--151
-128
--19328
---------------------
--151
-151
--22801
---------------------
--151
-217
--32767
---------------------
--151
-255
-Warning: overflow
---------------------
--151
-256
-Warning: overflow
---------------------
--151
-257
-Warning: overflow
---------------------
--151
-32767
-Warning: overflow
---------------------
--151
--32768
-Warning: overflow
---------------------
--151
--32767
-Warning: overflow
---------------------
--151
--257
-Warning: overflow
---------------------
--151
--256
-Warning: overflow
---------------------
--151
--255
-Warning: overflow
---------------------
--151
--217
-32767
---------------------
--151
--151
-22801
---------------------
--151
--128
-19328
---------------------
--151
--127
-19177
---------------------
--151
--2
-302
---------------------
--151
--1
-151
---------------------
--128
-0
-0
---------------------
--128
-1
--128
---------------------
--128
-2
--256
---------------------
--128
-127
--16256
---------------------
--128
-128
--16384
---------------------
--128
-151
--19328
---------------------
--128
-217
--27776
---------------------
--128
-255
--32640
---------------------
--128
-256
-Warning: overflow
---------------------
--128
-257
-Warning: overflow
---------------------
--128
-32767
-Warning: overflow
---------------------
--128
--32768
-Warning: overflow
---------------------
--128
--32767
-Warning: overflow
---------------------
--128
--257
-Warning: overflow
---------------------
--128
--256
-Warning: overflow
---------------------
--128
--255
-32640
---------------------
--128
--217
-27776
---------------------
--128
--151
-19328
---------------------
--128
--128
-16384
---------------------
--128
--127
-16256
---------------------
--128
--2
-256
---------------------
--128
--1
-128
---------------------
--127
-0
-0
---------------------
--127
-1
--127
---------------------
--127
-2
--254
---------------------
--127
-127
--16129
---------------------
--127
-128
--16256
---------------------
--127
-151
--19177
---------------------
--127
-217
--27559
---------------------
--127
-255
--32385
---------------------
--127
-256
--32512
---------------------
--127
-257
--32639
---------------------
--127
-32767
-Warning: overflow
---------------------
--127
--32768
-Warning: overflow
---------------------
--127
--32767
-Warning: overflow
---------------------
--127
--257
-32639
---------------------
--127
--256
-32512
---------------------
--127
--255
-32385
---------------------
--127
--217
-27559
---------------------
--127
--151
-19177
---------------------
--127
--128
-16256
---------------------
--127
--127
-16129
---------------------
--127
--2
-254
---------------------
--127
--1
-127
---------------------
--2
-0
-0
---------------------
--2
-1
--2
---------------------
--2
-2
--4
---------------------
--2
-127
--254
---------------------
--2
-128
--256
---------------------
--2
-151
--302
---------------------
--2
-217
--434
---------------------
--2
-255
--510
---------------------
--2
-256
--512
---------------------
--2
-257
--514
---------------------
--2
-32767
-Warning: overflow
---------------------
--2
--32768
-Warning: overflow
---------------------
--2
--32767
-Warning: overflow
---------------------
--2
--257
-514
---------------------
--2
--256
-512
---------------------
--2
--255
-510
---------------------
--2
--217
-434
---------------------
--2
--151
-302
---------------------
--2
--128
-256
---------------------
--2
--127
-254
---------------------
--2
--2
-4
---------------------
--2
--1
-2
---------------------
--1
-0
-0
---------------------
--1
-1
--1
---------------------
--1
-2
--2
---------------------
--1
-127
--127
---------------------
--1
-128
--128
---------------------
--1
-151
--151
---------------------
--1
-217
--217
---------------------
--1
-255
--255
---------------------
--1
-256
--256
---------------------
--1
-257
--257
---------------------
--1
-32767
--32767
---------------------
--1
--32768
-Warning: overflow
---------------------
--1
--32767
-32767
---------------------
--1
--257
-257
---------------------
--1
--256
-256
---------------------
--1
--255
-255
---------------------
--1
--217
-217
---------------------
--1
--151
-151
---------------------
--1
--128
-128
---------------------
--1
--127
-127
---------------------
--1
--2
-2
---------------------
--1
--1
-1
---------------------
diff --git a/as/casl2lib/test/mula/Makefile b/as/casl2lib/test/mula/Makefile
deleted file mode 100644 (file)
index 6952db9..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-YACASL2DIR= ../../../..
-CASL2 = $(YACASL2DIR)/casl2
-CASL2FLAG = -M640
-LIBDIR = $(YACASL2DIR)/as/casl2lib
-ASFILE = mula.casl $(LIBDIR)/mula.casl $(LIBDIR)/outa.casl
-CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
-include $(YACASL2DIR)/test/integration/casl2/TEST.mk
diff --git a/as/casl2lib/test/mula/mula.casl b/as/casl2lib/test/mula/mula.casl
deleted file mode 100644 (file)
index 6fa37b6..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-MAIN    START
-        LAD     GR3,0           ; Xのインデックス
-LOOPX   CPA     GR3,XCNT
-        JZE     FIN
-        LD      GR1,X,GR3
-        LAD     GR4,0           ; Yのインデックス
-LOOPY   CPA     GR4,YCNT
-        JZE     XNEXT
-        LD      GR2,Y,GR4
-        CALL    OUTA
-        PUSH    0,GR1
-        LD      GR1,GR2
-        CALL    OUTA
-        POP     GR1
-        CALL    MULA
-        JOV     WOV
-        PUSH    0,GR1
-        LD      GR1,GR0
-        CALL    OUTA
-        POP     GR1
-YNEXT   OUT     SEP,SLEN
-        LAD     GR4,1,GR4
-        JUMP    LOOPY
-WOV     OUT     YOMSG,YLEN
-        JUMP    YNEXT
-XNEXT   LAD     GR3,1,GR3
-        JUMP    LOOPX
-FIN     RET
-X       DC      0,1,2,127,128,151,217,255,256,257,32767,-32768,-32767,-257,-256,-255,-217,-151,-128,-127,-2,-1
-Y       DC      0,1,2,127,128,151,217,255,256,257,32767,-32768,-32767,-257,-256,-255,-217,-151,-128,-127,-2,-1
-XCNT    DC      22
-YCNT    DC      22
-SEP     DC      '--------------------'
-SLEN    DC      20
-YOMSG   DC      'Warning: overflow'
-YLEN    DC      17
-        END
diff --git a/as/casl2lib/test/mula/mula0/0.txt b/as/casl2lib/test/mula/mula0/0.txt
deleted file mode 100644 (file)
index 0f9020b..0000000
+++ /dev/null
@@ -1,1147 +0,0 @@
-../../../../../casl2 -at -M160 mula0.casl ../../../../../as/casl2lib/mula.casl
-
-Assemble mula0.casl (0)
-
-Assemble ../../../../../as/casl2lib/mula.casl (0)
-
-Assemble mula0.casl (1)
-mula0.casl:    1:;;; casl2 mula_call0.casl mula.casl outa.casl
-mula0.casl:    2:MAIN    START
-mula0.casl:    3:        LAD     GR1,12
-       #0000   #1210
-       #0001   #000C
-mula0.casl:    4:        LAD     GR2,3
-       #0002   #1220
-       #0003   #0003
-mula0.casl:    5:        CALL    MULA
-       #0004   #8000
-       #0005   #0007
-mula0.casl:    6:        RET
-       #0006   #8100
-mula0.casl:    7:        END
-
-Assemble ../../../../../as/casl2lib/mula.casl (1)
-../../../../../as/casl2lib/mula.casl:    1:;;; -32767〜32767の範囲にある正数のかけ算(筆算方式)を行う
-../../../../../as/casl2lib/mula.casl:    2:;;; 入力 GR1:被乗数 GR2:乗数
-../../../../../as/casl2lib/mula.casl:    3:;;; 出力 GR0:積
-../../../../../as/casl2lib/mula.casl:    4:;;; 被乗数または乗数が-32768の場合は、オーバーフロー
-../../../../../as/casl2lib/mula.casl:    5:;;; 積が-32767未満または32767より大きい場合は、GR0は積の下位16ビットになり、オーバーフロー
-../../../../../as/casl2lib/mula.casl:    6:MULA    START
-../../../../../as/casl2lib/mula.casl:    7:        RPUSH
-       #0007   #7001
-       #0008   #0000
-       #0009   #7002
-       #000A   #0000
-       #000B   #7003
-       #000C   #0000
-       #000D   #7004
-       #000E   #0000
-       #000F   #7005
-       #0010   #0000
-       #0011   #7006
-       #0012   #0000
-       #0013   #7007
-       #0014   #0000
-../../../../../as/casl2lib/mula.casl:    8:        XOR     GR0,GR0         ; 積
-       #0015   #3600
-../../../../../as/casl2lib/mula.casl:    9:        AND     GR1,GR1         ; (GR1 = 0)の場合、終了
-       #0016   #3411
-../../../../../as/casl2lib/mula.casl:   10:        JZE     FIN             ; ↓
-       #0017   #6300
-       #0018   #0047
-../../../../../as/casl2lib/mula.casl:   11:        AND     GR2,GR2         ; (GR2 = 0)の場合、終了
-       #0019   #3422
-../../../../../as/casl2lib/mula.casl:   12:        JZE     FIN             ; ↓
-       #001A   #6300
-       #001B   #0047
-../../../../../as/casl2lib/mula.casl:   13:        LAD     GR3,1           ; 対象ビット
-       #001C   #1230
-       #001D   #0001
-../../../../../as/casl2lib/mula.casl:   14:        XOR     GR4,GR4         ; マイナスフラグ
-       #001E   #3644
-../../../../../as/casl2lib/mula.casl:   15:CHK1    AND     GR1,GR1         ; (GR1 > 0)の場合は、CHK2へジャンプ
-       #001F   #3411
-../../../../../as/casl2lib/mula.casl:   16:        JPL     CHK2            ; ↓
-       #0020   #6500
-       #0021   #002A
-../../../../../as/casl2lib/mula.casl:   17:        XOR     GR1,ALLON       ; GR1の正負を反転
-       #0022   #3210
-       #0023   #0050
-../../../../../as/casl2lib/mula.casl:   18:        ADDA    GR1,ONE         ; ↓
-       #0024   #2010
-       #0025   #004F
-../../../../../as/casl2lib/mula.casl:   19:        JOV     FIN             ; (GR1 = -32768)の場合は終了
-       #0026   #6600
-       #0027   #0047
-../../../../../as/casl2lib/mula.casl:   20:        XOR     GR4,ONE         ; GR4 <- 1
-       #0028   #3240
-       #0029   #004F
-../../../../../as/casl2lib/mula.casl:   21:CHK2    AND     GR2,GR2         ; (GR1 > 0)の場合は、LOOPへジャンプ
-       #002A   #3422
-../../../../../as/casl2lib/mula.casl:   22:        JPL     MUL             ; ↓
-       #002B   #6500
-       #002C   #0035
-../../../../../as/casl2lib/mula.casl:   23:        XOR     GR2,ALLON       ; GR2の正負を反転
-       #002D   #3220
-       #002E   #0050
-../../../../../as/casl2lib/mula.casl:   24:        ADDA    GR2,ONE         ; ↓
-       #002F   #2020
-       #0030   #004F
-../../../../../as/casl2lib/mula.casl:   25:        JOV     FIN             ; (GR2 = -32768)の場合は終了
-       #0031   #6600
-       #0032   #0047
-../../../../../as/casl2lib/mula.casl:   26:        XOR     GR4,ONE         ; マイナスフラグを反転
-       #0033   #3240
-       #0034   #004F
-../../../../../as/casl2lib/mula.casl:   27:MUL     CALL    MULL            ; GR0 <- GR1 * GR2
-       #0035   #8000
-       #0036   #0051
-../../../../../as/casl2lib/mula.casl:   28:        JOV     FIN
-       #0037   #6600
-       #0038   #0047
-../../../../../as/casl2lib/mula.casl:   29:        AND     GR0,GR0
-       #0039   #3400
-../../../../../as/casl2lib/mula.casl:   30:        JMI     OV
-       #003A   #6100
-       #003B   #0045
-../../../../../as/casl2lib/mula.casl:   31:MIN     AND     GR4,GR4         ; マイナスフラグがオフの場合、終了
-       #003C   #3444
-../../../../../as/casl2lib/mula.casl:   32:        JZE     FIN             ; ↓
-       #003D   #6300
-       #003E   #0047
-../../../../../as/casl2lib/mula.casl:   33:        XOR     GR0,ALLON       ; GR1の正負を反転
-       #003F   #3200
-       #0040   #0050
-../../../../../as/casl2lib/mula.casl:   34:        ADDA    GR0,ONE         ; ↓
-       #0041   #2000
-       #0042   #004F
-../../../../../as/casl2lib/mula.casl:   35:        JUMP    FIN
-       #0043   #6400
-       #0044   #0047
-../../../../../as/casl2lib/mula.casl:   36:OV      ADDL    GR0,=#8000
-       #0078   #8000
-       #0045   #2200
-       #0046   #0078
-../../../../../as/casl2lib/mula.casl:   37:FIN     RPOP
-       #0047   #7170
-       #0048   #7160
-       #0049   #7150
-       #004A   #7140
-       #004B   #7130
-       #004C   #7120
-       #004D   #7110
-../../../../../as/casl2lib/mula.casl:   38:        RET
-       #004E   #8100
-../../../../../as/casl2lib/mula.casl:   39:ONE     DC      1
-       #004F   #0001
-../../../../../as/casl2lib/mula.casl:   40:ALLON   DC      #FFFF
-       #0050   #FFFF
-../../../../../as/casl2lib/mula.casl:   41:        END
-../../../../../as/casl2lib/mula.casl:   42:;;; 0〜65535の範囲にある正数のかけ算(筆算方式)を行う
-../../../../../as/casl2lib/mula.casl:   43:;;; 入力 GR1:被乗数 GR2:乗数
-../../../../../as/casl2lib/mula.casl:   44:;;; 出力 GR0:積
-../../../../../as/casl2lib/mula.casl:   45:;;; 積が65535より大きい場合は、GR0は積の下位16ビットになり、オーバーフロー
-../../../../../as/casl2lib/mula.casl:   46:MULL    START
-../../../../../as/casl2lib/mula.casl:   47:        PUSH    0,GR1
-       #0051   #7001
-       #0052   #0000
-../../../../../as/casl2lib/mula.casl:   48:        PUSH    0,GR3
-       #0053   #7003
-       #0054   #0000
-../../../../../as/casl2lib/mula.casl:   49:        XOR     GR0,GR0         ; 積
-       #0055   #3600
-../../../../../as/casl2lib/mula.casl:   50:        AND     GR1,GR1         ; (GR1 = 0)の場合、終了
-       #0056   #3411
-../../../../../as/casl2lib/mula.casl:   51:        JZE     FIN             ; ↓
-       #0057   #6300
-       #0058   #0075
-../../../../../as/casl2lib/mula.casl:   52:        AND     GR2,GR2         ; (GR2 = 0)の場合、終了
-       #0059   #3422
-../../../../../as/casl2lib/mula.casl:   53:        JZE     FIN             ; ↓
-       #005A   #6300
-       #005B   #0075
-../../../../../as/casl2lib/mula.casl:   54:        LAD     GR3,1           ; 対象ビット
-       #005C   #1230
-       #005D   #0001
-../../../../../as/casl2lib/mula.casl:   55:LOOP    PUSH    0,GR3           ; ループ先頭。GR2のビット中でGR3が示すビットが0の場合、NEXTへジャンプ
-       #005E   #7003
-       #005F   #0000
-../../../../../as/casl2lib/mula.casl:   56:        AND     GR3,GR2         ; ↓
-       #0060   #3432
-../../../../../as/casl2lib/mula.casl:   57:        POP     GR3             ; ↓
-       #0061   #7130
-../../../../../as/casl2lib/mula.casl:   58:        JZE     NEXT            ; ↓
-       #0062   #6300
-       #0063   #0067
-../../../../../as/casl2lib/mula.casl:   59:        ADDL    GR0,GR1         ; GR0 <- GR0 + GR1
-       #0064   #2601
-../../../../../as/casl2lib/mula.casl:   60:        JOV     FIN             ; GR0がオーバーフローした場合、ループ脱出
-       #0065   #6600
-       #0066   #0075
-../../../../../as/casl2lib/mula.casl:   61:NEXT    SLL     GR3,1           ; GR3を1回左シフト
-       #0067   #5230
-       #0068   #0001
-../../../../../as/casl2lib/mula.casl:   62:        AND     GR3,GR3         ; (GR3 = 0)の場合、ループ脱出
-       #0069   #3433
-../../../../../as/casl2lib/mula.casl:   63:        JZE     FIN             ; ↓
-       #006A   #6300
-       #006B   #0075
-../../../../../as/casl2lib/mula.casl:   64:        CPL     GR3,GR2         ; (GR3 > GR2)の場合、ループ脱出
-       #006C   #4532
-../../../../../as/casl2lib/mula.casl:   65:        JPL     FIN             ; ↓
-       #006D   #6500
-       #006E   #0075
-../../../../../as/casl2lib/mula.casl:   66:        SLL     GR1,1           ; GR1を1回左シフト
-       #006F   #5210
-       #0070   #0001
-../../../../../as/casl2lib/mula.casl:   67:        JOV     FIN             ; GR1がオーバーフローした場合、ループ脱出
-       #0071   #6600
-       #0072   #0075
-../../../../../as/casl2lib/mula.casl:   68:        JUMP    LOOP            ; ループ終端
-       #0073   #6400
-       #0074   #005E
-../../../../../as/casl2lib/mula.casl:   69:FIN     POP     GR3
-       #0075   #7130
-../../../../../as/casl2lib/mula.casl:   70:        POP     GR1
-       #0076   #7110
-../../../../../as/casl2lib/mula.casl:   71:        RET
-       #0077   #8100
-../../../../../as/casl2lib/mula.casl:   72:        END
-
-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:     160 = #00A0 = 0000000010100000
-#0000: PR:       0 = #0000 = 0000000000000000
-#0000: FR (OF SF ZF): 000
-
-#0002: Register::::
-#0002: GR0:      0 = #0000 = 0000000000000000
-#0002: GR1:     12 = #000C = 0000000000001100
-#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:     160 = #00A0 = 0000000010100000
-#0002: PR:       2 = #0002 = 0000000000000010
-#0002: FR (OF SF ZF): 000
-
-#0004: Register::::
-#0004: GR0:      0 = #0000 = 0000000000000000
-#0004: GR1:     12 = #000C = 0000000000001100
-#0004: GR2:      3 = #0003 = 0000000000000011
-#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:     160 = #00A0 = 0000000010100000
-#0004: PR:       4 = #0004 = 0000000000000100
-#0004: FR (OF SF ZF): 000
-
-#0007: Register::::
-#0007: GR0:      0 = #0000 = 0000000000000000
-#0007: GR1:     12 = #000C = 0000000000001100
-#0007: GR2:      3 = #0003 = 0000000000000011
-#0007: GR3:      0 = #0000 = 0000000000000000
-#0007: GR4:      0 = #0000 = 0000000000000000
-#0007: GR5:      0 = #0000 = 0000000000000000
-#0007: GR6:      0 = #0000 = 0000000000000000
-#0007: GR7:      0 = #0000 = 0000000000000000
-#0007: SP:     159 = #009F = 0000000010011111
-#0007: PR:       7 = #0007 = 0000000000000111
-#0007: FR (OF SF ZF): 000
-
-#0009: Register::::
-#0009: GR0:      0 = #0000 = 0000000000000000
-#0009: GR1:     12 = #000C = 0000000000001100
-#0009: GR2:      3 = #0003 = 0000000000000011
-#0009: GR3:      0 = #0000 = 0000000000000000
-#0009: GR4:      0 = #0000 = 0000000000000000
-#0009: GR5:      0 = #0000 = 0000000000000000
-#0009: GR6:      0 = #0000 = 0000000000000000
-#0009: GR7:      0 = #0000 = 0000000000000000
-#0009: SP:     158 = #009E = 0000000010011110
-#0009: PR:       9 = #0009 = 0000000000001001
-#0009: FR (OF SF ZF): 000
-
-#000B: Register::::
-#000B: GR0:      0 = #0000 = 0000000000000000
-#000B: GR1:     12 = #000C = 0000000000001100
-#000B: GR2:      3 = #0003 = 0000000000000011
-#000B: GR3:      0 = #0000 = 0000000000000000
-#000B: GR4:      0 = #0000 = 0000000000000000
-#000B: GR5:      0 = #0000 = 0000000000000000
-#000B: GR6:      0 = #0000 = 0000000000000000
-#000B: GR7:      0 = #0000 = 0000000000000000
-#000B: SP:     157 = #009D = 0000000010011101
-#000B: PR:      11 = #000B = 0000000000001011
-#000B: FR (OF SF ZF): 000
-
-#000D: Register::::
-#000D: GR0:      0 = #0000 = 0000000000000000
-#000D: GR1:     12 = #000C = 0000000000001100
-#000D: GR2:      3 = #0003 = 0000000000000011
-#000D: GR3:      0 = #0000 = 0000000000000000
-#000D: GR4:      0 = #0000 = 0000000000000000
-#000D: GR5:      0 = #0000 = 0000000000000000
-#000D: GR6:      0 = #0000 = 0000000000000000
-#000D: GR7:      0 = #0000 = 0000000000000000
-#000D: SP:     156 = #009C = 0000000010011100
-#000D: PR:      13 = #000D = 0000000000001101
-#000D: FR (OF SF ZF): 000
-
-#000F: Register::::
-#000F: GR0:      0 = #0000 = 0000000000000000
-#000F: GR1:     12 = #000C = 0000000000001100
-#000F: GR2:      3 = #0003 = 0000000000000011
-#000F: GR3:      0 = #0000 = 0000000000000000
-#000F: GR4:      0 = #0000 = 0000000000000000
-#000F: GR5:      0 = #0000 = 0000000000000000
-#000F: GR6:      0 = #0000 = 0000000000000000
-#000F: GR7:      0 = #0000 = 0000000000000000
-#000F: SP:     155 = #009B = 0000000010011011
-#000F: PR:      15 = #000F = 0000000000001111
-#000F: FR (OF SF ZF): 000
-
-#0011: Register::::
-#0011: GR0:      0 = #0000 = 0000000000000000
-#0011: GR1:     12 = #000C = 0000000000001100
-#0011: GR2:      3 = #0003 = 0000000000000011
-#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:     154 = #009A = 0000000010011010
-#0011: PR:      17 = #0011 = 0000000000010001
-#0011: FR (OF SF ZF): 000
-
-#0013: Register::::
-#0013: GR0:      0 = #0000 = 0000000000000000
-#0013: GR1:     12 = #000C = 0000000000001100
-#0013: GR2:      3 = #0003 = 0000000000000011
-#0013: GR3:      0 = #0000 = 0000000000000000
-#0013: GR4:      0 = #0000 = 0000000000000000
-#0013: GR5:      0 = #0000 = 0000000000000000
-#0013: GR6:      0 = #0000 = 0000000000000000
-#0013: GR7:      0 = #0000 = 0000000000000000
-#0013: SP:     153 = #0099 = 0000000010011001
-#0013: PR:      19 = #0013 = 0000000000010011
-#0013: FR (OF SF ZF): 000
-
-#0015: Register::::
-#0015: GR0:      0 = #0000 = 0000000000000000
-#0015: GR1:     12 = #000C = 0000000000001100
-#0015: GR2:      3 = #0003 = 0000000000000011
-#0015: GR3:      0 = #0000 = 0000000000000000
-#0015: GR4:      0 = #0000 = 0000000000000000
-#0015: GR5:      0 = #0000 = 0000000000000000
-#0015: GR6:      0 = #0000 = 0000000000000000
-#0015: GR7:      0 = #0000 = 0000000000000000
-#0015: SP:     152 = #0098 = 0000000010011000
-#0015: PR:      21 = #0015 = 0000000000010101
-#0015: FR (OF SF ZF): 000
-
-#0016: Register::::
-#0016: GR0:      0 = #0000 = 0000000000000000
-#0016: GR1:     12 = #000C = 0000000000001100
-#0016: GR2:      3 = #0003 = 0000000000000011
-#0016: GR3:      0 = #0000 = 0000000000000000
-#0016: GR4:      0 = #0000 = 0000000000000000
-#0016: GR5:      0 = #0000 = 0000000000000000
-#0016: GR6:      0 = #0000 = 0000000000000000
-#0016: GR7:      0 = #0000 = 0000000000000000
-#0016: SP:     152 = #0098 = 0000000010011000
-#0016: PR:      22 = #0016 = 0000000000010110
-#0016: FR (OF SF ZF): 001
-
-#0017: Register::::
-#0017: GR0:      0 = #0000 = 0000000000000000
-#0017: GR1:     12 = #000C = 0000000000001100
-#0017: GR2:      3 = #0003 = 0000000000000011
-#0017: GR3:      0 = #0000 = 0000000000000000
-#0017: GR4:      0 = #0000 = 0000000000000000
-#0017: GR5:      0 = #0000 = 0000000000000000
-#0017: GR6:      0 = #0000 = 0000000000000000
-#0017: GR7:      0 = #0000 = 0000000000000000
-#0017: SP:     152 = #0098 = 0000000010011000
-#0017: PR:      23 = #0017 = 0000000000010111
-#0017: FR (OF SF ZF): 000
-
-#0019: Register::::
-#0019: GR0:      0 = #0000 = 0000000000000000
-#0019: GR1:     12 = #000C = 0000000000001100
-#0019: GR2:      3 = #0003 = 0000000000000011
-#0019: GR3:      0 = #0000 = 0000000000000000
-#0019: GR4:      0 = #0000 = 0000000000000000
-#0019: GR5:      0 = #0000 = 0000000000000000
-#0019: GR6:      0 = #0000 = 0000000000000000
-#0019: GR7:      0 = #0000 = 0000000000000000
-#0019: SP:     152 = #0098 = 0000000010011000
-#0019: PR:      25 = #0019 = 0000000000011001
-#0019: FR (OF SF ZF): 000
-
-#001A: Register::::
-#001A: GR0:      0 = #0000 = 0000000000000000
-#001A: GR1:     12 = #000C = 0000000000001100
-#001A: GR2:      3 = #0003 = 0000000000000011
-#001A: GR3:      0 = #0000 = 0000000000000000
-#001A: GR4:      0 = #0000 = 0000000000000000
-#001A: GR5:      0 = #0000 = 0000000000000000
-#001A: GR6:      0 = #0000 = 0000000000000000
-#001A: GR7:      0 = #0000 = 0000000000000000
-#001A: SP:     152 = #0098 = 0000000010011000
-#001A: PR:      26 = #001A = 0000000000011010
-#001A: FR (OF SF ZF): 000
-
-#001C: Register::::
-#001C: GR0:      0 = #0000 = 0000000000000000
-#001C: GR1:     12 = #000C = 0000000000001100
-#001C: GR2:      3 = #0003 = 0000000000000011
-#001C: GR3:      0 = #0000 = 0000000000000000
-#001C: GR4:      0 = #0000 = 0000000000000000
-#001C: GR5:      0 = #0000 = 0000000000000000
-#001C: GR6:      0 = #0000 = 0000000000000000
-#001C: GR7:      0 = #0000 = 0000000000000000
-#001C: SP:     152 = #0098 = 0000000010011000
-#001C: PR:      28 = #001C = 0000000000011100
-#001C: FR (OF SF ZF): 000
-
-#001E: Register::::
-#001E: GR0:      0 = #0000 = 0000000000000000
-#001E: GR1:     12 = #000C = 0000000000001100
-#001E: GR2:      3 = #0003 = 0000000000000011
-#001E: GR3:      1 = #0001 = 0000000000000001
-#001E: GR4:      0 = #0000 = 0000000000000000
-#001E: GR5:      0 = #0000 = 0000000000000000
-#001E: GR6:      0 = #0000 = 0000000000000000
-#001E: GR7:      0 = #0000 = 0000000000000000
-#001E: SP:     152 = #0098 = 0000000010011000
-#001E: PR:      30 = #001E = 0000000000011110
-#001E: FR (OF SF ZF): 000
-
-#001F: Register::::
-#001F: GR0:      0 = #0000 = 0000000000000000
-#001F: GR1:     12 = #000C = 0000000000001100
-#001F: GR2:      3 = #0003 = 0000000000000011
-#001F: GR3:      1 = #0001 = 0000000000000001
-#001F: GR4:      0 = #0000 = 0000000000000000
-#001F: GR5:      0 = #0000 = 0000000000000000
-#001F: GR6:      0 = #0000 = 0000000000000000
-#001F: GR7:      0 = #0000 = 0000000000000000
-#001F: SP:     152 = #0098 = 0000000010011000
-#001F: PR:      31 = #001F = 0000000000011111
-#001F: FR (OF SF ZF): 001
-
-#0020: Register::::
-#0020: GR0:      0 = #0000 = 0000000000000000
-#0020: GR1:     12 = #000C = 0000000000001100
-#0020: GR2:      3 = #0003 = 0000000000000011
-#0020: GR3:      1 = #0001 = 0000000000000001
-#0020: GR4:      0 = #0000 = 0000000000000000
-#0020: GR5:      0 = #0000 = 0000000000000000
-#0020: GR6:      0 = #0000 = 0000000000000000
-#0020: GR7:      0 = #0000 = 0000000000000000
-#0020: SP:     152 = #0098 = 0000000010011000
-#0020: PR:      32 = #0020 = 0000000000100000
-#0020: FR (OF SF ZF): 000
-
-#002A: Register::::
-#002A: GR0:      0 = #0000 = 0000000000000000
-#002A: GR1:     12 = #000C = 0000000000001100
-#002A: GR2:      3 = #0003 = 0000000000000011
-#002A: GR3:      1 = #0001 = 0000000000000001
-#002A: GR4:      0 = #0000 = 0000000000000000
-#002A: GR5:      0 = #0000 = 0000000000000000
-#002A: GR6:      0 = #0000 = 0000000000000000
-#002A: GR7:      0 = #0000 = 0000000000000000
-#002A: SP:     152 = #0098 = 0000000010011000
-#002A: PR:      42 = #002A = 0000000000101010
-#002A: FR (OF SF ZF): 000
-
-#002B: Register::::
-#002B: GR0:      0 = #0000 = 0000000000000000
-#002B: GR1:     12 = #000C = 0000000000001100
-#002B: GR2:      3 = #0003 = 0000000000000011
-#002B: GR3:      1 = #0001 = 0000000000000001
-#002B: GR4:      0 = #0000 = 0000000000000000
-#002B: GR5:      0 = #0000 = 0000000000000000
-#002B: GR6:      0 = #0000 = 0000000000000000
-#002B: GR7:      0 = #0000 = 0000000000000000
-#002B: SP:     152 = #0098 = 0000000010011000
-#002B: PR:      43 = #002B = 0000000000101011
-#002B: FR (OF SF ZF): 000
-
-#0035: Register::::
-#0035: GR0:      0 = #0000 = 0000000000000000
-#0035: GR1:     12 = #000C = 0000000000001100
-#0035: GR2:      3 = #0003 = 0000000000000011
-#0035: GR3:      1 = #0001 = 0000000000000001
-#0035: GR4:      0 = #0000 = 0000000000000000
-#0035: GR5:      0 = #0000 = 0000000000000000
-#0035: GR6:      0 = #0000 = 0000000000000000
-#0035: GR7:      0 = #0000 = 0000000000000000
-#0035: SP:     152 = #0098 = 0000000010011000
-#0035: PR:      53 = #0035 = 0000000000110101
-#0035: FR (OF SF ZF): 000
-
-#0051: Register::::
-#0051: GR0:      0 = #0000 = 0000000000000000
-#0051: GR1:     12 = #000C = 0000000000001100
-#0051: GR2:      3 = #0003 = 0000000000000011
-#0051: GR3:      1 = #0001 = 0000000000000001
-#0051: GR4:      0 = #0000 = 0000000000000000
-#0051: GR5:      0 = #0000 = 0000000000000000
-#0051: GR6:      0 = #0000 = 0000000000000000
-#0051: GR7:      0 = #0000 = 0000000000000000
-#0051: SP:     151 = #0097 = 0000000010010111
-#0051: PR:      81 = #0051 = 0000000001010001
-#0051: FR (OF SF ZF): 000
-
-#0053: Register::::
-#0053: GR0:      0 = #0000 = 0000000000000000
-#0053: GR1:     12 = #000C = 0000000000001100
-#0053: GR2:      3 = #0003 = 0000000000000011
-#0053: GR3:      1 = #0001 = 0000000000000001
-#0053: GR4:      0 = #0000 = 0000000000000000
-#0053: GR5:      0 = #0000 = 0000000000000000
-#0053: GR6:      0 = #0000 = 0000000000000000
-#0053: GR7:      0 = #0000 = 0000000000000000
-#0053: SP:     150 = #0096 = 0000000010010110
-#0053: PR:      83 = #0053 = 0000000001010011
-#0053: FR (OF SF ZF): 000
-
-#0055: Register::::
-#0055: GR0:      0 = #0000 = 0000000000000000
-#0055: GR1:     12 = #000C = 0000000000001100
-#0055: GR2:      3 = #0003 = 0000000000000011
-#0055: GR3:      1 = #0001 = 0000000000000001
-#0055: GR4:      0 = #0000 = 0000000000000000
-#0055: GR5:      0 = #0000 = 0000000000000000
-#0055: GR6:      0 = #0000 = 0000000000000000
-#0055: GR7:      0 = #0000 = 0000000000000000
-#0055: SP:     149 = #0095 = 0000000010010101
-#0055: PR:      85 = #0055 = 0000000001010101
-#0055: FR (OF SF ZF): 000
-
-#0056: Register::::
-#0056: GR0:      0 = #0000 = 0000000000000000
-#0056: GR1:     12 = #000C = 0000000000001100
-#0056: GR2:      3 = #0003 = 0000000000000011
-#0056: GR3:      1 = #0001 = 0000000000000001
-#0056: GR4:      0 = #0000 = 0000000000000000
-#0056: GR5:      0 = #0000 = 0000000000000000
-#0056: GR6:      0 = #0000 = 0000000000000000
-#0056: GR7:      0 = #0000 = 0000000000000000
-#0056: SP:     149 = #0095 = 0000000010010101
-#0056: PR:      86 = #0056 = 0000000001010110
-#0056: FR (OF SF ZF): 001
-
-#0057: Register::::
-#0057: GR0:      0 = #0000 = 0000000000000000
-#0057: GR1:     12 = #000C = 0000000000001100
-#0057: GR2:      3 = #0003 = 0000000000000011
-#0057: GR3:      1 = #0001 = 0000000000000001
-#0057: GR4:      0 = #0000 = 0000000000000000
-#0057: GR5:      0 = #0000 = 0000000000000000
-#0057: GR6:      0 = #0000 = 0000000000000000
-#0057: GR7:      0 = #0000 = 0000000000000000
-#0057: SP:     149 = #0095 = 0000000010010101
-#0057: PR:      87 = #0057 = 0000000001010111
-#0057: FR (OF SF ZF): 000
-
-#0059: Register::::
-#0059: GR0:      0 = #0000 = 0000000000000000
-#0059: GR1:     12 = #000C = 0000000000001100
-#0059: GR2:      3 = #0003 = 0000000000000011
-#0059: GR3:      1 = #0001 = 0000000000000001
-#0059: GR4:      0 = #0000 = 0000000000000000
-#0059: GR5:      0 = #0000 = 0000000000000000
-#0059: GR6:      0 = #0000 = 0000000000000000
-#0059: GR7:      0 = #0000 = 0000000000000000
-#0059: SP:     149 = #0095 = 0000000010010101
-#0059: PR:      89 = #0059 = 0000000001011001
-#0059: FR (OF SF ZF): 000
-
-#005A: Register::::
-#005A: GR0:      0 = #0000 = 0000000000000000
-#005A: GR1:     12 = #000C = 0000000000001100
-#005A: GR2:      3 = #0003 = 0000000000000011
-#005A: GR3:      1 = #0001 = 0000000000000001
-#005A: GR4:      0 = #0000 = 0000000000000000
-#005A: GR5:      0 = #0000 = 0000000000000000
-#005A: GR6:      0 = #0000 = 0000000000000000
-#005A: GR7:      0 = #0000 = 0000000000000000
-#005A: SP:     149 = #0095 = 0000000010010101
-#005A: PR:      90 = #005A = 0000000001011010
-#005A: FR (OF SF ZF): 000
-
-#005C: Register::::
-#005C: GR0:      0 = #0000 = 0000000000000000
-#005C: GR1:     12 = #000C = 0000000000001100
-#005C: GR2:      3 = #0003 = 0000000000000011
-#005C: GR3:      1 = #0001 = 0000000000000001
-#005C: GR4:      0 = #0000 = 0000000000000000
-#005C: GR5:      0 = #0000 = 0000000000000000
-#005C: GR6:      0 = #0000 = 0000000000000000
-#005C: GR7:      0 = #0000 = 0000000000000000
-#005C: SP:     149 = #0095 = 0000000010010101
-#005C: PR:      92 = #005C = 0000000001011100
-#005C: FR (OF SF ZF): 000
-
-#005E: Register::::
-#005E: GR0:      0 = #0000 = 0000000000000000
-#005E: GR1:     12 = #000C = 0000000000001100
-#005E: GR2:      3 = #0003 = 0000000000000011
-#005E: GR3:      1 = #0001 = 0000000000000001
-#005E: GR4:      0 = #0000 = 0000000000000000
-#005E: GR5:      0 = #0000 = 0000000000000000
-#005E: GR6:      0 = #0000 = 0000000000000000
-#005E: GR7:      0 = #0000 = 0000000000000000
-#005E: SP:     149 = #0095 = 0000000010010101
-#005E: PR:      94 = #005E = 0000000001011110
-#005E: FR (OF SF ZF): 000
-
-#0060: Register::::
-#0060: GR0:      0 = #0000 = 0000000000000000
-#0060: GR1:     12 = #000C = 0000000000001100
-#0060: GR2:      3 = #0003 = 0000000000000011
-#0060: GR3:      1 = #0001 = 0000000000000001
-#0060: GR4:      0 = #0000 = 0000000000000000
-#0060: GR5:      0 = #0000 = 0000000000000000
-#0060: GR6:      0 = #0000 = 0000000000000000
-#0060: GR7:      0 = #0000 = 0000000000000000
-#0060: SP:     148 = #0094 = 0000000010010100
-#0060: PR:      96 = #0060 = 0000000001100000
-#0060: FR (OF SF ZF): 000
-
-#0061: Register::::
-#0061: GR0:      0 = #0000 = 0000000000000000
-#0061: GR1:     12 = #000C = 0000000000001100
-#0061: GR2:      3 = #0003 = 0000000000000011
-#0061: GR3:      1 = #0001 = 0000000000000001
-#0061: GR4:      0 = #0000 = 0000000000000000
-#0061: GR5:      0 = #0000 = 0000000000000000
-#0061: GR6:      0 = #0000 = 0000000000000000
-#0061: GR7:      0 = #0000 = 0000000000000000
-#0061: SP:     148 = #0094 = 0000000010010100
-#0061: PR:      97 = #0061 = 0000000001100001
-#0061: FR (OF SF ZF): 000
-
-#0062: Register::::
-#0062: GR0:      0 = #0000 = 0000000000000000
-#0062: GR1:     12 = #000C = 0000000000001100
-#0062: GR2:      3 = #0003 = 0000000000000011
-#0062: GR3:      1 = #0001 = 0000000000000001
-#0062: GR4:      0 = #0000 = 0000000000000000
-#0062: GR5:      0 = #0000 = 0000000000000000
-#0062: GR6:      0 = #0000 = 0000000000000000
-#0062: GR7:      0 = #0000 = 0000000000000000
-#0062: SP:     149 = #0095 = 0000000010010101
-#0062: PR:      98 = #0062 = 0000000001100010
-#0062: FR (OF SF ZF): 000
-
-#0064: Register::::
-#0064: GR0:      0 = #0000 = 0000000000000000
-#0064: GR1:     12 = #000C = 0000000000001100
-#0064: GR2:      3 = #0003 = 0000000000000011
-#0064: GR3:      1 = #0001 = 0000000000000001
-#0064: GR4:      0 = #0000 = 0000000000000000
-#0064: GR5:      0 = #0000 = 0000000000000000
-#0064: GR6:      0 = #0000 = 0000000000000000
-#0064: GR7:      0 = #0000 = 0000000000000000
-#0064: SP:     149 = #0095 = 0000000010010101
-#0064: PR:     100 = #0064 = 0000000001100100
-#0064: FR (OF SF ZF): 000
-
-#0065: Register::::
-#0065: GR0:     12 = #000C = 0000000000001100
-#0065: GR1:     12 = #000C = 0000000000001100
-#0065: GR2:      3 = #0003 = 0000000000000011
-#0065: GR3:      1 = #0001 = 0000000000000001
-#0065: GR4:      0 = #0000 = 0000000000000000
-#0065: GR5:      0 = #0000 = 0000000000000000
-#0065: GR6:      0 = #0000 = 0000000000000000
-#0065: GR7:      0 = #0000 = 0000000000000000
-#0065: SP:     149 = #0095 = 0000000010010101
-#0065: PR:     101 = #0065 = 0000000001100101
-#0065: FR (OF SF ZF): 000
-
-#0067: Register::::
-#0067: GR0:     12 = #000C = 0000000000001100
-#0067: GR1:     12 = #000C = 0000000000001100
-#0067: GR2:      3 = #0003 = 0000000000000011
-#0067: GR3:      1 = #0001 = 0000000000000001
-#0067: GR4:      0 = #0000 = 0000000000000000
-#0067: GR5:      0 = #0000 = 0000000000000000
-#0067: GR6:      0 = #0000 = 0000000000000000
-#0067: GR7:      0 = #0000 = 0000000000000000
-#0067: SP:     149 = #0095 = 0000000010010101
-#0067: PR:     103 = #0067 = 0000000001100111
-#0067: FR (OF SF ZF): 000
-
-#0069: Register::::
-#0069: GR0:     12 = #000C = 0000000000001100
-#0069: GR1:     12 = #000C = 0000000000001100
-#0069: GR2:      3 = #0003 = 0000000000000011
-#0069: GR3:      2 = #0002 = 0000000000000010
-#0069: GR4:      0 = #0000 = 0000000000000000
-#0069: GR5:      0 = #0000 = 0000000000000000
-#0069: GR6:      0 = #0000 = 0000000000000000
-#0069: GR7:      0 = #0000 = 0000000000000000
-#0069: SP:     149 = #0095 = 0000000010010101
-#0069: PR:     105 = #0069 = 0000000001101001
-#0069: FR (OF SF ZF): 000
-
-#006A: Register::::
-#006A: GR0:     12 = #000C = 0000000000001100
-#006A: GR1:     12 = #000C = 0000000000001100
-#006A: GR2:      3 = #0003 = 0000000000000011
-#006A: GR3:      2 = #0002 = 0000000000000010
-#006A: GR4:      0 = #0000 = 0000000000000000
-#006A: GR5:      0 = #0000 = 0000000000000000
-#006A: GR6:      0 = #0000 = 0000000000000000
-#006A: GR7:      0 = #0000 = 0000000000000000
-#006A: SP:     149 = #0095 = 0000000010010101
-#006A: PR:     106 = #006A = 0000000001101010
-#006A: FR (OF SF ZF): 000
-
-#006C: Register::::
-#006C: GR0:     12 = #000C = 0000000000001100
-#006C: GR1:     12 = #000C = 0000000000001100
-#006C: GR2:      3 = #0003 = 0000000000000011
-#006C: GR3:      2 = #0002 = 0000000000000010
-#006C: GR4:      0 = #0000 = 0000000000000000
-#006C: GR5:      0 = #0000 = 0000000000000000
-#006C: GR6:      0 = #0000 = 0000000000000000
-#006C: GR7:      0 = #0000 = 0000000000000000
-#006C: SP:     149 = #0095 = 0000000010010101
-#006C: PR:     108 = #006C = 0000000001101100
-#006C: FR (OF SF ZF): 000
-
-#006D: Register::::
-#006D: GR0:     12 = #000C = 0000000000001100
-#006D: GR1:     12 = #000C = 0000000000001100
-#006D: GR2:      3 = #0003 = 0000000000000011
-#006D: GR3:      2 = #0002 = 0000000000000010
-#006D: GR4:      0 = #0000 = 0000000000000000
-#006D: GR5:      0 = #0000 = 0000000000000000
-#006D: GR6:      0 = #0000 = 0000000000000000
-#006D: GR7:      0 = #0000 = 0000000000000000
-#006D: SP:     149 = #0095 = 0000000010010101
-#006D: PR:     109 = #006D = 0000000001101101
-#006D: FR (OF SF ZF): 010
-
-#006F: Register::::
-#006F: GR0:     12 = #000C = 0000000000001100
-#006F: GR1:     12 = #000C = 0000000000001100
-#006F: GR2:      3 = #0003 = 0000000000000011
-#006F: GR3:      2 = #0002 = 0000000000000010
-#006F: GR4:      0 = #0000 = 0000000000000000
-#006F: GR5:      0 = #0000 = 0000000000000000
-#006F: GR6:      0 = #0000 = 0000000000000000
-#006F: GR7:      0 = #0000 = 0000000000000000
-#006F: SP:     149 = #0095 = 0000000010010101
-#006F: PR:     111 = #006F = 0000000001101111
-#006F: FR (OF SF ZF): 010
-
-#0071: Register::::
-#0071: GR0:     12 = #000C = 0000000000001100
-#0071: GR1:     24 = #0018 = 0000000000011000
-#0071: GR2:      3 = #0003 = 0000000000000011
-#0071: GR3:      2 = #0002 = 0000000000000010
-#0071: GR4:      0 = #0000 = 0000000000000000
-#0071: GR5:      0 = #0000 = 0000000000000000
-#0071: GR6:      0 = #0000 = 0000000000000000
-#0071: GR7:      0 = #0000 = 0000000000000000
-#0071: SP:     149 = #0095 = 0000000010010101
-#0071: PR:     113 = #0071 = 0000000001110001
-#0071: FR (OF SF ZF): 000
-
-#0073: Register::::
-#0073: GR0:     12 = #000C = 0000000000001100
-#0073: GR1:     24 = #0018 = 0000000000011000
-#0073: GR2:      3 = #0003 = 0000000000000011
-#0073: GR3:      2 = #0002 = 0000000000000010
-#0073: GR4:      0 = #0000 = 0000000000000000
-#0073: GR5:      0 = #0000 = 0000000000000000
-#0073: GR6:      0 = #0000 = 0000000000000000
-#0073: GR7:      0 = #0000 = 0000000000000000
-#0073: SP:     149 = #0095 = 0000000010010101
-#0073: PR:     115 = #0073 = 0000000001110011
-#0073: FR (OF SF ZF): 000
-
-#005E: Register::::
-#005E: GR0:     12 = #000C = 0000000000001100
-#005E: GR1:     24 = #0018 = 0000000000011000
-#005E: GR2:      3 = #0003 = 0000000000000011
-#005E: GR3:      2 = #0002 = 0000000000000010
-#005E: GR4:      0 = #0000 = 0000000000000000
-#005E: GR5:      0 = #0000 = 0000000000000000
-#005E: GR6:      0 = #0000 = 0000000000000000
-#005E: GR7:      0 = #0000 = 0000000000000000
-#005E: SP:     149 = #0095 = 0000000010010101
-#005E: PR:      94 = #005E = 0000000001011110
-#005E: FR (OF SF ZF): 000
-
-#0060: Register::::
-#0060: GR0:     12 = #000C = 0000000000001100
-#0060: GR1:     24 = #0018 = 0000000000011000
-#0060: GR2:      3 = #0003 = 0000000000000011
-#0060: GR3:      2 = #0002 = 0000000000000010
-#0060: GR4:      0 = #0000 = 0000000000000000
-#0060: GR5:      0 = #0000 = 0000000000000000
-#0060: GR6:      0 = #0000 = 0000000000000000
-#0060: GR7:      0 = #0000 = 0000000000000000
-#0060: SP:     148 = #0094 = 0000000010010100
-#0060: PR:      96 = #0060 = 0000000001100000
-#0060: FR (OF SF ZF): 000
-
-#0061: Register::::
-#0061: GR0:     12 = #000C = 0000000000001100
-#0061: GR1:     24 = #0018 = 0000000000011000
-#0061: GR2:      3 = #0003 = 0000000000000011
-#0061: GR3:      2 = #0002 = 0000000000000010
-#0061: GR4:      0 = #0000 = 0000000000000000
-#0061: GR5:      0 = #0000 = 0000000000000000
-#0061: GR6:      0 = #0000 = 0000000000000000
-#0061: GR7:      0 = #0000 = 0000000000000000
-#0061: SP:     148 = #0094 = 0000000010010100
-#0061: PR:      97 = #0061 = 0000000001100001
-#0061: FR (OF SF ZF): 000
-
-#0062: Register::::
-#0062: GR0:     12 = #000C = 0000000000001100
-#0062: GR1:     24 = #0018 = 0000000000011000
-#0062: GR2:      3 = #0003 = 0000000000000011
-#0062: GR3:      2 = #0002 = 0000000000000010
-#0062: GR4:      0 = #0000 = 0000000000000000
-#0062: GR5:      0 = #0000 = 0000000000000000
-#0062: GR6:      0 = #0000 = 0000000000000000
-#0062: GR7:      0 = #0000 = 0000000000000000
-#0062: SP:     149 = #0095 = 0000000010010101
-#0062: PR:      98 = #0062 = 0000000001100010
-#0062: FR (OF SF ZF): 000
-
-#0064: Register::::
-#0064: GR0:     12 = #000C = 0000000000001100
-#0064: GR1:     24 = #0018 = 0000000000011000
-#0064: GR2:      3 = #0003 = 0000000000000011
-#0064: GR3:      2 = #0002 = 0000000000000010
-#0064: GR4:      0 = #0000 = 0000000000000000
-#0064: GR5:      0 = #0000 = 0000000000000000
-#0064: GR6:      0 = #0000 = 0000000000000000
-#0064: GR7:      0 = #0000 = 0000000000000000
-#0064: SP:     149 = #0095 = 0000000010010101
-#0064: PR:     100 = #0064 = 0000000001100100
-#0064: FR (OF SF ZF): 000
-
-#0065: Register::::
-#0065: GR0:     36 = #0024 = 0000000000100100 = '$'
-#0065: GR1:     24 = #0018 = 0000000000011000
-#0065: GR2:      3 = #0003 = 0000000000000011
-#0065: GR3:      2 = #0002 = 0000000000000010
-#0065: GR4:      0 = #0000 = 0000000000000000
-#0065: GR5:      0 = #0000 = 0000000000000000
-#0065: GR6:      0 = #0000 = 0000000000000000
-#0065: GR7:      0 = #0000 = 0000000000000000
-#0065: SP:     149 = #0095 = 0000000010010101
-#0065: PR:     101 = #0065 = 0000000001100101
-#0065: FR (OF SF ZF): 000
-
-#0067: Register::::
-#0067: GR0:     36 = #0024 = 0000000000100100 = '$'
-#0067: GR1:     24 = #0018 = 0000000000011000
-#0067: GR2:      3 = #0003 = 0000000000000011
-#0067: GR3:      2 = #0002 = 0000000000000010
-#0067: GR4:      0 = #0000 = 0000000000000000
-#0067: GR5:      0 = #0000 = 0000000000000000
-#0067: GR6:      0 = #0000 = 0000000000000000
-#0067: GR7:      0 = #0000 = 0000000000000000
-#0067: SP:     149 = #0095 = 0000000010010101
-#0067: PR:     103 = #0067 = 0000000001100111
-#0067: FR (OF SF ZF): 000
-
-#0069: Register::::
-#0069: GR0:     36 = #0024 = 0000000000100100 = '$'
-#0069: GR1:     24 = #0018 = 0000000000011000
-#0069: GR2:      3 = #0003 = 0000000000000011
-#0069: GR3:      4 = #0004 = 0000000000000100
-#0069: GR4:      0 = #0000 = 0000000000000000
-#0069: GR5:      0 = #0000 = 0000000000000000
-#0069: GR6:      0 = #0000 = 0000000000000000
-#0069: GR7:      0 = #0000 = 0000000000000000
-#0069: SP:     149 = #0095 = 0000000010010101
-#0069: PR:     105 = #0069 = 0000000001101001
-#0069: FR (OF SF ZF): 000
-
-#006A: Register::::
-#006A: GR0:     36 = #0024 = 0000000000100100 = '$'
-#006A: GR1:     24 = #0018 = 0000000000011000
-#006A: GR2:      3 = #0003 = 0000000000000011
-#006A: GR3:      4 = #0004 = 0000000000000100
-#006A: GR4:      0 = #0000 = 0000000000000000
-#006A: GR5:      0 = #0000 = 0000000000000000
-#006A: GR6:      0 = #0000 = 0000000000000000
-#006A: GR7:      0 = #0000 = 0000000000000000
-#006A: SP:     149 = #0095 = 0000000010010101
-#006A: PR:     106 = #006A = 0000000001101010
-#006A: FR (OF SF ZF): 000
-
-#006C: Register::::
-#006C: GR0:     36 = #0024 = 0000000000100100 = '$'
-#006C: GR1:     24 = #0018 = 0000000000011000
-#006C: GR2:      3 = #0003 = 0000000000000011
-#006C: GR3:      4 = #0004 = 0000000000000100
-#006C: GR4:      0 = #0000 = 0000000000000000
-#006C: GR5:      0 = #0000 = 0000000000000000
-#006C: GR6:      0 = #0000 = 0000000000000000
-#006C: GR7:      0 = #0000 = 0000000000000000
-#006C: SP:     149 = #0095 = 0000000010010101
-#006C: PR:     108 = #006C = 0000000001101100
-#006C: FR (OF SF ZF): 000
-
-#006D: Register::::
-#006D: GR0:     36 = #0024 = 0000000000100100 = '$'
-#006D: GR1:     24 = #0018 = 0000000000011000
-#006D: GR2:      3 = #0003 = 0000000000000011
-#006D: GR3:      4 = #0004 = 0000000000000100
-#006D: GR4:      0 = #0000 = 0000000000000000
-#006D: GR5:      0 = #0000 = 0000000000000000
-#006D: GR6:      0 = #0000 = 0000000000000000
-#006D: GR7:      0 = #0000 = 0000000000000000
-#006D: SP:     149 = #0095 = 0000000010010101
-#006D: PR:     109 = #006D = 0000000001101101
-#006D: FR (OF SF ZF): 000
-
-#0075: Register::::
-#0075: GR0:     36 = #0024 = 0000000000100100 = '$'
-#0075: GR1:     24 = #0018 = 0000000000011000
-#0075: GR2:      3 = #0003 = 0000000000000011
-#0075: GR3:      4 = #0004 = 0000000000000100
-#0075: GR4:      0 = #0000 = 0000000000000000
-#0075: GR5:      0 = #0000 = 0000000000000000
-#0075: GR6:      0 = #0000 = 0000000000000000
-#0075: GR7:      0 = #0000 = 0000000000000000
-#0075: SP:     149 = #0095 = 0000000010010101
-#0075: PR:     117 = #0075 = 0000000001110101
-#0075: FR (OF SF ZF): 000
-
-#0076: Register::::
-#0076: GR0:     36 = #0024 = 0000000000100100 = '$'
-#0076: GR1:     24 = #0018 = 0000000000011000
-#0076: GR2:      3 = #0003 = 0000000000000011
-#0076: GR3:      1 = #0001 = 0000000000000001
-#0076: GR4:      0 = #0000 = 0000000000000000
-#0076: GR5:      0 = #0000 = 0000000000000000
-#0076: GR6:      0 = #0000 = 0000000000000000
-#0076: GR7:      0 = #0000 = 0000000000000000
-#0076: SP:     150 = #0096 = 0000000010010110
-#0076: PR:     118 = #0076 = 0000000001110110
-#0076: FR (OF SF ZF): 000
-
-#0077: Register::::
-#0077: GR0:     36 = #0024 = 0000000000100100 = '$'
-#0077: GR1:     12 = #000C = 0000000000001100
-#0077: GR2:      3 = #0003 = 0000000000000011
-#0077: GR3:      1 = #0001 = 0000000000000001
-#0077: GR4:      0 = #0000 = 0000000000000000
-#0077: GR5:      0 = #0000 = 0000000000000000
-#0077: GR6:      0 = #0000 = 0000000000000000
-#0077: GR7:      0 = #0000 = 0000000000000000
-#0077: SP:     151 = #0097 = 0000000010010111
-#0077: PR:     119 = #0077 = 0000000001110111
-#0077: FR (OF SF ZF): 000
-
-#0037: Register::::
-#0037: GR0:     36 = #0024 = 0000000000100100 = '$'
-#0037: GR1:     12 = #000C = 0000000000001100
-#0037: GR2:      3 = #0003 = 0000000000000011
-#0037: GR3:      1 = #0001 = 0000000000000001
-#0037: GR4:      0 = #0000 = 0000000000000000
-#0037: GR5:      0 = #0000 = 0000000000000000
-#0037: GR6:      0 = #0000 = 0000000000000000
-#0037: GR7:      0 = #0000 = 0000000000000000
-#0037: SP:     152 = #0098 = 0000000010011000
-#0037: PR:      55 = #0037 = 0000000000110111
-#0037: FR (OF SF ZF): 000
-
-#0039: Register::::
-#0039: GR0:     36 = #0024 = 0000000000100100 = '$'
-#0039: GR1:     12 = #000C = 0000000000001100
-#0039: GR2:      3 = #0003 = 0000000000000011
-#0039: GR3:      1 = #0001 = 0000000000000001
-#0039: GR4:      0 = #0000 = 0000000000000000
-#0039: GR5:      0 = #0000 = 0000000000000000
-#0039: GR6:      0 = #0000 = 0000000000000000
-#0039: GR7:      0 = #0000 = 0000000000000000
-#0039: SP:     152 = #0098 = 0000000010011000
-#0039: PR:      57 = #0039 = 0000000000111001
-#0039: FR (OF SF ZF): 000
-
-#003A: Register::::
-#003A: GR0:     36 = #0024 = 0000000000100100 = '$'
-#003A: GR1:     12 = #000C = 0000000000001100
-#003A: GR2:      3 = #0003 = 0000000000000011
-#003A: GR3:      1 = #0001 = 0000000000000001
-#003A: GR4:      0 = #0000 = 0000000000000000
-#003A: GR5:      0 = #0000 = 0000000000000000
-#003A: GR6:      0 = #0000 = 0000000000000000
-#003A: GR7:      0 = #0000 = 0000000000000000
-#003A: SP:     152 = #0098 = 0000000010011000
-#003A: PR:      58 = #003A = 0000000000111010
-#003A: FR (OF SF ZF): 000
-
-#003C: Register::::
-#003C: GR0:     36 = #0024 = 0000000000100100 = '$'
-#003C: GR1:     12 = #000C = 0000000000001100
-#003C: GR2:      3 = #0003 = 0000000000000011
-#003C: GR3:      1 = #0001 = 0000000000000001
-#003C: GR4:      0 = #0000 = 0000000000000000
-#003C: GR5:      0 = #0000 = 0000000000000000
-#003C: GR6:      0 = #0000 = 0000000000000000
-#003C: GR7:      0 = #0000 = 0000000000000000
-#003C: SP:     152 = #0098 = 0000000010011000
-#003C: PR:      60 = #003C = 0000000000111100
-#003C: FR (OF SF ZF): 000
-
-#003D: Register::::
-#003D: GR0:     36 = #0024 = 0000000000100100 = '$'
-#003D: GR1:     12 = #000C = 0000000000001100
-#003D: GR2:      3 = #0003 = 0000000000000011
-#003D: GR3:      1 = #0001 = 0000000000000001
-#003D: GR4:      0 = #0000 = 0000000000000000
-#003D: GR5:      0 = #0000 = 0000000000000000
-#003D: GR6:      0 = #0000 = 0000000000000000
-#003D: GR7:      0 = #0000 = 0000000000000000
-#003D: SP:     152 = #0098 = 0000000010011000
-#003D: PR:      61 = #003D = 0000000000111101
-#003D: FR (OF SF ZF): 001
-
-#0047: Register::::
-#0047: GR0:     36 = #0024 = 0000000000100100 = '$'
-#0047: GR1:     12 = #000C = 0000000000001100
-#0047: GR2:      3 = #0003 = 0000000000000011
-#0047: GR3:      1 = #0001 = 0000000000000001
-#0047: GR4:      0 = #0000 = 0000000000000000
-#0047: GR5:      0 = #0000 = 0000000000000000
-#0047: GR6:      0 = #0000 = 0000000000000000
-#0047: GR7:      0 = #0000 = 0000000000000000
-#0047: SP:     152 = #0098 = 0000000010011000
-#0047: PR:      71 = #0047 = 0000000001000111
-#0047: FR (OF SF ZF): 001
-
-#0048: Register::::
-#0048: GR0:     36 = #0024 = 0000000000100100 = '$'
-#0048: GR1:     12 = #000C = 0000000000001100
-#0048: GR2:      3 = #0003 = 0000000000000011
-#0048: GR3:      1 = #0001 = 0000000000000001
-#0048: GR4:      0 = #0000 = 0000000000000000
-#0048: GR5:      0 = #0000 = 0000000000000000
-#0048: GR6:      0 = #0000 = 0000000000000000
-#0048: GR7:      0 = #0000 = 0000000000000000
-#0048: SP:     153 = #0099 = 0000000010011001
-#0048: PR:      72 = #0048 = 0000000001001000
-#0048: FR (OF SF ZF): 001
-
-#0049: Register::::
-#0049: GR0:     36 = #0024 = 0000000000100100 = '$'
-#0049: GR1:     12 = #000C = 0000000000001100
-#0049: GR2:      3 = #0003 = 0000000000000011
-#0049: GR3:      1 = #0001 = 0000000000000001
-#0049: GR4:      0 = #0000 = 0000000000000000
-#0049: GR5:      0 = #0000 = 0000000000000000
-#0049: GR6:      0 = #0000 = 0000000000000000
-#0049: GR7:      0 = #0000 = 0000000000000000
-#0049: SP:     154 = #009A = 0000000010011010
-#0049: PR:      73 = #0049 = 0000000001001001
-#0049: FR (OF SF ZF): 001
-
-#004A: Register::::
-#004A: GR0:     36 = #0024 = 0000000000100100 = '$'
-#004A: GR1:     12 = #000C = 0000000000001100
-#004A: GR2:      3 = #0003 = 0000000000000011
-#004A: GR3:      1 = #0001 = 0000000000000001
-#004A: GR4:      0 = #0000 = 0000000000000000
-#004A: GR5:      0 = #0000 = 0000000000000000
-#004A: GR6:      0 = #0000 = 0000000000000000
-#004A: GR7:      0 = #0000 = 0000000000000000
-#004A: SP:     155 = #009B = 0000000010011011
-#004A: PR:      74 = #004A = 0000000001001010
-#004A: FR (OF SF ZF): 001
-
-#004B: Register::::
-#004B: GR0:     36 = #0024 = 0000000000100100 = '$'
-#004B: GR1:     12 = #000C = 0000000000001100
-#004B: GR2:      3 = #0003 = 0000000000000011
-#004B: GR3:      1 = #0001 = 0000000000000001
-#004B: GR4:      0 = #0000 = 0000000000000000
-#004B: GR5:      0 = #0000 = 0000000000000000
-#004B: GR6:      0 = #0000 = 0000000000000000
-#004B: GR7:      0 = #0000 = 0000000000000000
-#004B: SP:     156 = #009C = 0000000010011100
-#004B: PR:      75 = #004B = 0000000001001011
-#004B: FR (OF SF ZF): 001
-
-#004C: Register::::
-#004C: GR0:     36 = #0024 = 0000000000100100 = '$'
-#004C: GR1:     12 = #000C = 0000000000001100
-#004C: GR2:      3 = #0003 = 0000000000000011
-#004C: GR3:      0 = #0000 = 0000000000000000
-#004C: GR4:      0 = #0000 = 0000000000000000
-#004C: GR5:      0 = #0000 = 0000000000000000
-#004C: GR6:      0 = #0000 = 0000000000000000
-#004C: GR7:      0 = #0000 = 0000000000000000
-#004C: SP:     157 = #009D = 0000000010011101
-#004C: PR:      76 = #004C = 0000000001001100
-#004C: FR (OF SF ZF): 001
-
-#004D: Register::::
-#004D: GR0:     36 = #0024 = 0000000000100100 = '$'
-#004D: GR1:     12 = #000C = 0000000000001100
-#004D: GR2:      3 = #0003 = 0000000000000011
-#004D: GR3:      0 = #0000 = 0000000000000000
-#004D: GR4:      0 = #0000 = 0000000000000000
-#004D: GR5:      0 = #0000 = 0000000000000000
-#004D: GR6:      0 = #0000 = 0000000000000000
-#004D: GR7:      0 = #0000 = 0000000000000000
-#004D: SP:     158 = #009E = 0000000010011110
-#004D: PR:      77 = #004D = 0000000001001101
-#004D: FR (OF SF ZF): 001
-
-#004E: Register::::
-#004E: GR0:     36 = #0024 = 0000000000100100 = '$'
-#004E: GR1:     12 = #000C = 0000000000001100
-#004E: GR2:      3 = #0003 = 0000000000000011
-#004E: GR3:      0 = #0000 = 0000000000000000
-#004E: GR4:      0 = #0000 = 0000000000000000
-#004E: GR5:      0 = #0000 = 0000000000000000
-#004E: GR6:      0 = #0000 = 0000000000000000
-#004E: GR7:      0 = #0000 = 0000000000000000
-#004E: SP:     159 = #009F = 0000000010011111
-#004E: PR:      78 = #004E = 0000000001001110
-#004E: FR (OF SF ZF): 001
-
-#0006: Register::::
-#0006: GR0:     36 = #0024 = 0000000000100100 = '$'
-#0006: GR1:     12 = #000C = 0000000000001100
-#0006: GR2:      3 = #0003 = 0000000000000011
-#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:     160 = #00A0 = 0000000010100000
-#0006: PR:       6 = #0006 = 0000000000000110
-#0006: FR (OF SF ZF): 001
-
diff --git a/as/casl2lib/test/mula/mula0/Makefile b/as/casl2lib/test/mula/mula0/Makefile
deleted file mode 100644 (file)
index 963d37a..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-YACASL2DIR= ../../../../..
-CASL2 = $(YACASL2DIR)/casl2
-CASL2FLAG = -at -M160
-CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
-ASFILE = mula0.casl $(CASL2LIBDIR)/mula.casl
-CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
-include $(YACASL2DIR)/test/TEST.mk
diff --git a/as/casl2lib/test/mula/mula0/mula0.casl b/as/casl2lib/test/mula/mula0/mula0.casl
deleted file mode 100644 (file)
index 688826c..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-;;; casl2 mula_call0.casl mula.casl outa.casl
-MAIN    START
-        LAD     GR1,12
-        LAD     GR2,3
-        CALL    MULA
-        RET
-        END
diff --git a/as/casl2lib/test/mula/mula_call1.casl b/as/casl2lib/test/mula/mula_call1.casl
deleted file mode 100644 (file)
index da362bd..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-;;; casl2 mula_call0.casl mula.casl outa.casl
-MAIN    START
-        LAD     GR1,9
-        LAD     GR2,23
-        CALL    MULA
-        JOV     WAN
-        LD      GR1,GR0
-        CALL    OUTA
-        JUMP    FIN
-WAN     OUT     MSG,MLEN
-FIN     RET
-MSG     DC      'OF'
-MLEN    DC      2
-        END
diff --git a/as/casl2lib/test/mula/mula_call2.casl b/as/casl2lib/test/mula/mula_call2.casl
deleted file mode 100644 (file)
index 356b59f..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-;;; casl2 mula_call0.casl mula.casl outa.casl
-MAIN    START
-        LAD     GR1,0
-        LAD     GR2,32767
-LOOP    CALL    MULA
-        LD      GR1,GR0
-        CALL    OUTA
-FIN     RET
-        END
diff --git a/as/casl2lib/test/mull/0.txt b/as/casl2lib/test/mull/0.txt
deleted file mode 100644 (file)
index 92ba9be..0000000
+++ /dev/null
@@ -1,485 +0,0 @@
-../../../../casl2 -M640 mull.casl ../../../../as/casl2lib/mull.casl ../../../../as/casl2lib/outl.casl
-0
-0
-0
---------------------
-0
-1
-0
---------------------
-0
-2
-0
---------------------
-0
-127
-0
---------------------
-0
-128
-0
---------------------
-0
-255
-0
---------------------
-0
-256
-0
---------------------
-0
-257
-0
---------------------
-0
-32767
-0
---------------------
-0
-32768
-0
---------------------
-0
-65535
-0
---------------------
-1
-0
-0
---------------------
-1
-1
-1
---------------------
-1
-2
-2
---------------------
-1
-127
-127
---------------------
-1
-128
-128
---------------------
-1
-255
-255
---------------------
-1
-256
-256
---------------------
-1
-257
-257
---------------------
-1
-32767
-32767
---------------------
-1
-32768
-32768
---------------------
-1
-65535
-65535
---------------------
-2
-0
-0
---------------------
-2
-1
-2
---------------------
-2
-2
-4
---------------------
-2
-127
-254
---------------------
-2
-128
-256
---------------------
-2
-255
-510
---------------------
-2
-256
-512
---------------------
-2
-257
-514
---------------------
-2
-32767
-65534
---------------------
-2
-32768
-Warning: overflow
---------------------
-2
-65535
-Warning: overflow
---------------------
-127
-0
-0
---------------------
-127
-1
-127
---------------------
-127
-2
-254
---------------------
-127
-127
-16129
---------------------
-127
-128
-16256
---------------------
-127
-255
-32385
---------------------
-127
-256
-32512
---------------------
-127
-257
-32639
---------------------
-127
-32767
-Warning: overflow
---------------------
-127
-32768
-Warning: overflow
---------------------
-127
-65535
-Warning: overflow
---------------------
-128
-0
-0
---------------------
-128
-1
-128
---------------------
-128
-2
-256
---------------------
-128
-127
-16256
---------------------
-128
-128
-16384
---------------------
-128
-255
-32640
---------------------
-128
-256
-32768
---------------------
-128
-257
-32896
---------------------
-128
-32767
-Warning: overflow
---------------------
-128
-32768
-Warning: overflow
---------------------
-128
-65535
-Warning: overflow
---------------------
-255
-0
-0
---------------------
-255
-1
-255
---------------------
-255
-2
-510
---------------------
-255
-127
-32385
---------------------
-255
-128
-32640
---------------------
-255
-255
-65025
---------------------
-255
-256
-65280
---------------------
-255
-257
-65535
---------------------
-255
-32767
-Warning: overflow
---------------------
-255
-32768
-Warning: overflow
---------------------
-255
-65535
-Warning: overflow
---------------------
-256
-0
-0
---------------------
-256
-1
-256
---------------------
-256
-2
-512
---------------------
-256
-127
-32512
---------------------
-256
-128
-32768
---------------------
-256
-255
-65280
---------------------
-256
-256
-Warning: overflow
---------------------
-256
-257
-Warning: overflow
---------------------
-256
-32767
-Warning: overflow
---------------------
-256
-32768
-Warning: overflow
---------------------
-256
-65535
-Warning: overflow
---------------------
-257
-0
-0
---------------------
-257
-1
-257
---------------------
-257
-2
-514
---------------------
-257
-127
-32639
---------------------
-257
-128
-32896
---------------------
-257
-255
-65535
---------------------
-257
-256
-Warning: overflow
---------------------
-257
-257
-Warning: overflow
---------------------
-257
-32767
-Warning: overflow
---------------------
-257
-32768
-Warning: overflow
---------------------
-257
-65535
-Warning: overflow
---------------------
-32767
-0
-0
---------------------
-32767
-1
-32767
---------------------
-32767
-2
-65534
---------------------
-32767
-127
-Warning: overflow
---------------------
-32767
-128
-Warning: overflow
---------------------
-32767
-255
-Warning: overflow
---------------------
-32767
-256
-Warning: overflow
---------------------
-32767
-257
-Warning: overflow
---------------------
-32767
-32767
-Warning: overflow
---------------------
-32767
-32768
-Warning: overflow
---------------------
-32767
-65535
-Warning: overflow
---------------------
-32768
-0
-0
---------------------
-32768
-1
-32768
---------------------
-32768
-2
-Warning: overflow
---------------------
-32768
-127
-Warning: overflow
---------------------
-32768
-128
-Warning: overflow
---------------------
-32768
-255
-Warning: overflow
---------------------
-32768
-256
-Warning: overflow
---------------------
-32768
-257
-Warning: overflow
---------------------
-32768
-32767
-Warning: overflow
---------------------
-32768
-32768
-Warning: overflow
---------------------
-32768
-65535
-Warning: overflow
---------------------
-65535
-0
-0
---------------------
-65535
-1
-65535
---------------------
-65535
-2
-Warning: overflow
---------------------
-65535
-127
-Warning: overflow
---------------------
-65535
-128
-Warning: overflow
---------------------
-65535
-255
-Warning: overflow
---------------------
-65535
-256
-Warning: overflow
---------------------
-65535
-257
-Warning: overflow
---------------------
-65535
-32767
-Warning: overflow
---------------------
-65535
-32768
-Warning: overflow
---------------------
-65535
-65535
-Warning: overflow
---------------------
diff --git a/as/casl2lib/test/mull/Makefile b/as/casl2lib/test/mull/Makefile
deleted file mode 100644 (file)
index 101bb07..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-YACASL2DIR= ../../../..
-CASL2 = $(YACASL2DIR)/casl2
-CASL2FLAG = -M640
-LIBDIR = $(YACASL2DIR)/as/casl2lib
-ASFILE = mull.casl $(LIBDIR)/mull.casl $(LIBDIR)/outl.casl
-CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
-include $(YACASL2DIR)/test/integration/casl2/TEST.mk
diff --git a/as/casl2lib/test/mull/mull.casl b/as/casl2lib/test/mull/mull.casl
deleted file mode 100644 (file)
index b7d6997..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-MAIN    START
-        LAD     GR3,0           ; Xのインデックス
-LOOPX   CPA     GR3,XCNT        ; (GR3 = XCNT)の場合、ループ脱出
-        JZE     FIN             ; ↓
-        LD      GR1,X,GR3       ; GR1に、(X+GR3)番地の値を転送
-        LAD     GR4,0           ; Yのインデックス
-LOOPY   CPA     GR4,YCNT        ; (GR4 = YCNT)の場合、ループ脱出
-        JZE     XNEXT           ; ↓
-        LD      GR2,Y,GR4       ; GR2に、(X+GR4)番地の値を転送
-        CALL    OUTL            ; GR1の数値を出力
-        PUSH    0,GR1           ; GR2の数値を出力
-        LD      GR1,GR2         ; ↓
-        CALL    OUTL            ; ↓
-        POP     GR1             ; ↓
-        CALL    MULL            ; GR0 <- GR1 * GR2
-        JOV     WOV             ; オーバーフローの場合は、WOVへジャンプ
-        PUSH    0,GR1           ; GR0の数値を出力
-        LD      GR1,GR0         ; ↓
-        CALL    OUTL            ; ↓
-        POP     GR1             ; ↓
-YNEXT   OUT     SEP,SLEN        ; 区切り線を出力
-        LAD     GR4,1,GR4       ; GR4 <- GR4 + 1
-        JUMP    LOOPY           ; LOOPYへジャンプ
-WOV     OUT     YOMSG,YLEN      ; オーバーフローした場合のメッセージを表示
-        JUMP    YNEXT           ; YNEXTへジャンプ
-XNEXT   LAD     GR3,1,GR3       ; GR3 <- GR3 + 1
-        JUMP    LOOPX           ; LOOPXへジャンプ
-FIN     RET
-X       DC      0,1,2,127,128,255,256,257,32767,#8000,#FFFF
-Y       DC      0,1,2,127,128,255,256,257,32767,#8000,#FFFF
-XCNT    DC      11
-YCNT    DC      11
-SEP     DC      '--------------------'
-SLEN    DC      20
-YOMSG   DC      'Warning: overflow'
-YLEN    DC      17
-        END
diff --git a/as/casl2lib/test/mull/mull_call0.casl b/as/casl2lib/test/mull/mull_call0.casl
deleted file mode 100644 (file)
index 06adfc3..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-;;; casl2 mula_call0.casl mula.casl outa.casl
-MAIN    START
-        LAD     GR1,20000
-        LAD     GR2,2
-        CALL    MULL
-        RET
-        END
diff --git a/as/casl2lib/test/mull/mull_call1.casl b/as/casl2lib/test/mull/mull_call1.casl
deleted file mode 100644 (file)
index a238beb..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-;;; casl2 mull_call0.casl mull.casl outl.casl
-MAIN    START
-        LAD     GR1,1
-        LAD     GR2,#8000
-        CALL    MULL
-        JOV     WAN
-        LD      GR1,GR0
-        CALL    OUTL
-        JUMP    FIN
-WAN     OUT     MSG,MLEN        
-FIN     RET
-MSG     DC      'OF'
-MLEN    DC      2
-        END
diff --git a/as/casl2lib/test/outa/0.txt b/as/casl2lib/test/outa/0.txt
deleted file mode 100644 (file)
index 92e788c..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-../../../../casl2 outa.casl ../../../../as/casl2lib/outa.casl
-0
-1
-2
-4
-8
-16
-32
-64
-128
-256
-512
-1024
-2048
-4096
-8192
-16384
-32767
--32768
--32767
--16384
--8192
--4096
--2048
--1024
--512
--256
--128
--64
--32
--16
--8
--4
--2
--1
diff --git a/as/casl2lib/test/outa/Makefile b/as/casl2lib/test/outa/Makefile
deleted file mode 100644 (file)
index 2087ad6..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-YACASL2DIR= ../../../..
-CASL2 = $(YACASL2DIR)/casl2
-LIBDIR = $(YACASL2DIR)/as/casl2lib
-ASFILE = outa.casl $(LIBDIR)/outa.casl
-CMD = $(CASL2) $(ASFILE)
-include $(YACASL2DIR)/test/integration/casl2/TEST.mk
diff --git a/as/casl2lib/test/outa/outa.casl b/as/casl2lib/test/outa/outa.casl
deleted file mode 100644 (file)
index b2aaf05..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-;; casl2 outi_call.casl outi.casl
-MAIN    START
-        LAD     GR1,VAL
-        LAD     GR2,0
-LOOP    CPA     GR2,CNT
-        JZE     FIN
-        LD      GR1,VAL,GR2
-        CALL    OUTA
-        LAD     GR2,1,GR2
-        JUMP    LOOP
-FIN     RET
-VAL     DC      0
-        DC      #0001,#0002,#0004,#0008
-        DC      #0010,#0020,#0040,#0080
-        DC      #0100,#0200,#0400,#0800
-        DC      #1000,#2000,#4000,#7FFF
-        DC      #8000
-        DC      #8001,#C000,#E000,#F000
-        DC      #F800,#FC00,#FE00,#FF00
-        DC      #FF80,#FFC0,#FFE0,#FFF0
-        DC      #FFF8,#FFFC,#FFFE,#FFFF
-CNT     DC      34
-        END
diff --git a/as/casl2lib/test/outa/outa0/outa0.casl b/as/casl2lib/test/outa/outa0/outa0.casl
deleted file mode 100644 (file)
index 335a4c5..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-; casl2 outa_call.casl outa.casl
-MAIN    START
-        LAD     GR1,170
-        CALL    OUTA
-        RET
-        END
diff --git a/as/casl2lib/test/outa/outa_ffff/outa_ffff.casl b/as/casl2lib/test/outa/outa_ffff/outa_ffff.casl
deleted file mode 100644 (file)
index f142a9a..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-; casl2 outl_call2.casl outa.casl
-MAIN    START
-        LAD     GR1,#FFFF
-        CALL    OUTA
-        RET
-        END
diff --git a/as/casl2lib/test/outb/0.txt b/as/casl2lib/test/outb/0.txt
deleted file mode 100644 (file)
index 5ca44fc..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-../../../../casl2 outb.casl ../../../../as/casl2lib/outb.casl
-0000000000000000
-0000000000000001
-0000000000000010
-0000000000000100
-0000000000001000
-0000000000010000
-0000000000100000
-0000000001000000
-0000000010000000
-0000000100000000
-0000001000000000
-0000010000000000
-0000100000000000
-0001000000000000
-0010000000000000
-0100000000000000
-0111111111111111
-1000000000000000
-1000000000000001
-1100000000000000
-1110000000000000
-1111000000000000
-1111100000000000
-1111110000000000
-1111111000000000
-1111111100000000
-1111111110000000
-1111111111000000
-1111111111100000
-1111111111110000
-1111111111111000
-1111111111111100
-1111111111111110
-1111111111111111
diff --git a/as/casl2lib/test/outb/Makefile b/as/casl2lib/test/outb/Makefile
deleted file mode 100644 (file)
index d7ef5ed..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-YACASL2DIR= ../../../..
-CASL2 = $(YACASL2DIR)/casl2
-LIBDIR = $(YACASL2DIR)/as/casl2lib
-ASFILE = outb.casl $(LIBDIR)/outb.casl
-CMD = $(CASL2) $(ASFILE)
-include $(YACASL2DIR)/test/integration/casl2/TEST.mk
diff --git a/as/casl2lib/test/outd_q15/Makefile b/as/casl2lib/test/outd_q15/Makefile
deleted file mode 100644 (file)
index 7947f76..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-YACASL2DIR= ../../../..
-CASL2 = $(YACASL2DIR)/casl2
-LIBDIR = $(YACASL2DIR)/as/casl2lib
-ASFILE = outd_q15.casl $(LIBDIR)/outd_q15.casl
-CMD = $(CASL2) $(ASFILE)
-include $(YACASL2DIR)/test/integration/casl2/TEST.mk
diff --git a/as/casl2lib/test/outd_q15/outd_q15_0.casl b/as/casl2lib/test/outd_q15/outd_q15_0.casl
deleted file mode 100644 (file)
index d097d5b..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-; need outd_q16.casl
-MAIN    START
-        LAD     GR1,#7777
-        CALL    OUTD
-        RET
-        END
diff --git a/as/casl2lib/test/outl/0.txt b/as/casl2lib/test/outl/0.txt
deleted file mode 100644 (file)
index f8aa7b9..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-../../../../casl2 outl.casl ../../../../as/casl2lib/outl.casl
-0
-1
-2
-4
-8
-16
-32
-64
-128
-256
-512
-1024
-2048
-4096
-8192
-16384
-32767
-32768
-32769
-49152
-57344
-61440
-63488
-64512
-65024
-65280
-65408
-65472
-65504
-65520
-65528
-65532
-65534
-65535
diff --git a/as/casl2lib/test/outl/Makefile b/as/casl2lib/test/outl/Makefile
deleted file mode 100644 (file)
index a550560..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-YACASL2DIR= ../../../..
-CASL2 = $(YACASL2DIR)/casl2
-LIBDIR = $(YACASL2DIR)/as/casl2lib
-ASFILE = outl.casl $(LIBDIR)/outl.casl
-CMD = $(CASL2) $(ASFILE)
-include $(YACASL2DIR)/test/integration/casl2/TEST.mk
diff --git a/as/casl2lib/test/outl/outl_0.casl b/as/casl2lib/test/outl/outl_0.casl
deleted file mode 100644 (file)
index 528569f..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-; casl2 outl_call0.casl outl.casl
-MAIN    START
-        LAD     GR1,1
-        CALL    OUTL
-        RET
-        END
diff --git a/as/casl2lib/test/outl/outl_1.casl b/as/casl2lib/test/outl/outl_1.casl
deleted file mode 100644 (file)
index 9e06f9c..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-; casl2 outl_call0.casl outl.casl
-MAIN    START
-        LAD     GR1,100
-        CALL    OUTL
-        RET
-        END
diff --git a/as/casl2lib/test/outl/outl_2.casl b/as/casl2lib/test/outl/outl_2.casl
deleted file mode 100644 (file)
index d3a4280..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-; casl2 outl_call2.casl outl.casl
-MAIN    START
-        LAD     GR1,#FFFF
-        CALL    OUTL
-        RET
-        END
diff --git a/as/casl2lib/test/rev/0.txt b/as/casl2lib/test/rev/0.txt
deleted file mode 100644 (file)
index 2c2206f..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-../../../../casl2 rev.casl ../../../../as/casl2lib/rev.casl
-12345
-54321
diff --git a/as/casl2lib/test/rev/Makefile b/as/casl2lib/test/rev/Makefile
deleted file mode 100644 (file)
index 2f2adef..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-YACASL2DIR= ../../../..
-CASL2 = $(YACASL2DIR)/casl2
-LIBDIR = $(YACASL2DIR)/as/casl2lib
-ASFILE = rev.casl $(LIBDIR)/rev.casl
-CMD = $(CASL2) $(ASFILE)
-include $(YACASL2DIR)/test/integration/casl2/TEST.mk
diff --git a/as/casl2lib/test/rev/rev.casl b/as/casl2lib/test/rev/rev.casl
deleted file mode 100644 (file)
index 58252c2..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-MAIN    START
-        OUT     STR,LEN
-        LAD     GR1,STR
-        LD      GR2,LEN
-        CALL    REV
-        OUT     STR,LEN
-        RET
-STR     DC      '12345'
-LEN     DC      5
-        END
index 9e1d70a..32fd6cb 100644 (file)
@@ -22,6 +22,7 @@ EMB     LD      GR1,NCHAR       ; GR0 <- '0'
 EMLOOP  LD      GR2,LEN         ; GR2 <- LEN
         CPA     GR2,DIG         ; ループ先頭。(GR2 = DIG)の場合は、ループ脱出
         JZE     PRT             ; ↓
+        
         CALL    STSTR           ; GR1をSTR領域に格納
         JUMP    EMLOOP          ; ループ終端
 PRT     LD      GR2,LEN         ; GR2にLENの値を格納
@@ -33,11 +34,10 @@ PRT     LD      GR2,LEN         ; GR2にLENの値を格納
 STR     DS      17
 LEN     DS      1
 NCHAR   DC      '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-DIG     DC      16        
+DIG     DC      16
         END
 ;; GR1をSTR領域に格納し、LENをインクリメント
-STSTR   START
-        PUSH    0,GR1
+STSTR   PUSH    0,GR1
         PUSH    0,GR2
         LD      GR2,LEN         ; GR2にLENの値をロード
         ST      GR1,STR,GR2     ; STR+GR2 <- GR1
@@ -79,7 +79,7 @@ ODFIN   POP     GR3
         POP     GR2
         RET
 ODY     DS      1
-ODMB    DC      #8000        
+ODMB    DC      #8000
         END
 ;; アドレスがGR1、長さがGR2の文字列を逆順に並べ替える
 ;; 例: 12345 -> 54321、54321- -> -12345
index 854e5f2..af77f46 100644 (file)
@@ -9,12 +9,12 @@ MAIN    START
 LOOP    CPA     GR2,CNT
         JZE     FIN
         LD      GR1,A,GR2
-        CALL    OUTL
+        CALL    OUTB
         LAD     GR2,1,GR2
         JUMP    LOOP
 FIN     RET
 A       DC      #FFFF,#FFFF,#FFFF,#FFFF,#FFFF,#FFFF
-CNT     DC      6        
+CNT     DC      6
 B       DC      #B1D0
 P       DC      55
 Q       DC      12
diff --git a/as/fe_tests/2010_04/Q12/fadd.casl b/as/fe_tests/2010_04/Q12/fadd.casl
new file mode 100644 (file)
index 0000000..fdf1eb5
--- /dev/null
@@ -0,0 +1,65 @@
+FADD    START              ; Z ← X + Y
+        RPUSH
+        PUSH  0,GR3        ; 結果 Z の格納領域の先頭番地を退避
+        LD    GR4,0,GR1
+        AND   GR4,=#00FF   ; Ex: X の指数
+        LD    GR5,0,GR2
+        AND   GR5,=#00FF   ; Ey: Y の指数
+        LD    GR6,1,GR1    ; Mx: X の仮数
+        LD    GR7,1,GR2    ; My: Y の仮数
+; 加算前の準備 (指数をそろえる)
+; GR4 ← max(Ex,Ey) , GR6 ← 調整済 Mx , GR7 ← 調整済 My
+        LD    GR3,GR4
+        CPL   GR4,GR5
+        JZE   MADD         ; Ex = Ey の場合
+        JMI   BIGEY        ; Ex < Ey の場合
+        SUBL  GR3,GR5
+        SRL   GR7,0,GR3    ; My を調整
+        JUMP  MADD
+BIGEY   LD    GR4,GR5
+        SUBL  GR5,GR3
+        SRL   GR6,0,GR5    ; Mx を調整
+; 符号を考慮した仮数の加算
+; Sz: Z の符号 , Ez: Z の指数 , Mz: Z の仮数
+; GR4 ← (Sz,Ez) , GR5 ← Mz
+MADD    LD    GR1,0,GR1    ; X の符号の検査
+        JMI   XMINUS       ;   負の場合
+        LD    GR2,0,GR2    ; Y の符号の検査
+        
+        LD    GR5,GR6      ; X ≧ 0 , Y ≦ 0 の場合
+        SUBL  GR5,GR7      ; Mz ← 調整済 Mx − 調整済 My
+        JUMP  SCHECK
+XMINUS  LD    GR2,0,GR2
+        JMI   YMINUS
+        LD    GR5,GR7
+        SUBL  GR5,GR6
+        
+YMINUS  OR    GR4,=#8000   ; Z に負符号を設定
+ADDMXY  LD    GR5,GR6
+        ADDL  GR5,GR7      ; Mz ← 調整済 Mx + 調整済 My
+        JOV   ADJST        ; けた上がりがある場合の正規化
+        JUMP  NORM
+SCHECK  JOV   NEGMZ        ; Mz の符号を検査
+        JUMP  NORM
+NEGMZ   OR    GR4,=#8000   ; Sz に負符号を設定
+        XOR   GR5,=#FFFF   ; Mz ← −Mz
+        ADDL  GR5,=1
+;加算結果の正規化 
+NORM    LD    GR5,GR5      ; ゼロチェック
+        JNZ   LOOP
+        LD    GR4,=0
+        JUMP  FIN
+LOOP    LD    GR5,GR5      ; 正規化完了?
+        JMI   FIN
+        
+        SUBL  GR4,=1
+        JUMP  LOOP
+ADJST   SRL   GR5,1
+        OR    GR5,=#8000   ; Mz の最上位ビットを 1 に設定
+        
+FIN     POP   GR3
+        ST    GR4,0,GR3    ; 結果 Z の格納
+        ST    GR5,1,GR3
+        RPOP
+        RET
+        END
diff --git a/as/fe_tests/2010_10/Q12/lrevrs.casl b/as/fe_tests/2010_10/Q12/lrevrs.casl
new file mode 100644 (file)
index 0000000..66a6fbf
--- /dev/null
@@ -0,0 +1,20 @@
+PREVRS  START
+        RPUSH
+        LD    GR4,0,GR1     ; ビット列を保存
+        CALL  REVRS         ; ビット列のビットの並びを逆転
+        LD    GR5,0,GR1     ; GR5 ← 逆転したビット列
+        LD    GR6,=16
+        SUBA  GR6,GR3       ; GR6 ← 16 - q
+        SRL   GR5,0,GR2     ; 逆転した部分ビット列αを右端に移動
+        SLL   GR5,0,GR6     ; 逆転した部分ビット列αを左端に移動
+        SRL   GR5,0,GR2     ; 逆転した部分ビット列αを p ビットに移動
+        LD    GR6,=#8000
+        SRA   GR6,-1,GR3    ; q ビット連続した1の並びを作成
+        SRL   GR6,0,GR2
+        XOR   GR6,=#FFFF
+        AND   GR6,GR4       ; 元のビット列中の部分ビット列αにゼロを設定
+        OR    GR6,GR5
+        ST    GR6,0,GR1
+        RPOP
+        RET
+        END
diff --git a/as/fe_tests/2010_10/Q12/prevrs.casl b/as/fe_tests/2010_10/Q12/prevrs.casl
new file mode 100644 (file)
index 0000000..66a6fbf
--- /dev/null
@@ -0,0 +1,20 @@
+PREVRS  START
+        RPUSH
+        LD    GR4,0,GR1     ; ビット列を保存
+        CALL  REVRS         ; ビット列のビットの並びを逆転
+        LD    GR5,0,GR1     ; GR5 ← 逆転したビット列
+        LD    GR6,=16
+        SUBA  GR6,GR3       ; GR6 ← 16 - q
+        SRL   GR5,0,GR2     ; 逆転した部分ビット列αを右端に移動
+        SLL   GR5,0,GR6     ; 逆転した部分ビット列αを左端に移動
+        SRL   GR5,0,GR2     ; 逆転した部分ビット列αを p ビットに移動
+        LD    GR6,=#8000
+        SRA   GR6,-1,GR3    ; q ビット連続した1の並びを作成
+        SRL   GR6,0,GR2
+        XOR   GR6,=#FFFF
+        AND   GR6,GR4       ; 元のビット列中の部分ビット列αにゼロを設定
+        OR    GR6,GR5
+        ST    GR6,0,GR1
+        RPOP
+        RET
+        END
diff --git a/as/fe_tests/2010_10/Q12/revl.casl b/as/fe_tests/2010_10/Q12/revl.casl
new file mode 100644 (file)
index 0000000..1424d8c
--- /dev/null
@@ -0,0 +1,41 @@
+LREVRS  START
+        RPUSH
+        LD     GR3,GR1
+        LD     GR4,GR2
+        SUBA   GR4,=1
+        JZE    LOOP2
+        ADDA   GR4,GR1
+LOOP1   LD     GR5,0,GR3      ;
+        LD     GR6,0,GR4      ; GR3 が指す語と GR4 が指す語の内容を
+        ST     GR5,0,GR4      ; 入れ替える
+        ST     GR6,0,GR3      ;
+        LAD    GR3,1,GR3      ; GR3 を次の語に位置付ける
+        LAD    GR4,-1,GR4     ; GR4 を一つ前の語に位置付ける
+        CPA    GR3,GR4
+        JMI    LOOP1
+LOOP2   CALL   REVRS
+        LAD    GR1,1,GR1
+        SUBA   GR2,=1
+        JNZ    LOOP2
+FIN3    RPOP
+        RET
+        END
+REVRS   START
+        RPUSH
+        LD     GR4,=0     ; 結果のビット列を初期化
+        LAD    GR2,15     ; ループカウンタ
+        LD     GR3,0,GR1  ; GR3 ← ビット列
+LOOP    SLL    GR4,1      ; 結果のビット列を左シフト
+        SRL    GR3,1      ; 元のビット列を右シフト
+        JOV    ON
+        JZE    FIN1       ; 元のビット列の残りのビットはすべてゼロ
+        JUMP   OFF
+ON      OR     GR4,=#0001
+OFF     SUBA   GR2,=1
+        JMI    FIN2       ; 16 ビット処理済み
+        JUMP   LOOP
+FIN1    SLL    GR4,0,GR2  ; 結果のビット列を残りのビット数だけシフト
+FIN2    ST     GR4,0,GR1
+        RPOP
+        RET
+        END
similarity index 84%
rename from as/casl2lib/test/outd_q15/0.txt
rename to as/misc/lib_outd/0.txt
index c9a49d3..c364a47 100644 (file)
@@ -1,4 +1,3 @@
-../../../../casl2 outd_q15.casl ../../../../as/casl2lib/outd_q15.casl
 0.999969482421875
 0.5
 0.25
diff --git a/as/misc/lib_outd/1.txt b/as/misc/lib_outd/1.txt
new file mode 100644 (file)
index 0000000..3a2e3f4
--- /dev/null
@@ -0,0 +1 @@
+-1
diff --git a/as/misc/lib_outd/Makefile b/as/misc/lib_outd/Makefile
new file mode 100644 (file)
index 0000000..e38b63c
--- /dev/null
@@ -0,0 +1,3 @@
+include ../Define.mk
+include ../Define_test.mk
+include ../Test.mk
diff --git a/as/misc/lib_outd/cmd b/as/misc/lib_outd/cmd
new file mode 100755 (executable)
index 0000000..759c5f6
--- /dev/null
@@ -0,0 +1 @@
+../../../../casl2 -M1024 outd.casl ../../../../as/casl2lib/outd_q15.casl ../../../../as/casl2lib/abs.casl
diff --git a/as/misc/lib_outd/detail.log b/as/misc/lib_outd/detail.log
new file mode 100644 (file)
index 0000000..fc13808
--- /dev/null
@@ -0,0 +1,95 @@
+== test.log ==
+----------------------------------------------------------------------
+lib_outd: Test Failure 2010-12-21 18:51:52
+Detail in /Users/kazubito/2010_12/yacasl2/test/system/casl2/lib_outd/detail.log
+----------------------------------------------------------------------
+
+== cmd ==
+----------------------------------------------------------------------
+../../../../casl2 -M1024 outd.casl ../../../../as/casl2lib/outd_q15.casl ../../../../as/casl2lib/abs.casl
+----------------------------------------------------------------------
+
+== 0.txt ==
+----------------------------------------------------------------------
+0.999969482421875
+0.5
+0.25
+0.125
+0.0625
+0.03125
+0.015625
+0.0078125
+0.00390625
+0.001953125
+0.0009765625
+0.00048828125
+0.000244140625
+0.0001220703125
+0.00006103515625
+0.000030517578125
+-1
+-0.999969482421875
+-0.5
+-0.25
+-0.125
+-0.0625
+-0.03125
+-0.015625
+-0.0078125
+-0.00390625
+-0.001953125
+-0.0009765625
+-0.00048828125
+-0.000244140625
+-0.0001220703125
+-0.00006103515625
+-0.000030517578125
+----------------------------------------------------------------------
+
+== diff.txt ==
+----------------------------------------------------------------------
+*** 0.txt      Tue Dec 21 18:50:34 2010
+--- 1.txt      Tue Dec 21 18:51:52 2010
+***************
+*** 1,33 ****
+- 0.999969482421875
+- 0.5
+- 0.25
+- 0.125
+- 0.0625
+- 0.03125
+- 0.015625
+- 0.0078125
+- 0.00390625
+- 0.001953125
+- 0.0009765625
+- 0.00048828125
+- 0.000244140625
+- 0.0001220703125
+- 0.00006103515625
+- 0.000030517578125
+  -1
+- -0.999969482421875
+- -0.5
+- -0.25
+- -0.125
+- -0.0625
+- -0.03125
+- -0.015625
+- -0.0078125
+- -0.00390625
+- -0.001953125
+- -0.0009765625
+- -0.00048828125
+- -0.000244140625
+- -0.0001220703125
+- -0.00006103515625
+- -0.000030517578125
+--- 1 ----
+----------------------------------------------------------------------
+
+== 1.txt ==
+----------------------------------------------------------------------
+-1
+----------------------------------------------------------------------
+
diff --git a/as/misc/lib_outd/diff.txt b/as/misc/lib_outd/diff.txt
new file mode 100644 (file)
index 0000000..6789162
--- /dev/null
@@ -0,0 +1,38 @@
+*** 0.txt      Tue Dec 21 18:50:34 2010
+--- 1.txt      Tue Dec 21 18:51:52 2010
+***************
+*** 1,33 ****
+- 0.999969482421875
+- 0.5
+- 0.25
+- 0.125
+- 0.0625
+- 0.03125
+- 0.015625
+- 0.0078125
+- 0.00390625
+- 0.001953125
+- 0.0009765625
+- 0.00048828125
+- 0.000244140625
+- 0.0001220703125
+- 0.00006103515625
+- 0.000030517578125
+  -1
+- -0.999969482421875
+- -0.5
+- -0.25
+- -0.125
+- -0.0625
+- -0.03125
+- -0.015625
+- -0.0078125
+- -0.00390625
+- -0.001953125
+- -0.0009765625
+- -0.00048828125
+- -0.000244140625
+- -0.0001220703125
+- -0.00006103515625
+- -0.000030517578125
+--- 1 ----
diff --git a/as/misc/lib_outd/lib_outd/0.txt b/as/misc/lib_outd/lib_outd/0.txt
new file mode 100644 (file)
index 0000000..c364a47
--- /dev/null
@@ -0,0 +1,33 @@
+0.999969482421875
+0.5
+0.25
+0.125
+0.0625
+0.03125
+0.015625
+0.0078125
+0.00390625
+0.001953125
+0.0009765625
+0.00048828125
+0.000244140625
+0.0001220703125
+0.00006103515625
+0.000030517578125
+-1
+-0.999969482421875
+-0.5
+-0.25
+-0.125
+-0.0625
+-0.03125
+-0.015625
+-0.0078125
+-0.00390625
+-0.001953125
+-0.0009765625
+-0.00048828125
+-0.000244140625
+-0.0001220703125
+-0.00006103515625
+-0.000030517578125
diff --git a/as/misc/lib_outd/lib_outd/1.txt b/as/misc/lib_outd/lib_outd/1.txt
new file mode 100644 (file)
index 0000000..3a2e3f4
--- /dev/null
@@ -0,0 +1 @@
+-1
diff --git a/as/misc/lib_outd/lib_outd/Makefile b/as/misc/lib_outd/lib_outd/Makefile
new file mode 100644 (file)
index 0000000..e38b63c
--- /dev/null
@@ -0,0 +1,3 @@
+include ../Define.mk
+include ../Define_test.mk
+include ../Test.mk
diff --git a/as/misc/lib_outd/lib_outd/cmd b/as/misc/lib_outd/lib_outd/cmd
new file mode 100755 (executable)
index 0000000..759c5f6
--- /dev/null
@@ -0,0 +1 @@
+../../../../casl2 -M1024 outd.casl ../../../../as/casl2lib/outd_q15.casl ../../../../as/casl2lib/abs.casl
diff --git a/as/misc/lib_outd/lib_outd/detail.log b/as/misc/lib_outd/lib_outd/detail.log
new file mode 100644 (file)
index 0000000..fc13808
--- /dev/null
@@ -0,0 +1,95 @@
+== test.log ==
+----------------------------------------------------------------------
+lib_outd: Test Failure 2010-12-21 18:51:52
+Detail in /Users/kazubito/2010_12/yacasl2/test/system/casl2/lib_outd/detail.log
+----------------------------------------------------------------------
+
+== cmd ==
+----------------------------------------------------------------------
+../../../../casl2 -M1024 outd.casl ../../../../as/casl2lib/outd_q15.casl ../../../../as/casl2lib/abs.casl
+----------------------------------------------------------------------
+
+== 0.txt ==
+----------------------------------------------------------------------
+0.999969482421875
+0.5
+0.25
+0.125
+0.0625
+0.03125
+0.015625
+0.0078125
+0.00390625
+0.001953125
+0.0009765625
+0.00048828125
+0.000244140625
+0.0001220703125
+0.00006103515625
+0.000030517578125
+-1
+-0.999969482421875
+-0.5
+-0.25
+-0.125
+-0.0625
+-0.03125
+-0.015625
+-0.0078125
+-0.00390625
+-0.001953125
+-0.0009765625
+-0.00048828125
+-0.000244140625
+-0.0001220703125
+-0.00006103515625
+-0.000030517578125
+----------------------------------------------------------------------
+
+== diff.txt ==
+----------------------------------------------------------------------
+*** 0.txt      Tue Dec 21 18:50:34 2010
+--- 1.txt      Tue Dec 21 18:51:52 2010
+***************
+*** 1,33 ****
+- 0.999969482421875
+- 0.5
+- 0.25
+- 0.125
+- 0.0625
+- 0.03125
+- 0.015625
+- 0.0078125
+- 0.00390625
+- 0.001953125
+- 0.0009765625
+- 0.00048828125
+- 0.000244140625
+- 0.0001220703125
+- 0.00006103515625
+- 0.000030517578125
+  -1
+- -0.999969482421875
+- -0.5
+- -0.25
+- -0.125
+- -0.0625
+- -0.03125
+- -0.015625
+- -0.0078125
+- -0.00390625
+- -0.001953125
+- -0.0009765625
+- -0.00048828125
+- -0.000244140625
+- -0.0001220703125
+- -0.00006103515625
+- -0.000030517578125
+--- 1 ----
+----------------------------------------------------------------------
+
+== 1.txt ==
+----------------------------------------------------------------------
+-1
+----------------------------------------------------------------------
+
diff --git a/as/misc/lib_outd/lib_outd/diff.txt b/as/misc/lib_outd/lib_outd/diff.txt
new file mode 100644 (file)
index 0000000..6789162
--- /dev/null
@@ -0,0 +1,38 @@
+*** 0.txt      Tue Dec 21 18:50:34 2010
+--- 1.txt      Tue Dec 21 18:51:52 2010
+***************
+*** 1,33 ****
+- 0.999969482421875
+- 0.5
+- 0.25
+- 0.125
+- 0.0625
+- 0.03125
+- 0.015625
+- 0.0078125
+- 0.00390625
+- 0.001953125
+- 0.0009765625
+- 0.00048828125
+- 0.000244140625
+- 0.0001220703125
+- 0.00006103515625
+- 0.000030517578125
+  -1
+- -0.999969482421875
+- -0.5
+- -0.25
+- -0.125
+- -0.0625
+- -0.03125
+- -0.015625
+- -0.0078125
+- -0.00390625
+- -0.001953125
+- -0.0009765625
+- -0.00048828125
+- -0.000244140625
+- -0.0001220703125
+- -0.00006103515625
+- -0.000030517578125
+--- 1 ----
diff --git a/as/misc/lib_outd/lib_outd/outd.casl b/as/misc/lib_outd/lib_outd/outd.casl
new file mode 100644 (file)
index 0000000..6efd441
--- /dev/null
@@ -0,0 +1,5 @@
+;; outd.caslを呼び出し、数値を表示する
+MAIN    START
+        LAD    GR1,#8000
+        CALL    OUTD
+FIN     RET
similarity index 58%
rename from as/casl2lib/test/outl/outl.casl
rename to as/misc/lib_outd/lib_outd/outd1.casl
index d20214e..ace9fcf 100644 (file)
@@ -1,22 +1,21 @@
-;;; casl2 outl_call.casl outl.casl
+;; outd.caslを呼び出し、数値を表示する
 MAIN    START
         LAD     GR2,0
 LOOP    LD      GR1,VAL,GR2
-        CALL    OUTL
+        CALL    OUTD
         LAD     GR2,1,GR2
         CPA     GR2,CNT
         JZE     FIN
         JUMP    LOOP
 FIN     RET
-VAL     DC      0
-        DC      #0001,#0002,#0004,#0008
-        DC      #0010,#0020,#0040,#0080
-        DC      #0100,#0200,#0400,#0800
-        DC      #1000,#2000,#4000,#7FFF
+VAL     DC      #7FFF,#4000,#2000,#1000
+        DC      #0800,#0400,#0200,#0100
+        DC      #0080,#0040,#0020,#0010
+        DC      #0008,#0004,#0002,#0001
         DC      #8000
         DC      #8001,#C000,#E000,#F000
         DC      #F800,#FC00,#FE00,#FF00
         DC      #FF80,#FFC0,#FFE0,#FFF0
         DC      #FFF8,#FFFC,#FFFE,#FFFF
-CNT     DC      34
+CNT     DC      33
         END
diff --git a/as/misc/lib_outd/lib_outd/test.log b/as/misc/lib_outd/lib_outd/test.log
new file mode 100644 (file)
index 0000000..166af74
--- /dev/null
@@ -0,0 +1,2 @@
+lib_outd: Test Failure 2010-12-21 18:51:52
+Detail in /Users/kazubito/2010_12/yacasl2/test/system/casl2/lib_outd/detail.log
diff --git a/as/misc/lib_outd/outd.casl b/as/misc/lib_outd/outd.casl
new file mode 100644 (file)
index 0000000..6efd441
--- /dev/null
@@ -0,0 +1,5 @@
+;; outd.caslを呼び出し、数値を表示する
+MAIN    START
+        LAD    GR1,#8000
+        CALL    OUTD
+FIN     RET
similarity index 58%
rename from as/casl2lib/test/outb/outb.casl
rename to as/misc/lib_outd/outd1.casl
index 9ba7189..ace9fcf 100644 (file)
@@ -1,22 +1,21 @@
-;;; casl2 outb_call.casl outb.casl
+;; outd.caslを呼び出し、数値を表示する
 MAIN    START
         LAD     GR2,0
 LOOP    LD      GR1,VAL,GR2
-        CALL    OUTB
+        CALL    OUTD
         LAD     GR2,1,GR2
         CPA     GR2,CNT
         JZE     FIN
         JUMP    LOOP
 FIN     RET
-VAL     DC      0
-        DC      #0001,#0002,#0004,#0008
-        DC      #0010,#0020,#0040,#0080
-        DC      #0100,#0200,#0400,#0800
-        DC      #1000,#2000,#4000,#7FFF
+VAL     DC      #7FFF,#4000,#2000,#1000
+        DC      #0800,#0400,#0200,#0100
+        DC      #0080,#0040,#0020,#0010
+        DC      #0008,#0004,#0002,#0001
         DC      #8000
         DC      #8001,#C000,#E000,#F000
         DC      #F800,#FC00,#FE00,#FF00
         DC      #FF80,#FFC0,#FFE0,#FFF0
         DC      #FFF8,#FFFC,#FFFE,#FFFF
-CNT     DC      34
+CNT     DC      33
         END
diff --git a/as/misc/lib_outd/test.log b/as/misc/lib_outd/test.log
new file mode 100644 (file)
index 0000000..166af74
--- /dev/null
@@ -0,0 +1,2 @@
+lib_outd: Test Failure 2010-12-21 18:51:52
+Detail in /Users/kazubito/2010_12/yacasl2/test/system/casl2/lib_outd/detail.log
diff --git a/as/misc/lib_outd_q15/0.txt b/as/misc/lib_outd_q15/0.txt
new file mode 100644 (file)
index 0000000..be7b3ec
--- /dev/null
@@ -0,0 +1 @@
+Execute error - 205: PR:#003F: Stack Pointer (SP) - cannot allocate stack buffer
diff --git a/as/misc/lib_outd_q15/Makefile b/as/misc/lib_outd_q15/Makefile
new file mode 100644 (file)
index 0000000..e38b63c
--- /dev/null
@@ -0,0 +1,3 @@
+include ../Define.mk
+include ../Define_test.mk
+include ../Test.mk
diff --git a/as/misc/lib_outd_q15/cmd b/as/misc/lib_outd_q15/cmd
new file mode 100755 (executable)
index 0000000..3f8fe9d
--- /dev/null
@@ -0,0 +1 @@
+../../../../casl2 -M1024 outd_q15.casl ../../../../as/casl2lib/outd_q15_.casl ../../../../as/casl2lib/abs.casl
diff --git a/as/misc/lib_outd_q15/err.txt b/as/misc/lib_outd_q15/err.txt
new file mode 100644 (file)
index 0000000..be7b3ec
--- /dev/null
@@ -0,0 +1 @@
+Execute error - 205: PR:#003F: Stack Pointer (SP) - cannot allocate stack buffer
diff --git a/as/misc/lib_outd_q15/lib_outd_q15/0.txt b/as/misc/lib_outd_q15/lib_outd_q15/0.txt
new file mode 100644 (file)
index 0000000..be7b3ec
--- /dev/null
@@ -0,0 +1 @@
+Execute error - 205: PR:#003F: Stack Pointer (SP) - cannot allocate stack buffer
diff --git a/as/misc/lib_outd_q15/lib_outd_q15/Makefile b/as/misc/lib_outd_q15/lib_outd_q15/Makefile
new file mode 100644 (file)
index 0000000..e38b63c
--- /dev/null
@@ -0,0 +1,3 @@
+include ../Define.mk
+include ../Define_test.mk
+include ../Test.mk
diff --git a/as/misc/lib_outd_q15/lib_outd_q15/cmd b/as/misc/lib_outd_q15/lib_outd_q15/cmd
new file mode 100755 (executable)
index 0000000..3f8fe9d
--- /dev/null
@@ -0,0 +1 @@
+../../../../casl2 -M1024 outd_q15.casl ../../../../as/casl2lib/outd_q15_.casl ../../../../as/casl2lib/abs.casl
diff --git a/as/misc/lib_outd_q15/lib_outd_q15/err.txt b/as/misc/lib_outd_q15/lib_outd_q15/err.txt
new file mode 100644 (file)
index 0000000..be7b3ec
--- /dev/null
@@ -0,0 +1 @@
+Execute error - 205: PR:#003F: Stack Pointer (SP) - cannot allocate stack buffer
diff --git a/as/misc/lib_outd_q15/outd_q15.casl b/as/misc/lib_outd_q15/outd_q15.casl
new file mode 100644 (file)
index 0000000..fc2ef1a
--- /dev/null
@@ -0,0 +1,21 @@
+;; outd_q15.caslを呼び出し、33個の数値を表示する
+MAIN    START
+        LAD     GR2,0
+LOOP    LD      GR1,VAL,GR2
+        CALL    OUTD
+        LAD     GR2,1,GR2
+        CPA     GR2,CNT
+        JZE     FIN
+        JUMP    LOOP
+FIN     RET
+VAL     DC      #7FFF,#4000,#2000,#1000
+        DC      #0800,#0400,#0200,#0100
+        DC      #0080,#0040,#0020,#0010
+        DC      #0008,#0004,#0002,#0001
+        DC      #8000
+        DC      #8001,#C000,#E000,#F000
+        DC      #F800,#FC00,#FE00,#FF00
+        DC      #FF80,#FFC0,#FFE0,#FFF0
+        DC      #FFF8,#FFFC,#FFFE,#FFFF
+CNT     DC      33
+        END
diff --git a/as/misc/outd_q15.casl b/as/misc/outd_q15.casl
new file mode 100644 (file)
index 0000000..7268471
--- /dev/null
@@ -0,0 +1,64 @@
+;; GR1に格納された値を、10進数の小数値として表示
+OUTD    START
+        RPUSH
+        LAD     GR2,10          ; GR2に10進数の「10」を格納
+        LAD     GR0,0           ; 負数フラグ。GR1が負数の場合、GR0は1
+        XOR     GR4,GR4         ; 整数値の長さ
+        AND     GR1,GR1         ; GR1が0の場合
+        JZE     ZPRT            ; ↓
+        JPL     STDN            ; GR1が正数の場合、STDNにジャンプ
+        LD      GR5,='-'        ; GR1が負数の場合、「-」をSTR領域に格納
+        ST      GR5,STR         ; ↓
+        LAD     GR4,1,GR4       ; ↓ GR4 <- GR4 + 1
+        CPA     GR1,=#8000      ; GR1が#8000より大きい場合、MDNへジャンプ
+        JPL     MDN             ; ↓
+        LD      GR1,='1'        ; GR1が#8000の場合、-1を出力
+        ST      GR1,STR,GR4     ; (STR + GR4) <- GR1
+        LAD     GR4,1,GR4       ; GR4 <- GR4 + 1
+        JUMP    PRT             ; ↓
+MDN     CALL    ABS             ; GR1を正数に変換
+STDN    LD      GR5,='0'        ; 「0」をSTR領域に格納
+        ST      GR5,STR,GR4     ; ↓
+        LAD     GR4,1,GR4       ; ↓ GR4 <- GR4 + 1
+        LD      GR5,='.'        ; 「.」をSTR領域に格納
+        ST      GR5,STR,GR4     ; ↓
+        LAD     GR4,1,GR4       ; ↓ GR4 <- GR4 + 1
+;; GR1の内容を小数値と見なし、10進数の文字列に変換してSTRに格納
+TODIG   AND     GR1,GR1         ; GR1が0の場合は、ループを脱出
+        JZE     PRT             ; ↓
+        CALL    MUL             ; GR1とGR2の、積をGR1、オーバーフロー値をGR3に格納
+        LD      GR5,GR3         ; GR3をGR1にコピー
+        ADDA    GR5,='0'        ; GR1を文字に変換
+        ST      GR5,STR,GR4     ; (STR + GR4) <- GR1
+        LAD     GR4,1,GR4       ; GR4 <- GR4 + 1
+        JUMP    TODIG           ; ループ
+ZPRT    LD      GR5,='0'        ; 「0」をSTR領域に格納
+        ST      GR5,STR,GR4     ; (STR + GR4) <- GR1
+        LAD     GR4,1,GR4       ; GR4 <- GR4 + 1
+PRT     ST      GR4,LEN         ; LEN <- GR4
+        OUT     STR,LEN         ; ↓
+        RPOP
+        RET
+STR     DS      20
+LEN     DS      1
+        END
+;; GR1の値を10倍にし、GR3にオーバーフロー値を格納
+MUL     START
+        PUSH    0,GR5
+        PUSH    0,GR6
+        LAD     GR3,0           ; GR3は、オーバーフロー値を格納
+        LAD     GR5,1           ; GR5は、インデックス
+        LD      GR6,GR1         ; GR6は、GR4の元の値を保持
+MLOOP   CPA     GR5,=10         ; GR5が10になったらループ脱出
+        JZE     MFIN            ; ↓
+        ADDA    GR1,GR6         ; GR4 <- GR4 + GR6
+        LAD     GR5,1,GR5       ; GR5 <- GR5 + 1
+        JOV     MADD            ; オーバーフローした場合、MADDへジャンプ
+        JUMP    MLOOP           ; ループ
+MADD    LAD     GR3,1,GR3       ; GR3 <- GR3 + 1
+        AND     GR1,=#7FFF      ; GR4の最上位ビットをクリア
+        JUMP    MLOOP           ; ループ
+MFIN    POP     GR6
+        POP     GR5
+        RET
+        END
diff --git a/as/misc/outd_q15_edit.casl b/as/misc/outd_q15_edit.casl
new file mode 100644 (file)
index 0000000..eb0e956
--- /dev/null
@@ -0,0 +1,33 @@
+;;; GR1に格納された値を、0以上1未満の、10進数小数値として表示
+;;; 例: 1000000000000000:0.5, 1100000000000000:0.75
+OUTD    START
+        RPUSH
+        XOR     GR3,GR3         ; 文字位置を表すインデックス
+        XOR     GR4,GR4         ; 一時領域
+        LD      GR4,='0'        ; 「0」をSTR領域に格納
+        ST      GR4,STR,GR3     ; ↓
+        LAD     GR3,1,GR3       ; ↓ GR3 <- GR3 + 1
+        AND     GR1,GR1         ; GR1が0の場合、PRTにジャンプ
+        JZE     PRT             ; ↓
+        LD      GR4,='.'        ; 「.」をSTR領域に格納
+        ST      GR4,STR,GR3     ; ↓
+        LAD     GR3,1,GR3       ; ↓ GR4 <- GR4 + 1
+;; GR1の内容を小数値と見なし、10進数の文字列に変換してSTRに格納
+TODIG   AND     GR1,GR1         ; GR1が0の場合は、ループを脱出
+        JZE     PRT             ; ↓
+        PUSH    0,GR2           ; GR1とGR2の積をGR1に格納
+        LAD     GR2,10          ; ↓GR2に10進数の「10」を格納
+        CALL    MULL            ; ↓
+        POP     GR2             ; ↓
+        LD      GR4,GR0         ; GR0をGR4にコピー
+        ADDA    GR4,='0'        ; GR4を文字に変換
+        ST      GR4,STR,GR3     ; (STR + GR3) <- GR4
+        LAD     GR3,1,GR3       ; GR3 <- GR3 + 1
+        JUMP    TODIG           ; ループ
+PRT     ST      GR3,LEN         ; LEN <- GR3
+        OUT     STR,LEN         ; STR領域の内容を印字
+        RPOP
+        RET
+STR     DS      20
+LEN     DS      1
+        END