かけ算を実行するCASL2ファイルのリファクタリング
authorj8takagi <j8takagi@nifty.com>
Thu, 4 Feb 2010 10:16:12 +0000 (19:16 +0900)
committerj8takagi <j8takagi@nifty.com>
Thu, 4 Feb 2010 10:16:12 +0000 (19:16 +0900)
24 files changed:
as/FUNC/diva1.casl [new file with mode: 0644]
as/FUNC/divl1.casl
as/FUNC/mula1.casl
as/FUNC/mula2.casl [new file with mode: 0644]
as/FUNC/mula_call.casl
as/FUNC/mula_call0.casl
as/FUNC/mula_call1.casl
as/FUNC/mull1.casl
test/integration/casl2/abs_call/0.txt
test/integration/casl2/mula0_call/0.txt
test/integration/casl2/mula1_call/0.txt
test/integration/casl2/mula2_call/0.txt [new file with mode: 0644]
test/integration/casl2/mula2_call/Makefile [new file with mode: 0644]
test/integration/comet2/abs_call/0.txt
test/integration/comet2/abs_call/a.o
test/integration/comet2/divl1_call/a.o
test/integration/comet2/mula0_call/0.txt
test/integration/comet2/mula0_call/a.o
test/integration/comet2/mula1_call/0.txt
test/integration/comet2/mula1_call/a.o
test/integration/comet2/mula2_call/0.txt [new file with mode: 0644]
test/integration/comet2/mula2_call/Makefile [new file with mode: 0644]
test/integration/comet2/mula2_call/a.o [new file with mode: 0644]
test/integration/comet2/mull1_call/a.o

diff --git a/as/FUNC/diva1.casl b/as/FUNC/diva1.casl
new file mode 100644 (file)
index 0000000..3d867f5
--- /dev/null
@@ -0,0 +1,45 @@
+;;; -32767〜32767の範囲にある整数の割算(筆算方式)を行う
+;;; 入力 GR1:被除数 GR2:除数
+;;; 出力 GR0:商 GR3:剰余
+;;; GR2が0の場合は、GR0、GR3とも0になり、オーバーフロー
+DIVL    START
+        PUSH    0,GR1
+        PUSH    0,GR2
+        PUSH    0,GR4
+        AND     GR2,GR2         ; (GR2 = 0)の場合、DIVZEROへジャンプ
+        JZE     DIVZERO         ; ↓
+        ST      GR2,Y           ; YにGR2の初期値を保存
+        XOR     GR0,GR0         ; GR0の初期化
+        XOR     GR3,GR3         ; GR3の初期化
+        LAD     GR4,1           ; GR4の初期化。対象ビットを表す
+SL      CPL     GR2,GR1         ; ループ先頭。(GR2 > GR1)の場合、LOOPへループ脱出
+        JPL     LOOP            ; ↓
+        SLL     GR4,1           ; GR4を1回左シフト
+        ST      GR2,TMP         ; GR2の値をTMPに退避
+        SLL     GR2,1           ; GR2を1回左シフト
+        JOV     YOV             ; オーバーフローの場合は、YOVへジャンプ
+        JUMP    SL              ; ループ終端
+YOV     LD      GR2,TMP         ; GR2の値をTMPから復元
+        SRL     GR4,1           ; GR4を1回右シフト
+        JUMP    LPIN            ; LPINへジャンプ
+LOOP    SRL     GR4,1           ; ループ先頭。GR4を1回右シフト
+        JZE     SETMOD          ; (GR4 = 0)の場合、SETMODへループ脱出
+        SRL     GR2,1           ; GR2を1回右シフト
+        CPL     GR1,Y           ; (GR1 < Y)の場合、SETMODへループ脱出
+        JMI     SETMOD          ; ↓
+        CPL     GR1,GR2         ; (GR1 < GR2)の場合、ループ先頭へジャンプ
+        JMI     LOOP            ; ↓
+LPIN    SUBL    GR1,GR2         ; GR1 <- GR1 - GR2
+        ADDL    GR0,GR4         ; GR0 <- GR0 + GR4
+        JUMP    LOOP            ; ループ終端
+DIVZERO LAD     GR3,#8000       ; 強制的にオーバーフローを発生させ、GR3 <- 0
+        SLL     GR3,1           ; ↓
+        JUMP    FIN             ; FIN へジャンプ
+SETMOD  LD      GR3,GR1         ; GR3 <- GR1。剰余の設定
+FIN     POP     GR4
+        POP     GR2
+        POP     GR1
+        RET
+Y       DS      1
+TMP     DS      1
+        END
index f7bb887..9fd2fab 100644 (file)
@@ -9,8 +9,8 @@ DIVL    START
         AND     GR2,GR2         ; (GR2 = 0)の場合、DIVZEROへジャンプ
         JZE     DIVZERO         ; ↓
         ST      GR2,Y           ; YにGR2の初期値を保存
-        LAD     GR0,0           ; GR0の初期化
-        LAD     GR3,0           ; GR3の初期化
+        XOR     GR0,GR0         ; GR0の初期化
+        XOR     GR3,GR3         ; GR3の初期化
         LAD     GR4,1           ; GR4の初期化。対象ビットを表す
 SL      CPL     GR2,GR1         ; ループ先頭。(GR2 > GR1)の場合、LOOPへループ脱出
         JPL     LOOP            ; ↓
index 75ab187..8633b15 100644 (file)
@@ -1,60 +1,49 @@
-;GR1の値とGR2の値の積をGR0に格納
+;;; -32767〜32767の範囲にある正数のかけ算(筆算方式)を行う
+;;; 入力 GR1:被乗数 GR2:乗数
+;;; 出力 GR0:積
+;;; 被乗数または乗数が-32768の場合は、オーバーフロー
+;;; 積が-32767未満または32767より大きい場合は、GR0は積の下位16ビットになり、オーバーフロー
 MULA    START
         RPUSH
         XOR     GR0,GR0         ; 積
+        AND     GR1,GR1         ; (GR1 = 0)の場合、終了
+        JZE     FIN             ; ↓
+        AND     GR2,GR2         ; (GR2 = 0)の場合、終了
+        JZE     FIN             ; ↓
         LAD     GR3,1           ; 対象ビット
         XOR     GR4,GR4         ; マイナスフラグ
-CHK1    CALL    CHKVAL          ; (GR1 < 0)の場合は正負を反転させ、GR0 <- 1
-        JOV     MFIN
-        LD      GR4,GR0         ; マイナスフラグをオン
-CHK2    PUSH    0,GR1           ; GR1を退避
-        LD      GR1,GR2         ; GR2をGR1へロード
-        CALL    CHKVAL          ; (GR1 < 0)の場合は正負を反転させ、GR0 <- 1
-        JOV     C2OV
-        LD      GR2,GR1         ; GR1をGR2へロード
-        XOR     GR4,GR0         ; マイナスフラグを反転
-C2FIN   POP     GR1             ; GR1を復元
-        XOR     GR0,GR0         ; GR0を初期化
-        JUMP    MLOOP           ; MLOOPへジャンプ
-C2OV    POP     GR1             ; GR1を復元
-        JUMP    MFIN            ; MFINへジャンプ
-MLOOP   PUSH    0,GR3           ; ループ先頭。GR2の、GR3が示したビットが0の場合、MNEXTへジャンプ
+CHK1    AND     GR1,GR1         ; (GR1 > 0)の場合は、CHK2へジャンプ
+        JPL     CHK2            ; ↓
+        XOR     GR1,ALLON       ; GR1の正負を反転
+        ADDA    GR1,ONE         ; ↓
+        JOV     FIN             ; (GR1 = -32768)の場合は終了
+        XOR     GR4,ONE         ; GR4 <- 1
+CHK2    AND     GR2,GR2         ; (GR1 > 0)の場合は、LOOPへジャンプ
+        JPL     LOOP            ; ↓
+        XOR     GR2,ALLON       ; GR2の正負を反転
+        ADDA    GR2,ONE         ; ↓
+        JOV     FIN             ; (GR2 = -32768)の場合は終了
+        XOR     GR4,ONE         ; マイナスフラグを反転
+LOOP    PUSH    0,GR3           ; ループ先頭。GR2のビット中でGR3の示したものが0の場合、NEXTへジャンプ
         AND     GR3,GR2         ; ↓
         POP     GR3             ; ↓
-        JZE     MNEXT           ; ↓
+        JZE     NEXT            ; ↓
         ADDA    GR0,GR1         ; GR0 <- GR0 + GR1
-        JOV     MFIN            ; オーバーフローした場合、ループ脱出
-MNEXT   SLA     GR3,1           ; GR3を1回左シフト
+        JOV     FIN             ; オーバーフローした場合、終了
+NEXT    SLA     GR3,1           ; GR3を1回左シフト
         AND     GR3,GR3         ; (GR3 = 0)の場合、ループ脱出
-        JZE     MMIN            ; ↓
+        JZE     MIN             ; ↓
         CPL     GR3,GR2         ; (GR3 > GR2)の場合、ループ脱出
-        JPL     MMIN            ; ↓
+        JPL     MIN             ; ↓
         SLA     GR1,1           ; GR1を1回左シフト
-        JOV     MFIN            ; オーバーフローした場合、ループ脱出
-        JUMP    MLOOP           ; ループ終端
-MMIN    AND     GR4,GR4         ; マイナスフラグがオフの場合、MFINへジャンプ
-        JZE     MFIN            ; ↓
-        LD      GR1,GR0         ; GR1にGR0をロード
-        CALL    MABS            ; GR1の正負を反転
-        JOV     MFIN            ; オーバーフロー(GR1 = -32768)の場合、MFINへジャンプ
-        LD      GR0,GR1         ; GR0にGR1をロード
-MFIN    RPOP
-        RET
-        END
-;;; GR1が0未満の場合は、絶対値に変換し、GR0に1を設定
-CHKVAL  START
-        LAD     GR0,0
-        AND     GR1,GR1         ; (GR1 >= 0)の場合は、CFINへジャンプ
-        JPL     CFIN            ; ↓
-        JZE     CFIN            ; ↓
-        LAD     GR0,1           ; GR0に1をロード
-        CALL    MABS            ; GR1を絶対値に変換
-CFIN    RET
-        END
-;;; GR1の値の正負を反転させる。
-;;; 例: -10 -> 10、10 -> -10
-MABS    START
-        XOR     GR1,=#FFFF       ; GR1のビット値を反転
-        ADDA    GR1,=1           ; GR1 <- GR1 + 1
+        JOV     FIN             ; オーバーフローした場合、終了
+        JUMP    LOOP            ; ループ終端
+MIN     AND     GR4,GR4         ; マイナスフラグがオフの場合、終了
+        JZE     FIN             ; ↓
+        XOR     GR0,ALLON       ; GR1の正負を反転
+        ADDA    GR0,ONE         ; ↓
+FIN     RPOP
         RET
+ONE     DC      1
+ALLON   DC      #FFFF
         END
diff --git a/as/FUNC/mula2.casl b/as/FUNC/mula2.casl
new file mode 100644 (file)
index 0000000..431486a
--- /dev/null
@@ -0,0 +1,41 @@
+;;; -32767〜32767の範囲にある正数のかけ算(筆算方式)を行う
+;;; 入力 GR1:被乗数 GR2:乗数
+;;; 出力 GR0:積
+;;; 被乗数または乗数が-32768の場合は、オーバーフロー
+;;; 積が-32767未満または32767より大きい場合は、GR0は積の下位16ビットになり、オーバーフロー
+MULA    START
+        RPUSH
+        XOR     GR0,GR0         ; 積
+        AND     GR1,GR1         ; (GR1 = 0)の場合、終了
+        JZE     FIN             ; ↓
+        AND     GR2,GR2         ; (GR2 = 0)の場合、終了
+        JZE     FIN             ; ↓
+        LAD     GR3,1           ; 対象ビット
+        XOR     GR4,GR4         ; マイナスフラグ
+CHK1    AND     GR1,GR1         ; (GR1 > 0)の場合は、CHK2へジャンプ
+        JPL     CHK2            ; ↓
+        XOR     GR1,ALLON       ; GR1の正負を反転
+        ADDA    GR1,ONE         ; ↓
+        JOV     FIN             ; (GR1 = -32768)の場合は終了
+        XOR     GR4,ONE         ; GR4 <- 1
+CHK2    AND     GR2,GR2         ; (GR1 > 0)の場合は、LOOPへジャンプ
+        JPL     MUL             ; ↓
+        XOR     GR2,ALLON       ; GR2の正負を反転
+        ADDA    GR2,ONE         ; ↓
+        JOV     FIN             ; (GR2 = -32768)の場合は終了
+        XOR     GR4,ONE         ; マイナスフラグを反転
+MUL     CALL    MULL            ; GR0 <- GR1 * GR2
+        JOV     FIN
+        AND     GR0,GR0
+        JMI     OV
+MIN     AND     GR4,GR4         ; マイナスフラグがオフの場合、終了
+        JZE     FIN             ; ↓
+        XOR     GR0,ALLON       ; GR1の正負を反転
+        ADDA    GR0,ONE         ; ↓
+        JUMP    FIN
+OV      ADDL    GR0,=#8000
+FIN     RPOP
+        RET
+ONE     DC      1
+ALLON   DC      #FFFF
+        END
index eeaf6d0..6fa37b6 100644 (file)
@@ -7,7 +7,6 @@ LOOPX   CPA     GR3,XCNT
 LOOPY   CPA     GR4,YCNT
         JZE     XNEXT
         LD      GR2,Y,GR4
-        OUT     SEP,SLEN
         CALL    OUTA
         PUSH    0,GR1
         LD      GR1,GR2
@@ -19,7 +18,7 @@ LOOPY   CPA     GR4,YCNT
         LD      GR1,GR0
         CALL    OUTA
         POP     GR1
-YNEXT   OUT     SEP,SLEN        
+YNEXT   OUT     SEP,SLEN
         LAD     GR4,1,GR4
         JUMP    LOOPY
 WOV     OUT     YOMSG,YLEN
index 477e1a2..688826c 100644 (file)
@@ -1,7 +1,7 @@
 ;;; casl2 mula_call0.casl mula.casl outa.casl
 MAIN    START
-        LAD     GR1,20000
-        LAD     GR2,2
+        LAD     GR1,12
+        LAD     GR2,3
         CALL    MULA
         RET
         END
index e8eaa61..da362bd 100644 (file)
@@ -1,13 +1,13 @@
 ;;; casl2 mula_call0.casl mula.casl outa.casl
 MAIN    START
-        LAD     GR1,151
-        LAD     GR2,255
+        LAD     GR1,9
+        LAD     GR2,23
         CALL    MULA
         JOV     WAN
         LD      GR1,GR0
         CALL    OUTA
         JUMP    FIN
-WAN     OUT     MSG,MLEN        
+WAN     OUT     MSG,MLEN
 FIN     RET
 MSG     DC      'OF'
 MLEN    DC      2
index 86a6557..7de759b 100644 (file)
@@ -1,24 +1,31 @@
-;;; GR1の値とGR2の値の積をGR0に格納
+;;; 0〜65535の範囲にある正数のかけ算(筆算方式)を行う
+;;; 入力 GR1:被乗数 GR2:乗数
+;;; 出力 GR0:積
+;;; 積が65535より大きい場合は、GR0は積の下位16ビットになり、オーバーフロー
 MULL    START
-        RPUSH
+        PUSH    0,GR1
+        PUSH    0,GR3
         XOR     GR0,GR0         ; 積
-        LAD     GR4,1           ; 対象ビット
-LOOP    PUSH    0,GR4           ; ループ先頭。GR2の、GR4が示したビットが0の場合、NEXTへジャンプ
-        AND     GR4,GR2         ; ↓
-        POP     GR4             ; ↓
+        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             ; オーバーフローした場合、OVPへジャンプ
-NEXT    SLL     GR4,1           ; GR4を1回左シフト
-        AND     GR4,GR4         ; (GR4 = 0)の場合、ループ脱出
+        JOV     FIN             ; GR0がオーバーフローした場合、ループ脱出
+NEXT    SLL     GR3,1           ; GR3を1回左シフト
+        AND     GR3,GR3         ; (GR3 = 0)の場合、ループ脱出
         JZE     FIN             ; ↓
-        CPL     GR4,GR2         ; (GR4 > GR2)の場合、ループ脱出
+        CPL     GR3,GR2         ; (GR3 > GR2)の場合、ループ脱出
         JPL     FIN             ; ↓
         SLL     GR1,1           ; GR1を1回左シフト
-        JOV     FIN             ; オーバーフローした場合、ループ脱出
+        JOV     FIN             ; GR1がオーバーフローした場合、ループ脱出
         JUMP    LOOP            ; ループ終端
-OVP     ADDL    GR3,=1
-        JUMP    NEXT
-FIN     RPOP
+FIN     POP     GR3
+        POP     GR1
         RET
         END
index 26ab901..c69fa9c 100644 (file)
@@ -1,9 +1,41 @@
 ../../../../casl2 ../../../../as/FUNC/abs_call.casl ../../../../as/FUNC/abs.casl ../../../../as/FUNC/outa_main.casl ../../../../as/FUNC/divl1.casl ../../../../as/FUNC/rev.casl
+--------
 12
++
 12
+--------
+--------
+-12
+-
+12
+--------
+--------
+1
++
 1
+--------
+--------
+-1
+-
 1
+--------
+--------
+32767
++
 32767
+--------
+--------
+-32767
+-
 32767
+--------
+--------
 0
++
+0
+--------
+--------
+-32768
+OV
 -32768
+--------
index 2b13042..cdb1ede 100644 (file)
 ../../../../casl2 -M640 ../../../../as/FUNC/mula_call.casl ../../../../as/FUNC/mula0.casl ../../../../as/FUNC/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
 Warning: overflow
 --------------------
---------------------
 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
 Warning: overflow
 --------------------
---------------------
 -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
index ff3a1c7..d46221c 100644 (file)
 ../../../../casl2 -M640 ../../../../as/FUNC/mula_call.casl ../../../../as/FUNC/mula1.casl ../../../../as/FUNC/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
-Warning: overflow
---------------------
+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
-Warning: overflow
---------------------
+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/test/integration/casl2/mula2_call/0.txt b/test/integration/casl2/mula2_call/0.txt
new file mode 100644 (file)
index 0000000..9d528e4
--- /dev/null
@@ -0,0 +1,1937 @@
+../../../../casl2 -M640 ../../../../as/FUNC/mula_call.casl ../../../../as/FUNC/mula2.casl ../../../../as/FUNC/mull1.casl ../../../../as/FUNC/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/test/integration/casl2/mula2_call/Makefile b/test/integration/casl2/mula2_call/Makefile
new file mode 100644 (file)
index 0000000..ad9466b
--- /dev/null
@@ -0,0 +1,6 @@
+include ../CMD.mk    # YACASL2DIR, CASL2
+CASL2FLAG = -M640
+ASDIR = $(YACASL2DIR)/as/FUNC
+ASFILE = $(ASDIR)/mula_call.casl $(ASDIR)/mula2.casl $(ASDIR)/mull1.casl $(ASDIR)/outa.casl
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
index c5ec326..ee507fe 100644 (file)
@@ -1,9 +1,41 @@
 ../../../../comet2 a.o
+--------
 12
++
 12
+--------
+--------
+-12
+-
+12
+--------
+--------
+1
++
 1
+--------
+--------
+-1
+-
 1
+--------
+--------
+32767
++
 32767
+--------
+--------
+-32767
+-
 32767
+--------
+--------
 0
++
+0
+--------
+--------
+-32768
+OV
 -32768
+--------
index 37fdd82..2a88aaf 100644 (file)
Binary files a/test/integration/comet2/abs_call/a.o and b/test/integration/comet2/abs_call/a.o differ
index b27605d..72c2f64 100644 (file)
Binary files a/test/integration/comet2/divl1_call/a.o and b/test/integration/comet2/divl1_call/a.o differ
index 2b13042..cdb1ede 100644 (file)
 ../../../../casl2 -M640 ../../../../as/FUNC/mula_call.casl ../../../../as/FUNC/mula0.casl ../../../../as/FUNC/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
 Warning: overflow
 --------------------
---------------------
 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
 Warning: overflow
 --------------------
---------------------
 -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
index c028a20..2f211fb 100644 (file)
Binary files a/test/integration/comet2/mula0_call/a.o and b/test/integration/comet2/mula0_call/a.o differ
index 3b447a6..0c9ada3 100644 (file)
 ../../../../comet2 -M640 a.o
---------------------
 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
-Warning: overflow
---------------------
+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
-Warning: overflow
---------------------
+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
index 22940a4..fc49ccc 100644 (file)
Binary files a/test/integration/comet2/mula1_call/a.o and b/test/integration/comet2/mula1_call/a.o differ
diff --git a/test/integration/comet2/mula2_call/0.txt b/test/integration/comet2/mula2_call/0.txt
new file mode 100644 (file)
index 0000000..0c9ada3
--- /dev/null
@@ -0,0 +1,1937 @@
+../../../../comet2 -M640 a.o
+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/test/integration/comet2/mula2_call/Makefile b/test/integration/comet2/mula2_call/Makefile
new file mode 100644 (file)
index 0000000..cb5ed85
--- /dev/null
@@ -0,0 +1,7 @@
+include ../CMD.mk    # YACASL2DIR, CASL2
+CASL2FLAG = -M640
+ASDIR = $(YACASL2DIR)/as/FUNC
+ASFILE = $(ASDIR)/mula_call.casl $(ASDIR)/mula2.casl $(ASDIR)/mull1.casl $(ASDIR)/outa.casl
+COMET2FLAG = -M640
+CMD = $(COMET2) $(COMET2FLAG) $(OBJFILE)
+include ../TEST.mk
diff --git a/test/integration/comet2/mula2_call/a.o b/test/integration/comet2/mula2_call/a.o
new file mode 100644 (file)
index 0000000..cc874b1
Binary files /dev/null and b/test/integration/comet2/mula2_call/a.o differ
index e8865c1..ce01c57 100644 (file)
Binary files a/test/integration/comet2/mull1_call/a.o and b/test/integration/comet2/mull1_call/a.o differ