-l as/sample/sum_10.o
+l sum_10.o
d a 0 #18
t a
b a #7
-l as/sample/hello.o
+l hello.o
d a 0 #22
t a
c
-l as/sample/sum_10.o
+l sum_10.o
d a 0 #18
t a
c
-l as/sample/sum_10.o
+l sum_10.o
d
-l as/sample/sum_10.o
+l sum_10.o
d 0
-l as/sample/sum_10.o
+l sum_10.o
d 0 #20
-l as/sample/sum_10.o
+l sum_10.o
d 0 #20 #40
-l as/sample/sum_10.o
+l sum_10.o
d 0 +#20
-l as/sample/sum_10.o
+l sum_10.o
d
-l as/sample/hello.o
+l hello.o
d a 0 #22
r 0 #22
-;;; ADDA r1,r2
-MAIN START
-BEGIN LAD GR1,1
- LAD GR2,1
- LAD GR3,1
- LAD GR4,1
- LAD GR5,1
- LAD GR6,1
- LAD GR7,1
- LAD GR0,1
- ADDA GR1,GR1
- ADDA GR1,GR2
- ADDA GR1,GR3
- ADDA GR1,GR4
- ADDA GR1,GR5
- ADDA GR1,GR6
- ADDA GR1,GR7
- LAD GR1,1
- ADDA GR2,GR0
- ADDA GR2,GR1
- ADDA GR2,GR2
- ADDA GR2,GR3
- ADDA GR2,GR4
- ADDA GR2,GR5
- ADDA GR2,GR6
- ADDA GR2,GR7
- ADDA GR2,GR0
- LAD GR2,1
- ADDA GR3,GR1
- ADDA GR3,GR2
- ADDA GR3,GR3
- ADDA GR3,GR4
- ADDA GR3,GR5
- ADDA GR3,GR6
- ADDA GR3,GR7
- ADDA GR3,GR0
- LAD GR3,1
- ADDA GR4,GR1
- ADDA GR4,GR2
- ADDA GR4,GR3
- ADDA GR4,GR4
- ADDA GR4,GR5
- ADDA GR4,GR6
- ADDA GR4,GR7
- ADDA GR4,GR0
- LAD GR4,1
- ADDA GR5,GR1
- ADDA GR5,GR2
- ADDA GR5,GR3
- ADDA GR5,GR4
- ADDA GR5,GR5
- ADDA GR5,GR6
- ADDA GR5,GR7
- ADDA GR5,GR0
- LAD GR5,1
- ADDA GR6,GR1
- ADDA GR6,GR2
- ADDA GR6,GR3
- ADDA GR6,GR4
- ADDA GR6,GR5
- ADDA GR6,GR6
- ADDA GR6,GR7
- ADDA GR6,GR0
- LAD GR6,1
- ADDA GR7,GR1
- ADDA GR7,GR2
- ADDA GR7,GR3
- ADDA GR7,GR4
- ADDA GR7,GR5
- ADDA GR7,GR6
- ADDA GR7,GR7
- ADDA GR7,GR0
- LAD GR7,1
- ADDA GR0,GR1
- ADDA GR0,GR2
- ADDA GR0,GR3
- ADDA GR0,GR4
- ADDA GR0,GR5
- ADDA GR0,GR6
- ADDA GR0,GR7
- ADDA GR0,GR0
- RET
- END
Assemble ../../../../as/cmd/ADDA/adda_r1_r2.casl (0)
-cat ../../../../as/cmd/ADDA/adda_r1_r2.casl
../../../../casl2 -atd -M128 ../../../../as/cmd/ADDA/adda_r1_r2.casl
-;;; ADDA r,adr
-MAIN START
-BEGIN LD GR1,A
- ADDA GR1,B
- RET
-A DC 3
-B DC 1
- END
Assemble ../../../../as/cmd/ADDA/adda_r_adr.casl (0)
-cat ../../../../as/cmd/ADDA/adda_r_adr.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/ADDA/adda_r_adr.casl
-;;; ADDA r,adr オーバーフロー
-MAIN START
- LD GR1,A
- ADDA GR1,B
- RET
-A DC #8002 ; -32766
-B DC #8001 ; -32767
- END
Assemble ../../../../as/cmd/ADDA/adda_r_adr__o.casl (0)
-cat ../../../../as/cmd/ADDA/adda_r_adr__o.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/ADDA/adda_r_adr__o.casl
-;;; ADDA r,adr 演算結果が零
-MAIN START
- LD GR1,A
- ADDA GR1,B
- RET
-A DC 0
-B DC 0
- END
Assemble ../../../../as/cmd/ADDA/adda_r_adr__z.casl (0)
-cat ../../../../as/cmd/ADDA/adda_r_adr__z.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/ADDA/adda_r_adr__z.casl
-;;; ADDA r,adr 正数でオーバーフロー
-MAIN START
- LD GR1,A
- ADDA GR1,B
- RET
-A DC #7FFE ; 32766
-B DC #000A ; 10
- END
Assemble ../../../../as/cmd/ADDA/adda_r_adr__ao.casl (0)
-cat ../../../../as/cmd/ADDA/adda_r_adr__ao.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/ADDA/adda_r_adr__ao.casl
-;;; ADDA r,adr 演算結果が負数(r > adr)
-MAIN START
- LD GR1,A
- ADDA GR1,B
- RET
-A DC #000A ; 10
-B DC #FFEC ; -20
- END
Assemble ../../../../as/cmd/ADDA/adda_r_adr__as0.casl (0)
-cat ../../../../as/cmd/ADDA/adda_r_adr__as0.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/ADDA/adda_r_adr__as0.casl
-;;; ADDA r,adr 演算結果が負数(r < adr)
-MAIN START
- LD GR1,A
- ADDA GR1,B
- RET
-A DC #FFEC ; -20
-B DC #000A ; 10
- END
Assemble ../../../../as/cmd/ADDA/adda_r_adr__as1.casl (0)
-cat ../../../../as/cmd/ADDA/adda_r_adr__as1.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/ADDA/adda_r_adr__as1.casl
-;;; ADDA r,adr 演算結果が零
-MAIN START
- LD GR1,A
- ADDA GR1,B
- RET
-A DC #FFF6 ; -10
-B DC 10
- END
Assemble ../../../../as/cmd/ADDA/adda_r_adr__az.casl (0)
-cat ../../../../as/cmd/ADDA/adda_r_adr__az.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/ADDA/adda_r_adr__az.casl
-;;; ADDA r,adr ADDLではオーバーフロー
-MAIN START
- LD GR1,A
- ADDA GR1,B
- RET
-A DC #FFFE ; -2
-B DC #000F ; 15
- END
Assemble ../../../../as/cmd/ADDA/adda_r_adr__lo.casl (0)
-cat ../../../../as/cmd/ADDA/adda_r_adr__lo.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/ADDA/adda_r_adr__lo.casl
-;;; ADDA r,adr,x
-MAIN START
-BEGIN LD GR1,A
- LAD GR2,1
- ADDA GR1,A,GR2
- RET
-A DC 3
- DC 1
- END
Assemble ../../../../as/cmd/ADDA/adda_r_adr_x.casl (0)
-cat ../../../../as/cmd/ADDA/adda_r_adr_x.casl
../../../../casl2 -atd -M16 ../../../../as/cmd/ADDA/adda_r_adr_x.casl
-;;; ADDL r1,r2
-MAIN START
-BEGIN LD GR1,A
- LD GR2,B
- ADDL GR1,GR2
- RET
-A DC 3
-B DC 1
- END
Assemble ../../../../as/cmd/ADDL/addl_r1_r2.casl (0)
-cat ../../../../as/cmd/ADDL/addl_r1_r2.casl
../../../../casl2 -aTd -M16 ../../../../as/cmd/ADDL/addl_r1_r2.casl
-;;; ADDL r,adr
-MAIN START
- LD GR1,A
- ADDL GR1,B
- RET
-A DC 3
-B DC 1
- END
Assemble ../../../../as/cmd/ADDL/addl_r_adr.casl (0)
-cat ../../../../as/cmd/ADDL/addl_r_adr.casl
../../../../casl2 -aTd -M8 ../../../../as/cmd/ADDL/addl_r_adr.casl
-;;; ADDL r,adr ADDAでは正数でオーバーフロー
-MAIN START
- LD GR1,A
- ADDL GR1,B
- RET
-A DC #7FFE ; 32766
-B DC #000A ; 10
- END
Assemble ../../../../as/cmd/ADDL/addl_r_adr__ao.casl (0)
-cat ../../../../as/cmd/ADDL/addl_r_adr__ao.casl
../../../../casl2 -aTd -M8 ../../../../as/cmd/ADDL/addl_r_adr__ao.casl
-;;; ADDL r,adr 演算結果が負数(r > adr)
-MAIN START
- LD GR1,A
- ADDL GR1,B
- RET
-A DC #000A ; 10
-B DC #FFEC ; -20
- END
Assemble ../../../../as/cmd/ADDL/addl_r_adr__as0.casl (0)
-cat ../../../../as/cmd/ADDL/addl_r_adr__as0.casl
../../../../casl2 -aTd -M8 ../../../../as/cmd/ADDL/addl_r_adr__as0.casl
-;;; ADDL r,adr
-MAIN START
- LD GR1,A
- ADDL GR1,B
- RET
-A DC #FFEC ; 65516
-B DC #000A ; 10
- END
Assemble ../../../../as/cmd/ADDL/addl_r_adr__as1.casl (0)
-cat ../../../../as/cmd/ADDL/addl_r_adr__as1.casl
../../../../casl2 -aTd -M8 ../../../../as/cmd/ADDL/addl_r_adr__as1.casl
-;;; ADDL r,adr ADDAでは演算結果が零
-MAIN START
- LD GR1,A
- ADDL GR1,B
- RET
-A DC #FFF6 ; 65526
-B DC 10
- END
Assemble ../../../../as/cmd/ADDL/addl_r_adr__az.casl (0)
-cat ../../../../as/cmd/ADDL/addl_r_adr__az.casl
../../../../casl2 -aTd -M8 ../../../../as/cmd/ADDL/addl_r_adr__az.casl
-;;; ADDL r,adr ADDLではオーバーフロー
-MAIN START
- LD GR1,A
- ADDL GR1,B
- RET
-A DC #FFFE ; -2
-B DC #000F ; 15
- END
Assemble ../../../../as/cmd/ADDL/addl_r_adr__lo.casl (0)
-cat ../../../../as/cmd/ADDL/addl_r_adr__lo.casl
../../../../casl2 -aTd -M8 ../../../../as/cmd/ADDL/addl_r_adr__lo.casl
-;;; ADDL r,adr オーバーフロー
-MAIN START
- LD GR1,A
- ADDL GR1,B
- RET
-A DC #8002 ; 32770
-B DC #8001 ; 32769
- END
Assemble ../../../../as/cmd/ADDL/addl_r_adr__o.casl (0)
-cat ../../../../as/cmd/ADDL/addl_r_adr__o.casl
../../../../casl2 -aTd -M8 ../../../../as/cmd/ADDL/addl_r_adr__o.casl
-;;; ADDL r,adr 演算結果が零
-MAIN START
- LD GR1,A
- ADDL GR1,B
- RET
-A DC 0
-B DC 0
- END
Assemble ../../../../as/cmd/ADDL/addl_r_adr__z.casl (0)
-cat ../../../../as/cmd/ADDL/addl_r_adr__z.casl
../../../../casl2 -aTd -M8 ../../../../as/cmd/ADDL/addl_r_adr__z.casl
-;;; AND r1,r2
-MAIN START
- LD GR1,A
- LD GR2,B
- AND GR1,GR2
- RET
-A DC #3000
-B DC #4FFF
- END
Assemble ../../../../as/cmd/AND/and_r1_r2.casl (0)
-cat ../../../../as/cmd/AND/and_r1_r2.casl
../../../../casl2 -atd -M16 ../../../../as/cmd/AND/and_r1_r2.casl
-;;; AND r,adr
-MAIN START
- LD GR1,A
- AND GR1,B
- RET
-A DC #3000
-B DC #4FFF
- END
Assemble ../../../../as/cmd/AND/and_r_adr.casl (0)
-cat ../../../../as/cmd/AND/and_r_adr.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/AND/and_r_adr.casl
-;;; AND r,adr 演算結果の符号が負
-MAIN START
- LD GR1,A
- AND GR1,B
- RET
-A DC #8000
-B DC #FFFF
- END
Assemble ../../../../as/cmd/AND/and_r_adr__s.casl (0)
-cat ../../../../as/cmd/AND/and_r_adr__s.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/AND/and_r_adr__s.casl
-;;; AND r,adr 演算結果が零
-MAIN START
- LD GR1,A
- AND GR1,B
- RET
-A DC #0001
-B DC #FFFE
- END
Assemble ../../../../as/cmd/AND/and_r_adr__z.casl (0)
-cat ../../../../as/cmd/AND/and_r_adr__z.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/AND/and_r_adr__z.casl
-;;; AND r,adr,x
-MAIN START
- LD GR1,A
- LAD GR2,1
- AND GR1,A,GR2
- RET
-A DC #3000
- DC #4FFF
- END
Assemble ../../../../as/cmd/AND/and_r_adr_x.casl (0)
-cat ../../../../as/cmd/AND/and_r_adr_x.casl
../../../../casl2 -atd -M16 ../../../../as/cmd/AND/and_r_adr_x.casl
-;;; CALL
-;;; 同じプログラムの中とほかのプログラムの入口名の両方で定義されたラベルを指定
-;;; YACASL2では、ほかのプログラムの入口名を優先
-MAIN START BEGIN
-BEGIN LAD GR1,29
- CALL COPY
- RET
-COPY LD GR2,GR1
- RET
- END
-COPY START
- LD GR2,GR1
- RET
- END
Assemble ../../../../as/cmd/CALL/call__both.casl (0)
-cat ../../../../as/cmd/CALL/call__both.casl
../../../../casl2 -atd -M16 ../../../../as/cmd/CALL/call__both.casl
-;;; CALL 同じプログラムの中にあるラベルを指定
-MAIN START BEGIN
-BEGIN LAD GR1,29
- CALL COPY
- RET
-COPY LD GR2,GR1
- RET
- END
Assemble ../../../../as/cmd/CALL/call__inner.casl (0)
-cat ../../../../as/cmd/CALL/call__inner.casl
../../../../casl2 -atd -M16 ../../../../as/cmd/CALL/call__inner.casl
-;;; CALL ほかのプログラムの入口名を指定
-MAIN START
- LAD GR1,29
- CALL COPY
- RET
- END
-COPY START
- LD GR2,GR1
- RET
- END
Assemble ../../../../as/cmd/CALL/call__outer.casl (0)
-cat ../../../../as/cmd/CALL/call__outer.casl
../../../../casl2 -atd -M16 ../../../../as/cmd/CALL/call__outer.casl
-;;; CPA r1,r2 SF:1
-MAIN START BEGIN
-BEGIN LD GR1,A
- LD GR2,B
- CPA GR1,GR2
- RET
-A DC #5000
-B DC #7000
- END
Assemble ../../../../as/cmd/CPA/cpa_r1_r2__s.casl (0)
-cat ../../../../as/cmd/CPA/cpa_r1_r2__s.casl
../../../../casl2 -atd -M16 ../../../../as/cmd/CPA/cpa_r1_r2__s.casl
-;;; CPA r,adr
-MAIN START BEGIN
-BEGIN LD GR1,A
- CPA GR1,B
- RET
-A DC #5000
-B DC #3000
- END
Assemble ../../../../as/cmd/CPA/cpa_r_adr.casl (0)
-cat ../../../../as/cmd/CPA/cpa_r_adr.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/CPA/cpa_r_adr.casl
-;;; CPA r,adr
-MAIN START BEGIN
-BEGIN LD GR1,A
- CPA GR1,B
- RET
-A DC #5000
-B DC #8000
- END
Assemble ../../../../as/cmd/CPA/cpa_r_adr__ls.casl (0)
-cat ../../../../as/cmd/CPA/cpa_r_adr__ls.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/CPA/cpa_r_adr__ls.casl
-;;; CPA r,adr SF:1
-MAIN START BEGIN
-BEGIN LD GR1,A
- CPA GR1,B
- RET
-A DC #5000
-B DC #7000
- END
Assemble ../../../../as/cmd/CPA/cpa_r_adr__s.casl (0)
-cat ../../../../as/cmd/CPA/cpa_r_adr__s.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/CPA/cpa_r_adr__s.casl
-;;; CPA r,adr ZF:0
-MAIN START BEGIN
-BEGIN LD GR1,A
- CPA GR1,B
- RET
-A DC #5000
-B DC #5000
- END
Assemble ../../../../as/cmd/CPA/cpa_r_adr__z.casl (0)
-cat ../../../../as/cmd/CPA/cpa_r_adr__z.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/CPA/cpa_r_adr__z.casl
-;;; CPA r,adr,x SF:1
-MAIN START BEGIN
-BEGIN LD GR1,A
- LAD GR2,1
- CPA GR1,A,GR2
- RET
-A DC #5000
- DC #7000
- END
Assemble ../../../../as/cmd/CPA/cpa_r_adr_x__s.casl (0)
-cat ../../../../as/cmd/CPA/cpa_r_adr_x__s.casl
../../../../casl2 -atd -M16 ../../../../as/cmd/CPA/cpa_r_adr_x__s.casl
-;;; CPL r1,r2 SF:1
-MAIN START BEGIN
-BEGIN LD GR1,A
- LD GR2,B
- CPL GR1,GR2
- RET
-A DC #5000
-B DC #7000
- END
Assemble ../../../../as/cmd/CPL/cpl_r1_r2__s.casl (0)
-cat ../../../../as/cmd/CPL/cpl_r1_r2__s.casl
../../../../casl2 -aTd -M16 ../../../../as/cmd/CPL/cpl_r1_r2__s.casl
-;;; CPL r,adr
-MAIN START BEGIN
-BEGIN LD GR1,A
- CPL GR1,B
- RET
-A DC #5000
-B DC #3000
- END
Assemble ../../../../as/cmd/CPL/cpl_r_adr.casl (0)
-cat ../../../../as/cmd/CPL/cpl_r_adr.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/CPL/cpl_r_adr.casl
-;;; CPL r,adr
-MAIN START BEGIN
-BEGIN LD GR1,A
- CPL GR1,B
- RET
-A DC #5000
-B DC #8000
- END
Assemble ../../../../as/cmd/CPL/cpl_r_adr__ls.casl (0)
-cat ../../../../as/cmd/CPL/cpl_r_adr__ls.casl
../../../../casl2 -aTd -M8 ../../../../as/cmd/CPL/cpl_r_adr__ls.casl
-;;; CPL r,adr SF:1
-MAIN START BEGIN
-BEGIN LD GR1,A
- CPL GR1,B
- RET
-A DC #5000
-B DC #7000
- END
Assemble ../../../../as/cmd/CPL/cpl_r_adr__s.casl (0)
-cat ../../../../as/cmd/CPL/cpl_r_adr__s.casl
../../../../casl2 -aTd -M8 ../../../../as/cmd/CPL/cpl_r_adr__s.casl
-;;; CPL r,adr ZF:0
-MAIN START BEGIN
-BEGIN LD GR1,A
- CPL GR1,B
- RET
-A DC #5000
-B DC #5000
- END
Assemble ../../../../as/cmd/CPL/cpl_r_adr__z.casl (0)
-cat ../../../../as/cmd/CPL/cpl_r_adr__z.casl
../../../../casl2 -aTd -M8 ../../../../as/cmd/CPL/cpl_r_adr__z.casl
-;;; CPL r,adr,x SF:1
-MAIN START BEGIN
-BEGIN LD GR1,A
- LAD GR2,1
- CPL GR1,A,GR2
- RET
-A DC #5000
- DC #7000
- END
Assemble ../../../../as/cmd/CPL/cpl_r_adr_x__s.casl (0)
-cat ../../../../as/cmd/CPL/cpl_r_adr_x__s.casl
../../../../casl2 -aTd -M16 ../../../../as/cmd/CPL/cpl_r_adr_x__s.casl
-;; DC 文字定数
-MAIN START
- RET
- DC ' '
- DC '!'
- DC '"'
- DC '#'
- DC '$'
- DC '%'
- DC '&'
- DC ''''
- DC '('
- DC ')'
- DC '*'
- DC '+'
- DC ','
- DC '-'
- DC '.'
- DC '/'
- DC '0'
- DC '1'
- DC '2'
- DC '3'
- DC '4'
- DC '5'
- DC '6'
- DC '7'
- DC '8'
- DC '9'
- DC ':'
- DC ';'
- DC '<'
- DC '='
- DC '>'
- DC '?'
- DC '@'
- DC 'A'
- DC 'B'
- DC 'C'
- DC 'D'
- DC 'E'
- DC 'F'
- DC 'G'
- DC 'H'
- DC 'I'
- DC 'J'
- DC 'K'
- DC 'L'
- DC 'M'
- DC 'N'
- DC 'O'
- DC 'P'
- DC 'Q'
- DC 'R'
- DC 'S'
- DC 'T'
- DC 'U'
- DC 'V'
- DC 'W'
- DC 'X'
- DC 'Y'
- DC 'Z'
- DC '['
- DC '\'
- DC ']'
- DC '^'
- DC '_'
- DC 'a'
- DC 'b'
- DC 'c'
- DC 'd'
- DC 'e'
- DC 'f'
- DC 'g'
- DC 'h'
- DC 'i'
- DC 'j'
- DC 'k'
- DC 'l'
- DC 'm'
- DC 'n'
- DC 'o'
- DC 'p'
- DC 'q'
- DC 'r'
- DC 's'
- DC 't'
- DC 'u'
- DC 'v'
- DC 'w'
- DC 'x'
- DC 'y'
- DC 'z'
- DC '{'
- DC '|'
- DC '}'
- DC '~'
- END
Assemble ../../../../as/cmd/DC/dc__c0.casl (0)
-cat ../../../../as/cmd/DC/dc__c0.casl
../../../../casl2 -atd -M128 ../../../../as/cmd/DC/dc__c0.casl
-;; DC 文字定数
-MAIN START
- RET
- DC ' !"#$%&''()*+,-./0123456789:;<=>?@ABCDEFG'
- DC 'GHIJKLMNOPQRSTUVWXYZ[\]^_abcdefghijklmno'
- DC 'pqrstuvwxyz{|}~'
- END
Assemble ../../../../as/cmd/DC/dc__c1.casl (0)
-cat ../../../../as/cmd/DC/dc__c1.casl
../../../../casl2 -atd -M128 ../../../../as/cmd/DC/dc__c1.casl
-;; DC 10進定数/16進定数
-MAIN START
- RET
- DC 0
- DC 1
- DC 10
- DC 32767
- DC 32768
- DC 65535
- DC 65536
- DC 65537
- DC -1
- DC -10
- DC -32767
- DC -32768
- DC -32769
- DC #0
- DC #1
- DC #01
- DC #001
- DC #0001
- DC #10
- DC #11
- DC #F
- DC #000F
- DC #FFFF
- END
Assemble ../../../../as/cmd/DC/dc__i0.casl (0)
-cat ../../../../as/cmd/DC/dc__i0.casl
../../../../casl2 -atd -M32 ../../../../as/cmd/DC/dc__i0.casl
-;; DC 10進定数/16進定数
-MAIN START
- RET
- DC 1,10,32767,32768,65535,65536,65537,-1,-10,-32767,-32768,-32769,#0,#1,#01,#001,#0001,#10,#11,#F,#000F,#FFFF
- END
Assemble ../../../../as/cmd/DC/dc__i1.casl (0)
-cat ../../../../as/cmd/DC/dc__i1.casl
../../../../casl2 -atd -M32 ../../../../as/cmd/DC/dc__i1.casl
-;; DC -32768〜32768の範囲にない10進数値
-MAIN START
- RET
- DC 32767
- DC 32768
- DC 65535
- DC 65536
- DC 131073 ; 65536 * 2 + 1
- DC -32768
- DC -32769
- DC -65535
- DC -65536
- DC -131073 ; -65536 * 2 - 1
- END
Assemble ../../../../as/cmd/DC/dc__io.casl (0)
-cat ../../../../as/cmd/DC/dc__io.casl
../../../../casl2 -atd -M32 ../../../../as/cmd/DC/dc__io.casl
-;;; DS
-MAIN START
- LAD GR1,A
- LAD GR1,B
- LAD GR1,C
- LAD GR1,D
- LAD GR1,E
- RET
-A DS 1
-B DS 2
-C DS 4
-D DS 0
-E DC #FFFF
- END
Assemble ../../../../as/cmd/DS/ds.casl (0)
-cat ../../../../as/cmd/DS/ds.casl
../../../../casl2 -atd -M32 ../../../../as/cmd/DS/ds.casl
-;; 「DS 0」を指定したプログラム例
-MAIN START
- LD GR1,A
- LD GR2,B
- RET
-A DS 0
-B DC 15
- END
Assemble ../../../../as/cmd/DS/ds__0.casl (0)
-cat ../../../../as/cmd/DS/ds__0.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/DS/ds__0.casl
-;;; IN IBUF,ILEN
-MAIN START
-LOOP IN IBUF,ILEN
-FIN RET
-IBUF DS 20
-ILEN DS 1
- END
-aaa
Assemble ../../../../as/cmd/IN/in.casl (0)
-cat ../../../../as/cmd/IN/in.casl teststr.txt
../../../../casl2 -atd -M64 ../../../../as/cmd/IN/in.casl <teststr.txt
-;;; JMI adr OF:0/SF:1/ZF:0
-MAIN START
- LD GR1,A
- AND GR1,GR1
- JMI TO
- LAD GR1,0
- JUMP FIN
-TO LAD GR1,#FFFF
-FIN RET
-A DC -1
- END
Assemble ../../../../as/cmd/JMI/jmi__m.casl (0)
-cat ../../../../as/cmd/JMI/jmi__m.casl
../../../../casl2 -atd -M16 ../../../../as/cmd/JMI/jmi__m.casl
-;;; JMI adr OF:1/SF:0/ZF:0
-MAIN START
- LD GR1,A
- SRL GR1,1
- JMI TO
- LAD GR1,0
- JUMP FIN
-TO LAD GR1,#FFFF
-FIN RET
-A DC #0003
- END
Assemble ../../../../as/cmd/JMI/jmi__o.casl (0)
-cat ../../../../as/cmd/JMI/jmi__o.casl
../../../../casl2 -atd -M16 ../../../../as/cmd/JMI/jmi__o.casl
-;;; JMI adr OF:0/SF:1/ZF:0
-MAIN START
- LD GR1,A
- AND GR1,GR1
- JMI TO
- LAD GR1,0
- JUMP FIN
-TO LAD GR1,#FFFF
-FIN RET
-A DC 1
- END
Assemble ../../../../as/cmd/JMI/jmi__p.casl (0)
-cat ../../../../as/cmd/JMI/jmi__p.casl
../../../../casl2 -atd -M16 ../../../../as/cmd/JMI/jmi__p.casl
-;;; JMI OF:0/SF:0/ZF:1
-MAIN START
- LD GR1,A
- AND GR1,GR1
- JMI TO
- LAD GR1,0
- JUMP FIN
-TO LAD GR1,#FFFF
-FIN RET
-A DC 0
- END
Assemble ../../../../as/cmd/JMI/jmi__z.casl (0)
-cat ../../../../as/cmd/JMI/jmi__z.casl
../../../../casl2 -atd -M16 ../../../../as/cmd/JMI/jmi__z.casl
-;;; JNZ adr OF:0/SF:1/ZF:0
-MAIN START
- LD GR1,A
- AND GR1,GR1
- JNZ TO
- LAD GR1,0
- JUMP FIN
-TO LAD GR1,#FFFF
-FIN RET
-A DC -1
- END
Assemble ../../../../as/cmd/JNZ/jnz__m.casl (0)
-cat ../../../../as/cmd/JNZ/jnz__m.casl
../../../../casl2 -atd -M16 ../../../../as/cmd/JNZ/jnz__m.casl
-;;; JNZ adr OF:1/SF:0/ZF:0
-MAIN START
- LD GR1,A
- SRL GR1,1
- JNZ TO
- LAD GR1,0
- JUMP FIN
-TO LAD GR1,#FFFF
-FIN RET
-A DC #0003
- END
Assemble ../../../../as/cmd/JNZ/jnz__o.casl (0)
-cat ../../../../as/cmd/JNZ/jnz__o.casl
../../../../casl2 -atd -M16 ../../../../as/cmd/JNZ/jnz__o.casl
-;;; JNZ adr OF:0/SF:0/ZF:0
-MAIN START
- LD GR1,A
- AND GR1,GR1
- JNZ TO
- LAD GR1,0
- JUMP FIN
-TO LAD GR1,#FFFF
-FIN RET
-A DC 1
- END
Assemble ../../../../as/cmd/JNZ/jnz__p.casl (0)
-cat ../../../../as/cmd/JNZ/jnz__p.casl
../../../../casl2 -atd -M16 ../../../../as/cmd/JNZ/jnz__p.casl
-;;; JNZ adr OF:0/SF:0/ZF:1
-MAIN START
- LD GR1,A
- AND GR1,GR1
- JNZ TO
- LAD GR1,0
- JUMP FIN
-TO LAD GR1,#FFFF
-FIN RET
-A DC 0
- END
Assemble ../../../../as/cmd/JNZ/jnz__z.casl (0)
-cat ../../../../as/cmd/JNZ/jnz__z.casl
../../../../casl2 -atd -M16 ../../../../as/cmd/JNZ/jnz__z.casl
-;;; JOV OF:0/SF:1/ZF:0
-MAIN START
- LD GR1,A
- AND GR1,GR1
- JOV TO
- LAD GR1,0
- JUMP FIN
-TO LAD GR1,#FFFF
-FIN RET
-A DC -1
- END
Assemble ../../../../as/cmd/JOV/jov__m.casl (0)
-cat ../../../../as/cmd/JOV/jov__m.casl
../../../../casl2 -atd -M16 ../../../../as/cmd/JOV/jov__m.casl
-;;; JOV OF:0/SF:1/ZF:1
-MAIN START
- LD GR1,A
- SRL GR1,1
- JOV TO
- LAD GR1,0
- JUMP FIN
-TO LAD GR1,#FFFF
-FIN RET
-A DC #0003
- END
Assemble ../../../../as/cmd/JOV/jov__o.casl (0)
-cat ../../../../as/cmd/JOV/jov__o.casl
../../../../casl2 -atd -M16 ../../../../as/cmd/JOV/jov__o.casl
-;;; JOV OF:0/SF:0/ZF:0
-MAIN START
- LD GR1,A
- AND GR1,GR1
- JOV TO
- LAD GR1,0
- JUMP FIN
-TO LAD GR1,#FFFF
-FIN RET
-A DC 1
- END
Assemble ../../../../as/cmd/JOV/jov__p.casl (0)
-cat ../../../../as/cmd/JOV/jov__p.casl
../../../../casl2 -atd -M16 ../../../../as/cmd/JOV/jov__p.casl
-;;; JOV OF:0/SF:0/ZF:1
-MAIN START
- LD GR1,A
- AND GR1,GR1
- JOV TO
- LAD GR1,0
- JUMP FIN
-TO LAD GR1,#FFFF
-FIN RET
-A DC 0
- END
Assemble ../../../../as/cmd/JOV/jov__z.casl (0)
-cat ../../../../as/cmd/JOV/jov__z.casl
../../../../casl2 -atd -M16 ../../../../as/cmd/JOV/jov__z.casl
-;;;JPL adr OF:0/SF:1/ZF:0
-MAIN START
- LD GR1,A
- AND GR1,GR1
- JPL TO
- LAD GR1,0
- JUMP FIN
-TO LAD GR1,#FFFF
-FIN RET
-A DC -1
- END
Assemble ../../../../as/cmd/JPL/jpl__m.casl (0)
-cat ../../../../as/cmd/JPL/jpl__m.casl
../../../../casl2 -aTd -M16 ../../../../as/cmd/JPL/jpl__m.casl
-;;;JPL adr OF:1/SF:0/ZF:0
-MAIN START
- LD GR1,A
- SRL GR1,1
- JPL TO
- LAD GR1,0
- JUMP FIN
-TO LAD GR1,#FFFF
-FIN RET
-A DC #0003
- END
Assemble ../../../../as/cmd/JPL/jpl__o.casl (0)
-cat ../../../../as/cmd/JPL/jpl__o.casl
../../../../casl2 -aTd -M16 ../../../../as/cmd/JPL/jpl__o.casl
-;;;JPL adr OF:0/SF:0/ZF:0
-MAIN START
- LD GR1,A
- AND GR1,GR1
- JPL TO
- LAD GR1,0
- JUMP FIN
-TO LAD GR1,#FFFF
-FIN RET
-A DC 1
- END
Assemble ../../../../as/cmd/JPL/jpl__p.casl (0)
-cat ../../../../as/cmd/JPL/jpl__p.casl
../../../../casl2 -aTd -M16 ../../../../as/cmd/JPL/jpl__p.casl
-;;;JPL adr OF:0/SF:0/ZF:1
-MAIN START
- LD GR1,A
- AND GR1,GR1
- JPL TO
- LAD GR1,0
- JUMP FIN
-TO LAD GR1,#FFFF
-FIN RET
-A DC 0
- END
Assemble ../../../../as/cmd/JPL/jpl__z.casl (0)
-cat ../../../../as/cmd/JPL/jpl__z.casl
../../../../casl2 -aTd -M16 ../../../../as/cmd/JPL/jpl__z.casl
-;;; JUMP adr OF:0/SF:1/ZF:0
-MAIN START
- LD GR1,A
- AND GR1,GR1
- JUMP TO
- LAD GR1,0
- JUMP FIN
-TO LAD GR1,#FFFF
-FIN RET
-A DC -1
- END
Assemble ../../../../as/cmd/JUMP/jump__m.casl (0)
-cat ../../../../as/cmd/JUMP/jump__m.casl
../../../../casl2 -atd -M16 ../../../../as/cmd/JUMP/jump__m.casl
-;;; JUMP adr OF:0/SF:0/ZF:1
-MAIN START
- LD GR1,A
- SRL GR1,1
- JUMP TO
- LAD GR1,0
- JUMP FIN
-TO LAD GR1,#FFFF
-FIN RET
-A DC #0003
- END
Assemble ../../../../as/cmd/JUMP/jump__o.casl (0)
-cat ../../../../as/cmd/JUMP/jump__o.casl
../../../../casl2 -atd -M16 ../../../../as/cmd/JUMP/jump__o.casl
-;;;JUMP adr OF:0/SF:0/ZF:0
-MAIN START
- LD GR1,A
- AND GR1,GR1
- JUMP TO
- LAD GR1,0
- JUMP FIN
-TO LAD GR1,#FFFF
-FIN RET
-A DC 1
- END
Assemble ../../../../as/cmd/JUMP/jump__p.casl (0)
-cat ../../../../as/cmd/JUMP/jump__p.casl
../../../../casl2 -atd -M16 ../../../../as/cmd/JUMP/jump__p.casl
-;;;JUMP adr OF:0/SF:0/ZF:1
-MAIN START
- LD GR1,A
- AND GR1,GR1
- JUMP TO
- LAD GR1,0
- JUMP FIN
-TO LAD GR1,#FFFF
-FIN RET
-A DC 0
- END
Assemble ../../../../as/cmd/JUMP/jump__z.casl (0)
-cat ../../../../as/cmd/JUMP/jump__z.casl
../../../../casl2 -atd -M16 ../../../../as/cmd/JUMP/jump__z.casl
-;;; JZE adr OF:0/SF:1/ZF:0
-MAIN START
- LD GR1,A
- AND GR1,GR1
- JZE TO
- LAD GR1,0
- JUMP FIN
-TO LAD GR1,#FFFF
-FIN RET
-A DC -1
- END
Assemble ../../../../as/cmd/JZE/jze__m.casl (0)
-cat ../../../../as/cmd/JZE/jze__m.casl
../../../../casl2 -atd -M16 ../../../../as/cmd/JZE/jze__m.casl
-;;; JZE adr OF:1/SF:0/ZF:0
-MAIN START
- LD GR1,A
- SRL GR1,1
- JZE TO
- LAD GR1,0
- JUMP FIN
-TO LAD GR1,#FFFF
-FIN RET
-A DC #0003
- END
Assemble ../../../../as/cmd/JZE/jze__o.casl (0)
-cat ../../../../as/cmd/JZE/jze__o.casl
../../../../casl2 -atd -M16 ../../../../as/cmd/JZE/jze__o.casl
-;;; JZE adr OF:0/SF:0/ZF:0
-MAIN START
- LD GR1,A
- AND GR1,GR1
- JZE TO
- LAD GR1,0
- JUMP FIN
-TO LAD GR1,#FFFF
-FIN RET
-A DC 1
- END
Assemble ../../../../as/cmd/JZE/jze__p.casl (0)
-cat ../../../../as/cmd/JZE/jze__p.casl
../../../../casl2 -atd -M16 ../../../../as/cmd/JZE/jze__p.casl
-;;; JZE adr OF:0/SF:0/ZF:1
-MAIN START
- LD GR1,A
- AND GR1,GR1
- JZE TO
- LAD GR1,0
- JUMP FIN
-TO LAD GR1,#FFFF
-FIN RET
-A DC 0
- END
Assemble ../../../../as/cmd/JZE/jze__z.casl (0)
-cat ../../../../as/cmd/JZE/jze__z.casl
../../../../casl2 -atd -M16 ../../../../as/cmd/JZE/jze__z.casl
-;;; LAD r,adr
-LAD START
- LAD GR1,5
- RET
- END
Assemble ../../../../as/cmd/LAD/lad_r_adr.casl (0)
-cat ../../../../as/cmd/LAD/lad_r_adr.casl
../../../../casl2 -atd -M16 ../../../../as/cmd/LAD/lad_r_adr.casl
-;;; LAD r,adr,x
-MAIN START
- LD GR1,A
- LAD GR1,1,GR1
- RET
-A DC 3
- END
Assemble ../../../../as/cmd/LAD/lad_r_adr_x.casl (0)
-cat ../../../../as/cmd/LAD/lad_r_adr_x.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/LAD/lad_r_adr_x.casl
-LAD1 START
- LAD GR1,10
- LAD GR1,65534,GR1
- RET
- END
Assemble ../../../../as/cmd/LAD/lad_r_adr_x__o.casl (0)
-cat ../../../../as/cmd/LAD/lad_r_adr_x__o.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/LAD/lad_r_adr_x__o.casl
-;;; LAD r,adr,x
-MAIN START
- LD GR1,A
- LAD GR1,-1,GR1
- RET
-A DC 3
- END
Assemble ../../../../as/cmd/LAD/lad_r_adr_x__s.casl (0)
-cat ../../../../as/cmd/LAD/lad_r_adr_x__s.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/LAD/lad_r_adr_x__s.casl
-MAIN START
- LAD GR1,A
- LD GR0,0,GR1
- LD GR2,2,GR1
- LD GR3,3,GR1
- LD GR4,4,GR1
- LD GR5,5,GR1
- LD GR6,6,GR1
- LD GR7,7,GR1
- LD GR1,1,GR1
- RET
-A DC 2,3,5,7,11,13,17,19
- END
Assemble ../../../../as/cmd/LD/ld_r1_r2.casl (0)
-cat ../../../../as/cmd/LD/ld_r1_r2.casl
../../../../casl2 -atd -M32 ../../../../as/cmd/LD/ld_r1_r2.casl
-MAIN START
- LD GR0,A
- LD GR0,B
- LD GR0,C
- RET
-A DC 7
-B DC -7
-C DC 0
- END
Assemble ../../../../as/cmd/LD/ld_r_adr.casl (0)
-cat ../../../../as/cmd/LD/ld_r_adr.casl
../../../../casl2 -atd -M16 ../../../../as/cmd/LD/ld_r_adr.casl
-;;; LD r,adr
-MAIN START
- LD GR1,='"'
- LD GR1,='#'
- LD GR1,='$'
- LD GR1,='%'
- LD GR1,='&'
- LD GR1,=''''
- LD GR1,='('
- LD GR1,=')'
- LD GR1,='*'
- LD GR1,='+'
- LD GR1,=','
- LD GR1,='-'
- LD GR1,='.'
- LD GR1,='/'
- LD GR1,='0'
- LD GR1,='1'
- LD GR1,='2'
- LD GR1,='3'
- LD GR1,='4'
- LD GR1,='5'
- LD GR1,='6'
- LD GR1,='7'
- LD GR1,='8'
- LD GR1,='9'
- LD GR1,=':'
- LD GR1,=';'
- LD GR1,='<'
- LD GR1,='='
- LD GR1,='>'
- LD GR1,='?'
- LD GR1,='@'
- LD GR1,='A'
- LD GR1,='B'
- LD GR1,='C'
- LD GR1,='D'
- LD GR1,='E'
- LD GR1,='F'
- LD GR1,='G'
- LD GR1,='H'
- LD GR1,='I'
- LD GR1,='J'
- LD GR1,='K'
- LD GR1,='L'
- LD GR1,='M'
- LD GR1,='N'
- LD GR1,='O'
- LD GR1,='P'
- LD GR1,='Q'
- LD GR1,='R'
- LD GR1,='S'
- LD GR1,='T'
- LD GR1,='U'
- LD GR1,='V'
- LD GR1,='W'
- LD GR1,='X'
- LD GR1,='Y'
- LD GR1,='Z'
- LD GR1,='['
- LD GR1,='\'
- LD GR1,=']'
- LD GR1,='^'
- LD GR1,='_'
- LD GR1,='`'
- LD GR1,='a'
- LD GR1,='b'
- LD GR1,='c'
- LD GR1,='d'
- LD GR1,='e'
- LD GR1,='f'
- LD GR1,='g'
- LD GR1,='h'
- LD GR1,='i'
- LD GR1,='j'
- LD GR1,='k'
- LD GR1,='l'
- LD GR1,='m'
- LD GR1,='n'
- LD GR1,='o'
- LD GR1,='p'
- LD GR1,='q'
- LD GR1,='r'
- LD GR1,='s'
- LD GR1,='t'
- LD GR1,='u'
- LD GR1,='v'
- LD GR1,='w'
- LD GR1,='x'
- LD GR1,='y'
- LD GR1,='z'
- LD GR1,='{'
- LD GR1,='|'
- LD GR1,='}'
- LD GR1,='~'
- RET
- END
Assemble ../../../../as/cmd/LD/ld_r_adr__l.casl (0)
-cat ../../../../as/cmd/LD/ld_r_adr__l.casl
../../../../casl2 -atd ../../../../as/cmd/LD/ld_r_adr__l.casl
-MAIN START
- LAD GR1,#FFFF
- LD GR2,GR1
- LD GR3,GR1
- LD GR4,GR1
- LD GR5,GR1
- LD GR6,GR1
- LD GR7,GR1
- LD GR0,GR1
- LD GR1,GR1
- LAD GR2,#FFFE
- LD GR2,GR2
- LD GR3,GR2
- LD GR4,GR2
- LD GR5,GR2
- LD GR6,GR2
- LD GR7,GR2
- LD GR0,GR2
- LD GR1,GR2
- LAD GR3,#FFFE
- LD GR3,GR3
- LD GR4,GR3
- LD GR5,GR3
- LD GR6,GR3
- LD GR7,GR3
- LD GR0,GR3
- LD GR1,GR3
- LD GR2,GR3
- LAD GR0,1
- LD GR1,GR0
- LD GR2,GR0
- LD GR3,GR0
- LD GR4,GR0
- LD GR5,GR0
- LD GR6,GR0
- LD GR7,GR0
- LD GR0,GR0
- RET
- END
Assemble ../../../../as/cmd/LD/ld_r_adr_x.casl (0)
-cat ../../../../as/cmd/LD/ld_r_adr_x.casl
../../../../casl2 -atd -M64 ../../../../as/cmd/LD/ld_r_adr_x.casl
-;;; NOP
-MAIN START
- NOP
- NOP
- NOP
- NOP
- NOP
- NOP
- NOP
- NOP
- NOP
- RET
- END
Assemble ../../../../as/cmd/NOP/nop.casl (0)
-cat ../../../../as/cmd/NOP/nop.casl
../../../../casl2 -atd -M16 ../../../../as/cmd/NOP/nop.casl
-;;; OR r1,r2
-MAIN START
- LD GR1,A
- LD GR2,B
- OR GR1,GR2
- RET
-A DC #3000
-B DC #4FFF
- END
Assemble ../../../../as/cmd/OR/or_r1_r2.casl (0)
-cat ../../../../as/cmd/OR/or_r1_r2.casl
../../../../casl2 -atd -M16 ../../../../as/cmd/OR/or_r1_r2.casl
-;;; OR r,adr
-MAIN START
- LD GR1,A
- OR GR1,B
- RET
-A DC #3000
-B DC #4FFF
- END
Assemble ../../../../as/cmd/OR/or_r_adr.casl (0)
-cat ../../../../as/cmd/OR/or_r_adr.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/OR/or_r_adr.casl
-;;; OR r,adr 演算結果の符号が負
-MAIN START
- LD GR1,A
- OR GR1,B
- RET
-A DC #8000
-B DC #FFFF
- END
Assemble ../../../../as/cmd/OR/or_r_adr__s.casl (0)
-cat ../../../../as/cmd/OR/or_r_adr__s.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/OR/or_r_adr__s.casl
-;;; OR r,adr 演算結果が零
-MAIN START
- LD GR1,A
- OR GR1,B
- RET
-A DC #0001
-B DC #FFFE
- END
Assemble ../../../../as/cmd/OR/or_r_adr__z.casl (0)
-cat ../../../../as/cmd/OR/or_r_adr__z.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/OR/or_r_adr__z.casl
-;;; OR r,adr,x
-MAIN START
- LD GR1,A
- LAD GR2,1
- OR GR1,A,GR2
- RET
-A DC #3000
- DC #4FFF
- END
Assemble ../../../../as/cmd/OR/or_r_adr_x.casl (0)
-cat ../../../../as/cmd/OR/or_r_adr_x.casl
../../../../casl2 -atd -M16 ../../../../as/cmd/OR/or_r_adr_x.casl
-;;; OUT buf,len
-MAIN START
- OUT BUF1,L1
- OUT BUF2,L2
- OUT BUF3,L3
- OUT BUF4,L4
- RET
-BUF1 DC '0',9,'1',10 ; TAB、改行
-L1 DC 4
-BUF2 DC ' !"#$%&''()*+,-./0123456789:;<=>?'
-L2 DC 32
-BUF3 DC '@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_'
-L3 DC 32
-BUF4 DC '`abcdefghijklmnopqrstuvwxyz{|}~'
-L4 DC 31
- END
Assemble ../../../../as/cmd/OUT/out.casl (0)
-cat ../../../../as/cmd/OUT/out.casl
../../../../casl2 -atd -M256 ../../../../as/cmd/OUT/out.casl
-;;; PUSH / POP 値の復元
-MAIN START
- LD GR1,A
- LD GR1,0,GR7
- LD GR2,1,GR7
- LD GR3,2,GR7
- LD GR4,3,GR7
- LD GR5,4,GR7
- LD GR6,5,GR7
- LD GR7,6,GR7
- PUSH 0,GR1
- PUSH 0,GR2
- PUSH 0,GR3
- PUSH 0,GR4
- PUSH 0,GR5
- PUSH 0,GR6
- PUSH 0,GR7
- POP GR7
- POP GR6
- POP GR5
- POP GR4
- POP GR3
- POP GR2
- POP GR1
- RET
-A DC 1,2,3,4,5,6,7
- END
Assemble ../../../../as/cmd/POP/push_pop__0.casl (0)
-cat ../../../../as/cmd/POP/push_pop__0.casl
../../../../casl2 -atd -M64 ../../../../as/cmd/POP/push_pop__0.casl
-;;; PUSH / POP 値の交換
-MAIN START
- LD GR1,A
- LD GR1,0,GR7
- LD GR2,1,GR7
- LD GR3,2,GR7
- LD GR4,3,GR7
- LD GR5,4,GR7
- LD GR6,5,GR7
- LD GR7,6,GR7
- PUSH 0,GR1
- PUSH 0,GR2
- PUSH 0,GR3
- PUSH 0,GR4
- PUSH 0,GR5
- PUSH 0,GR6
- PUSH 0,GR7
- POP GR1
- POP GR2
- POP GR3
- POP GR4
- POP GR5
- POP GR6
- POP GR7
- RET
-A DC 1,2,3,4,5,6,7
- END
Assemble ../../../../as/cmd/POP/push_pop__1.casl (0)
-cat ../../../../as/cmd/POP/push_pop__1.casl
../../../../casl2 -atd -M64 ../../../../as/cmd/POP/push_pop__1.casl
-;;; RPOP 値の復元
-MAIN START
- LD GR1,A
- LD GR1,0,GR7
- LD GR2,1,GR7
- LD GR3,2,GR7
- LD GR4,3,GR7
- LD GR5,4,GR7
- LD GR6,5,GR7
- LD GR7,6,GR7
- PUSH 0,GR1
- PUSH 0,GR2
- PUSH 0,GR3
- PUSH 0,GR4
- PUSH 0,GR5
- PUSH 0,GR6
- PUSH 0,GR7
- RPOP
- RET
-A DC 1,2,3,4,5,6,7
- END
Assemble ../../../../as/cmd/RPOP/rpop.casl (0)
-cat ../../../../as/cmd/RPOP/rpop.casl
../../../../casl2 -atd -M64 ../../../../as/cmd/RPOP/rpop.casl
-;;; PUSH / POP 値の復元
-MAIN START
- LD GR1,A
- LD GR1,0,GR7
- LD GR2,1,GR7
- LD GR3,2,GR7
- LD GR4,3,GR7
- LD GR5,4,GR7
- LD GR6,5,GR7
- LD GR7,6,GR7
- RPUSH
- POP GR7
- POP GR6
- POP GR5
- POP GR4
- POP GR3
- POP GR2
- POP GR1
- RET
-A DC 1,2,3,4,5,6,7
- END
Assemble ../../../../as/cmd/RPUSH/rpush.casl (0)
-cat ../../../../as/cmd/RPUSH/rpush.casl
../../../../casl2 -atd -M64 ../../../../as/cmd/RPUSH/rpush.casl
-;;; SLA r,adr
-MAIN START
- LAD GR1,3
- SLA GR1,13
- RET
- END
Assemble ../../../../as/cmd/SLA/sla.casl (0)
-cat ../../../../as/cmd/SLA/sla.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/SLA/sla.casl
-;;; SLA r,adr オーバーフロー
-MAIN START
- LAD GR1,3
- SLA GR1,14
- RET
- END
Assemble ../../../../as/cmd/SLA/sla__o.casl (0)
-cat ../../../../as/cmd/SLA/sla__o.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/SLA/sla__o.casl
-;;; SLA r,adr 負数のオーバーフロー
-MAIN START
- LAD GR1,#8003
- SLA GR1,14
- RET
- END
Assemble ../../../../as/cmd/SLA/sla__os.casl (0)
-cat ../../../../as/cmd/SLA/sla__os.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/SLA/sla__os.casl
-;;; SLA r,adr オーバーフローし、結果は零
-MAIN START
- LAD GR1,3
- SLA GR1,15
- RET
- END
Assemble ../../../../as/cmd/SLA/sla__oz.casl (0)
-cat ../../../../as/cmd/SLA/sla__oz.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/SLA/sla__oz.casl
-;;; SLA r,adr 負数
-SLA2 START BEGIN
-BEGIN LAD GR1,#8003
- SLA GR1,13
- RET
- END
Assemble ../../../../as/cmd/SLA/sla__s.casl (0)
-cat ../../../../as/cmd/SLA/sla__s.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/SLA/sla__s.casl
-;;; SLA r,adr 結果は零
-MAIN START
- LAD GR1,2
- SLA GR1,15
- RET
- END
Assemble ../../../../as/cmd/SLA/sla__z.casl (0)
-cat ../../../../as/cmd/SLA/sla__z.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/SLA/sla__z.casl
-;;; SLL r,adr
-MAIN START
- LAD GR1,3
- SLL GR1,13
- RET
- END
Assemble ../../../../as/cmd/SLL/sll.casl (0)
-cat ../../../../as/cmd/SLL/sll.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/SLL/sll.casl
-;;; SLL r,adr 正数のオーバーフロー
-MAIN START
- LAD GR1,2
- SLL GR1,15
- RET
- END
Assemble ../../../../as/cmd/SLL/sll__o.casl (0)
-cat ../../../../as/cmd/SLL/sll__o.casl
../../../../casl2 -aTd -M8 ../../../../as/cmd/SLL/sll__o.casl
-;;; SLL r,adr 符号フラグオンで、オーバーフロー
-MAIN START
- LAD GR1,3
- SLL GR1,15
- RET
- END
Assemble ../../../../as/cmd/SLL/sll__os.casl (0)
-cat ../../../../as/cmd/SLL/sll__os.casl
../../../../casl2 -aTd -M8 ../../../../as/cmd/SLL/sll__os.casl
-;;; SLL r,adr オーバーフローし、結果は零
-MAIN START
- LAD GR1,3
- SLL GR1,16
- RET
- END
Assemble ../../../../as/cmd/SLL/sll__oz.casl (0)
-cat ../../../../as/cmd/SLL/sll__oz.casl
../../../../casl2 -aTd -M8 ../../../../as/cmd/SLL/sll__oz.casl
-;;; SLL r,adr 負数
-SLL2 START BEGIN
-BEGIN LAD GR1,3
- SLL GR1,14
- RET
- END
Assemble ../../../../as/cmd/SLL/sll__s.casl (0)
-cat ../../../../as/cmd/SLL/sll__s.casl
../../../../casl2 -aTd -M8 ../../../../as/cmd/SLL/sll__s.casl
-;;; SLL r,adr 結果は零
-MAIN START
- LAD GR1,2
- SLL GR1,17
- RET
- END
Assemble ../../../../as/cmd/SLL/sll__z.casl (0)
-cat ../../../../as/cmd/SLL/sll__z.casl
../../../../casl2 -aTd -M8 ../../../../as/cmd/SLL/sll__z.casl
-;;; SRA r,adr
-MAIN START
- LAD GR1,#6000
- SRA GR1,13
- RET
- END
Assemble ../../../../as/cmd/SRA/sra.casl (0)
-cat ../../../../as/cmd/SRA/sra.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/SRA/sra.casl
-;;; SRA r,adr 正数のオーバーフロー
-MAIN START
- LAD GR1,#6000
- SRA GR1,14
- RET
- END
Assemble ../../../../as/cmd/SRA/sra__o.casl (0)
-cat ../../../../as/cmd/SRA/sra__o.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/SRA/sra__o.casl
-;;; SRA r,adr 負数のオーバーフロー
-MAIN START
- LAD GR1,#A000
- SRA GR1,14
- RET
- END
Assemble ../../../../as/cmd/SRA/sra__os.casl (0)
-cat ../../../../as/cmd/SRA/sra__os.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/SRA/sra__os.casl
-;;; SRA r,adr オーバーフローし、結果は零
-MAIN START
- LAD GR1,#6000
- SRA GR1,15
- RET
- END
Assemble ../../../../as/cmd/SRA/sra__oz.casl (0)
-cat ../../../../as/cmd/SRA/sra__oz.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/SRA/sra__oz.casl
-;;; SRA r,adr 負数
-SRA2 START BEGIN
-BEGIN LAD GR1,#A000
- SRA GR1,13
- RET
- END
Assemble ../../../../as/cmd/SRA/sra__s.casl (0)
-cat ../../../../as/cmd/SRA/sra__s.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/SRA/sra__s.casl
-;;; SRA r,adr 結果は零
-MAIN START
- LAD GR1,#2000
- SRA GR1,15
- RET
- END
Assemble ../../../../as/cmd/SRA/sra__z.casl (0)
-cat ../../../../as/cmd/SRA/sra__z.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/SRA/sra__z.casl
-;;; SRL r,adr
-MAIN START
- LAD GR1,#C000
- SRL GR1,14
- RET
- END
Assemble ../../../../as/cmd/SRL/srl.casl (0)
-cat ../../../../as/cmd/SRL/srl.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/SRL/srl.casl
-;;; SRL r,adr オーバーフロー
-MAIN START
- LAD GR1,#C000
- SRL GR1,15
- RET
- END
Assemble ../../../../as/cmd/SRL/srl__o.casl (0)
-cat ../../../../as/cmd/SRL/srl__o.casl
../../../../casl2 -aTd -M8 ../../../../as/cmd/SRL/srl__o.casl
-;;; SRL r,adr オーバーフローし、結果は零
-MAIN START
- LAD GR1,#C000
- SRL GR1,16
- RET
- END
Assemble ../../../../as/cmd/SRL/srl__oz.casl (0)
-cat ../../../../as/cmd/SRL/srl__oz.casl
../../../../casl2 -aTd -M8 ../../../../as/cmd/SRL/srl__oz.casl
-;;; SRL r,adr 負数
-SRL2 START BEGIN
-BEGIN LAD GR1,#C000
- SRL GR1,0
- RET
- END
Assemble ../../../../as/cmd/SRL/srl__s.casl (0)
-cat ../../../../as/cmd/SRL/srl__s.casl
../../../../casl2 -aTd -M8 ../../../../as/cmd/SRL/srl__s.casl
-;;; SRL r,adr 結果は零
-MAIN START
- LAD GR1,#C000
- SRL GR1,17
- RET
- END
Assemble ../../../../as/cmd/SRL/srl__z.casl (0)
-cat ../../../../as/cmd/SRL/srl__z.casl
../../../../casl2 -aTd -M8 ../../../../as/cmd/SRL/srl__z.casl
-;;; ST r,adr
-MAIN START
- LD GR1,A
- ST GR1,B
- RET
-A DC 5
-B DS 1
- END
Assemble ../../../../as/cmd/ST/st_r_adr.casl (0)
-cat ../../../../as/cmd/ST/st_r_adr.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/ST/st_r_adr.casl
-;;; ST r,adr,x
-MAIN START
- LD GR1,A
- LAD GR2,A
- ST GR1,1,GR2
- RET
-A DC 5
-B DS 1
- END
Assemble ../../../../as/cmd/ST/st_r_adr_x.casl (0)
-cat ../../../../as/cmd/ST/st_r_adr_x.casl
../../../../casl2 -atd -M16 ../../../../as/cmd/ST/st_r_adr_x.casl
-;;; sum_10.casl
-;;; 1から10までの整数をすべて加算した値をメモリーに格納する
-MAIN START #20
- PUSH 0,GR1
- PUSH 0,GR2
- XOR GR2,GR2 ; GR2を初期化
- LD GR1,FST ; GR1に初項をメモリーから転送
-LOOP ADDL GR2,GR1 ; ループ先頭。GR2 <- GR2 + GR1
- ADDL GR1,STEP ; GR1 <- GR1 + 公差
- CPL GR1,LST ; GR1が末項より大きい場合は終了
- JPL FIN ; ↓
- JUMP LOOP ; ループ終端
-FIN ST GR2,RST ; GR2の結果をメモリーに転送
- POP GR2
- POP GR1
- RET
-FST DC 1 ; 初項
-LST DC 10 ; 末項
-STEP DC 1 ; 公差
-RST DS 1 ; 結果
- END
Assemble sum_10.casl (0)
-cat sum_10.casl
../../../../casl2 -atd sum_10.casl
-;;; SUBA r1,r2
-MAIN START
-BEGIN LD GR1,A
- LD GR2,B
- SUBA GR1,GR2
- RET
-A DC 3
-B DC 1
- END
Assemble ../../../../as/cmd/SUBA/suba_r1_r2.casl (0)
-cat ../../../../as/cmd/SUBA/suba_r1_r2.casl
../../../../casl2 -atd -M16 ../../../../as/cmd/SUBA/suba_r1_r2.casl
-;;; SUBA r,adr
-MAIN START
-BEGIN LD GR1,A
- SUBA GR1,B
- RET
-A DC 3
-B DC 1
- END
Assemble ../../../../as/cmd/SUBA/suba_r_adr.casl (0)
-cat ../../../../as/cmd/SUBA/suba_r_adr.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/SUBA/suba_r_adr.casl
-;;; SUBA r,adr 正数でオーバーフロー
-MAIN START
- LD GR1,A
- SUBA GR1,B
- RET
-A DC #7FFE ; 32766
-B DC #FFF6 ; -10
- END
Assemble ../../../../as/cmd/SUBA/suba_r_adr__ao.casl (0)
-cat ../../../../as/cmd/SUBA/suba_r_adr__ao.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/SUBA/suba_r_adr__ao.casl
-;;; SUBA r,adr 演算結果が負数(r > adr)
-MAIN START
- LD GR1,A
- SUBA GR1,B
- RET
-A DC 10
-B DC 20
- END
Assemble ../../../../as/cmd/SUBA/suba_r_adr__as0.casl (0)
-cat ../../../../as/cmd/SUBA/suba_r_adr__as0.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/SUBA/suba_r_adr__as0.casl
-;;; SUBA r,adr 演算結果が負数(r < adr)
-MAIN START
- LD GR1,A
- SUBA GR1,B
- RET
-A DC #FFEC ; -20
-B DC #FFF6 ; -10
- END
Assemble ../../../../as/cmd/SUBA/suba_r_adr__as1.casl (0)
-cat ../../../../as/cmd/SUBA/suba_r_adr__as1.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/SUBA/suba_r_adr__as1.casl
-;;; SUBA r,adr SUBLではオーバーフロー
-MAIN START
- LD GR1,A
- SUBA GR1,B
- RET
-A DC 2
-B DC 15
- END
Assemble ../../../../as/cmd/SUBA/suba_r_adr__lo.casl (0)
-cat ../../../../as/cmd/SUBA/suba_r_adr__lo.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/SUBA/suba_r_adr__lo.casl
-;;; SUBA r,adr オーバーフロー
-MAIN START
- LD GR1,A
- SUBA GR1,B
- RET
-A DC #8002 ; -32766
-B DC #7FFF ; 32767
- END
Assemble ../../../../as/cmd/SUBA/suba_r_adr__o.casl (0)
-cat ../../../../as/cmd/SUBA/suba_r_adr__o.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/SUBA/suba_r_adr__o.casl
-;;; SUBA r,adr 演算結果が零
-MAIN START
- LD GR1,A
- SUBA GR1,B
- RET
-A DC #FFF6 ; -10
-B DC #FFF6 ; -10
- END
Assemble ../../../../as/cmd/SUBA/suba_r_adr__z.casl (0)
-cat ../../../../as/cmd/SUBA/suba_r_adr__z.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/SUBA/suba_r_adr__z.casl
-;;; SUBA r,adr,x
-MAIN START
-BEGIN LD GR1,A
- LAD GR2,1
- SUBA GR1,A,GR2
- RET
-A DC 3
- DC 1
- END
Assemble ../../../../as/cmd/SUBA/suba_r_adr_x.casl (0)
-cat ../../../../as/cmd/SUBA/suba_r_adr_x.casl
../../../../casl2 -atd -M16 ../../../../as/cmd/SUBA/suba_r_adr_x.casl
-;;; SUBL r1,r2
-MAIN START
-BEGIN LD GR1,A
- LD GR2,B
- SUBL GR1,GR2
- RET
-A DC 3
-B DC 1
- END
Assemble ../../../../as/cmd/SUBL/subl_r1_r2.casl (0)
-cat ../../../../as/cmd/SUBL/subl_r1_r2.casl
../../../../casl2 -aTd -M16 ../../../../as/cmd/SUBL/subl_r1_r2.casl
-;;; SUBL r,adr
-MAIN START
-BEGIN LD GR1,A
- SUBL GR1,B
- RET
-A DC 3
-B DC 1
- END
Assemble ../../../../as/cmd/SUBL/subl_r_adr.casl (0)
-cat ../../../../as/cmd/SUBL/subl_r_adr.casl
../../../../casl2 -aTd -M8 ../../../../as/cmd/SUBL/subl_r_adr.casl
-;;; SUBL r,adr 正数でオーバーフロー
-MAIN START
- LD GR1,A
- SUBL GR1,B
- RET
-A DC #7FFE ; 32766
-B DC #FFF6 ; 65526
- END
Assemble ../../../../as/cmd/SUBL/subl_r_adr__ao.casl (0)
-cat ../../../../as/cmd/SUBL/subl_r_adr__ao.casl
../../../../casl2 -aTd -M8 ../../../../as/cmd/SUBL/subl_r_adr__ao.casl
-;;; SUBL r,adr 演算結果が負数(r > adr)
-MAIN START
- LD GR1,A
- SUBL GR1,B
- RET
-A DC 10
-B DC 20
- END
Assemble ../../../../as/cmd/SUBL/subl_r_adr__as0.casl (0)
-cat ../../../../as/cmd/SUBL/subl_r_adr__as0.casl
../../../../casl2 -aTd -M8 ../../../../as/cmd/SUBL/subl_r_adr__as0.casl
-;;; SUBL r,adr 演算結果が負数(r < adr)
-MAIN START
- LD GR1,A
- SUBL GR1,B
- RET
-A DC #FFEC ; 65516
-B DC #FFF6 ; 65526
- END
Assemble ../../../../as/cmd/SUBL/subl_r_adr__as1.casl (0)
-cat ../../../../as/cmd/SUBL/subl_r_adr__as1.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/SUBL/subl_r_adr__as1.casl
-;;; SUBL r,adr SUBLではオーバーフロー
-MAIN START
- LD GR1,A
- SUBL GR1,B
- RET
-A DC 2
-B DC 15
- END
Assemble ../../../../as/cmd/SUBL/subl_r_adr__lo.casl (0)
-cat ../../../../as/cmd/SUBL/subl_r_adr__lo.casl
../../../../casl2 -aTd -M8 ../../../../as/cmd/SUBL/subl_r_adr__lo.casl
-;;; SUBL r,adr 論理演算ではオーバーフローなし(算術減算ではオーバーフロー)
-MAIN START
- LD GR1,A
- SUBL GR1,B
- RET
-A DC #8002 ; 32770
-B DC #7FFF ; 32767
- END
Assemble ../../../../as/cmd/SUBL/subl_r_adr__o.casl (0)
-cat ../../../../as/cmd/SUBL/subl_r_adr__o.casl
../../../../casl2 -aTd -M8 ../../../../as/cmd/SUBL/subl_r_adr__o.casl
-;;; SUBL r,adr 演算結果が零
-MAIN START
- LD GR1,A
- SUBL GR1,B
- RET
-A DC #FFF6 ; 65526
-B DC #FFF6 ; 65526
- END
Assemble ../../../../as/cmd/SUBL/subl_r_adr__z.casl (0)
-cat ../../../../as/cmd/SUBL/subl_r_adr__z.casl
../../../../casl2 -aTd -M8 ../../../../as/cmd/SUBL/subl_r_adr__z.casl
-;;; SUBL r,adr,x
-MAIN START
-BEGIN LD GR1,A
- LAD GR2,1
- SUBL GR1,A,GR2
- RET
-A DC 5
- DC 2
- END
Assemble ../../../../as/cmd/SUBL/subl_r_adr_x.casl (0)
-cat ../../../../as/cmd/SUBL/subl_r_adr_x.casl
../../../../casl2 -aTd -M16 ../../../../as/cmd/SUBL/subl_r_adr_x.casl
-;;; SVC 1 1文字を入力
-MAIN START
- LAD GR1,IBUF
- LAD GR2,ILEN
- SVC 1
- RET
-IBUF DS 6
-ILEN DS 1
- END
-abcd
Assemble ../../../../as/cmd/SVC/svc__1.casl (0)
-cat ../../../../as/cmd/SVC/svc__1.casl teststr.txt
../../../../casl2 -atd -M64 ../../../../as/cmd/SVC/svc__1.casl <teststr.txt
-;;; SVC 2 1文字を表示
-MAIN START
-BEGIN LAD GR1,D
- LAD GR2,A
- SVC 2
- LAD GR1,=#A
- SVC 2
- RET
-D DC '0'
-A DC 1
- END
Assemble ../../../../as/cmd/SVC/svc__2.casl (0)
-cat ../../../../as/cmd/SVC/svc__2.casl
../../../../casl2 -atd -M64 ../../../../as/cmd/SVC/svc__2.casl
-;;; XOR r1,r2
-MAIN START
- LD GR1,A
- LD GR2,B
- XOR GR1,GR2
- RET
-A DC #3000
-B DC #4FFF
- END
Assemble ../../../../as/cmd/XOR/xor_r1_r2.casl (0)
-cat ../../../../as/cmd/XOR/xor_r1_r2.casl
../../../../casl2 -atd -M16 ../../../../as/cmd/XOR/xor_r1_r2.casl
-;;; XOR r1,r2 rの内容をクリア
-MAIN START
-BEGIN LD GR1,A
- XOR GR1,GR1
- RET
-A DC 3
- END
Assemble ../../../../as/cmd/XOR/xor_r1_r2__clear.casl (0)
-cat ../../../../as/cmd/XOR/xor_r1_r2__clear.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/XOR/xor_r1_r2__clear.casl
-;;; XOR r,adr
-MAIN START
- LD GR1,A
- XOR GR1,B
- RET
-A DC #3000
-B DC #4FFF
- END
Assemble ../../../../as/cmd/XOR/xor_r_adr.casl (0)
-cat ../../../../as/cmd/XOR/xor_r_adr.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/XOR/xor_r_adr.casl
-;;; XOR r,adr 演算結果の符号が負
-MAIN START
- LD GR1,A
- XOR GR1,B
- RET
-A DC #8000
-B DC #FFFF
- END
Assemble ../../../../as/cmd/XOR/xor_r_adr__s.casl (0)
-cat ../../../../as/cmd/XOR/xor_r_adr__s.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/XOR/xor_r_adr__s.casl
-;;; XOR r,adr 演算結果が零
-MAIN START
- LD GR1,A
- XOR GR1,B
- RET
-A DC #0001
-B DC #FFFE
- END
Assemble ../../../../as/cmd/XOR/xor_r_adr__z.casl (0)
-cat ../../../../as/cmd/XOR/xor_r_adr__z.casl
../../../../casl2 -atd -M8 ../../../../as/cmd/XOR/xor_r_adr__z.casl
-;;; XOR r,adr,x
-MAIN START
- LD GR1,A
- LAD GR2,1
- XOR GR1,1,GR2
- RET
-A DC #3000
- DC #4FFF
- END
Assemble ../../../../as/cmd/XOR/xor_r_adr_x.casl (0)
-cat ../../../../as/cmd/XOR/xor_r_adr_x.casl
../../../../casl2 -atd -M16 ../../../../as/cmd/XOR/xor_r_adr_x.casl
-MAIN START BEGIN
-BEGIN LD GR1,A
- ADDA GR1,B
- RET
-A DC 3
-A DC 1
- END
Assemble error - 101: A: label already defined
../../../../as/err/err_101.casl: 6:A DC 1
-cat ../../../../as/err/err_101.casl
../../../../casl2 ../../../../as/err/err_101.casl
-MAIN START
- LD GR1,B
- RET
-A DC 7
- END
Assemble error - 103: B: label not found
../../../../as/err/err_103.casl: 2: LD GR1,B
-cat ../../../../as/err/err_103.casl
../../../../casl2 ../../../../as/err/err_103.casl
-MAIN START
- LD GR1,A23456789
- RET
-A23456789 DC 7
- END
Assemble error - 104: A23456789: label length is too long
../../../../as/err/err_104.casl: 4:A23456789 DC 7
-cat ../../../../as/err/err_104.casl
../../../../casl2 ../../../../as/err/err_104.casl
-MAIN START
- LD GR1,A
- RET
-A
- END
Assemble error - 105: no command in the line
../../../../as/err/err_105.casl: 4:A
-cat ../../../../as/err/err_105.casl
../../../../casl2 ../../../../as/err/err_105.casl
-MAIN START
- RET
- DC
- END
Assemble error - 106: operand mismatch in CASL II command
../../../../as/err/err_106_DC.casl: 3: DC
-cat ../../../../as/err/err_106_DC.casl
../../../../casl2 ../../../../as/err/err_106_DC.casl
-MAIN START
- LD GR1,A
- RET
-A DS
- END
Assemble error - 106: operand mismatch in CASL II command
../../../../as/err/err_106_DS.casl: 4:A DS
-cat ../../../../as/err/err_106_DS.casl
../../../../casl2 ../../../../as/err/err_106_DS.casl
- START
- LD GR1,A
- RET
-A DC 1
- END
Assemble error - 107: no label in START
../../../../as/err/err_107.casl: 1: START
-cat ../../../../as/err/err_107.casl
../../../../casl2 ../../../../as/err/err_107.casl
-MAIN START
- LD GR1
- RET
-A DC 1
- END
Assemble error - 108: LD: not command of operand "r"
../../../../as/err/err_108.casl: 2: LD GR1
-cat ../../../../as/err/err_108.casl
../../../../casl2 ../../../../as/err/err_108.casl
-MAIN START
- ST GR1,GR2
- RET
- END
Assemble error - 109: ST: not command of operand "r1,r2"
../../../../as/err/err_109.casl: 2: ST GR1,GR2
-cat ../../../../as/err/err_109.casl
../../../../casl2 ../../../../as/err/err_109.casl
-MAIN START
- CALL GR1,A
- RET
-A DC 3
- END
Assemble error - 110: CALL: not command of operand "r,adr[,x]"
../../../../as/err/err_110.casl: 2: CALL GR1,A
-cat ../../../../as/err/err_110.casl
../../../../casl2 ../../../../as/err/err_110.casl
-MAIN START
- LD A
- RET
-A DC 3
- END
Assemble error - 111: LD: not command of operand "adr[,x]"
../../../../as/err/err_111.casl: 2: LD A
-cat ../../../../as/err/err_111.casl
../../../../casl2 ../../../../as/err/err_111.casl
-MAIN START
- LAD
- RET
- END
Assemble error - 112: LAD: not command of no operand
../../../../as/err/err_112.casl: 2: LAD
-cat ../../../../as/err/err_112.casl
../../../../casl2 ../../../../as/err/err_112.casl
-MAIN START
- LD GR1,A,1,2
- RET
-A DC 0,1,2,3
- END
Assemble error - 113: LD: operand too many in COMET II command
../../../../as/err/err_113.casl: 2: LD GR1,A,1,2
-cat ../../../../as/err/err_113.casl
../../../../casl2 ../../../../as/err/err_113.casl
-MAIN START
- LD GR1,-A
- RET
- END
Assemble error - 114: -A: not integer
../../../../as/err/err_114.casl: 2: LD GR1,-A
-cat ../../../../as/err/err_114.casl
../../../../casl2 ../../../../as/err/err_114.casl
-MAIN START
- LD GR1,#G
- RET
- END
Assemble error - 115: #G: not hex
../../../../as/err/err_115.casl: 2: LD GR1,#G
-cat ../../../../as/err/err_115.casl
../../../../casl2 ../../../../as/err/err_115.casl
-MAIN START
- LD GR1,#10000
- RET
- END
Assemble error - 116: #10000: out of hex range
../../../../as/err/err_116.casl: 2: LD GR1,#10000
-cat ../../../../as/err/err_116.casl
../../../../casl2 ../../../../as/err/err_116.casl
-MAIN START
- RET
- DC 1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1
- END
Assemble error - 117: operand too many in DC
../../../../as/err/err_117.casl: 3: DC 1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1
-cat ../../../../as/err/err_117.casl
../../../../casl2 ../../../../as/err/err_117.casl
-MAIN START
- RET
- DC '12345678901234567890123456789012345678901'
- END
Assemble error - 118: operand length too long
../../../../as/err/err_118.casl: 3: DC '12345678901234567890123456789012345678901'
-cat ../../../../as/err/err_118.casl
../../../../casl2 ../../../../as/err/err_118.casl
-;;; casl2 -M8 err_119.casl
-MAIN START
- LD GR0,A
- LD GR0,B
- LD GR0,C
- RET
-A DC 7
-B DC -7
-C DC 0
- END
Assemble error - 119: 8: out of COMET II memory
../../../../as/err/err_119.casl: 8:B DC -7
-cat ../../../../as/err/err_119.casl
../../../../casl2 -M8 ../../../../as/err/err_119.casl
-MAIN START
- LAD GR0,1
- LD GR1,A,GR0
- RET
-A DC 7,-7
- END
Assemble error - 120: GR0 in operand x
../../../../as/err/err_120.casl: 3: LD GR1,A,GR0
-cat ../../../../as/err/err_120.casl
../../../../casl2 ../../../../as/err/err_120.casl
-MAIN START BEGIN
-BEGIN LD GR1, A
- ADDA GR1,B
- RET
-A DC 3
-B DC 1
- END
Assemble error - 121: cannot get operand token
../../../../as/err/err_121.casl: 2:BEGIN LD GR1, A
-cat ../../../../as/err/err_121.casl
../../../../casl2 ../../../../as/err/err_121.casl
-MAIN START
- OUT BUF,LEN
- RET
-BUF DC 'Hello, World!
-LEN DC 13
- END
Assemble error - 123: unclosed quote
../../../../as/err/err_123.casl: 4:BUF DC 'Hello, World!
-cat ../../../../as/err/err_123.casl
../../../../casl2 ../../../../as/err/err_123.casl
-MAIN START
- LAD GR1,='ab'
-END RET
- END
Assemble error - 124: 'ab': more than one character in literal
../../../../as/err/err_124.casl: 2: LAD GR1,='ab'
-cat ../../../../as/err/err_124.casl
../../../../casl2 ../../../../as/err/err_124.casl
-MAIN START
- LD GR1,A,1
- RET
-A DC 0,1
- END
Assemble error - 125: LD: not GR in operand x
../../../../as/err/err_125.casl: 2: LD GR1,A,1
-cat ../../../../as/err/err_125.casl
../../../../casl2 ../../../../as/err/err_125.casl
-;;; casl2 -M8 err_201.casl
-MAIN START
- JUMP #FFFF
-FIN RET
- END
Execute error - 201: PR:#FFFF: Program Register (PR) - memory overflow
-YACASL2DIR=../../../..
-cat $YACASL2DIR/as/err/err_201.casl
-$YACASL2DIR/casl2 -M8 $YACASL2DIR/as/err/err_201.casl
+../../../../casl2 -M8 ../../../../as/err/err_201.casl
-;;; casl2 -M32 err_202.casl
-MAIN START
- RPUSH
- LD GR0,A
- RPOP
- RET
-A DC 7
- END
Execute error - 202: PR:#000E: Stack Pointer (SP) - stack overflow
-cat ../../../../as/err/err_202.casl
../../../../casl2 -M32 ../../../../as/err/err_202.casl
-;;; casl2 -M8 err_203.casl
-MAIN START
- POP GR1
- RET
- END
Execute error - 203: PR:#0000: Stack Pointer (SP) - stack underflow
-cat ../../../../as/err/err_203.casl
../../../../casl2 -M8 ../../../../as/err/err_203.casl
-;;; casl2 -M8 err_207.casl
-MAIN START
- LD GR1,#FFFF
- RET
- END
Execute error - 207: PR:#0001: address in word #2 - out of memory
-cat ../../../../as/err/err_207.casl
../../../../casl2 -M8 ../../../../as/err/err_207.casl
-;;; casl2 -M32 err_208.casl <teststr.txt
-MAIN START
- IN IBUF,ILEN
-FIN RET
-IBUF DS 10
-ILEN DS 1
- END
-12345678901234567890123456789012345678901234567890123456789012345678901234567890
-
Execute error - 208: SVC input - memory overflow
-YACASL2DIR=../../../..
-cat $YACASL2DIR/as/err/err_208.casl teststr.txt
-$YACASL2DIR/casl2 -M32 $YACASL2DIR/as/err/err_208.casl <teststr.txt
+../../../../casl2 -M32 ../../../../as/err/err_208.casl <teststr.txt
-;;; casl2 -M32 err_209.casl
-MAIN START
- OUT BUF,LEN
- RET
-BUF DC ' !'
-LEN DC 60
- END
!<
..Execute error - 209: SVC output - memory overflow
-YACASL2DIR=../../../..
-cat $YACASL2DIR/as/err/err_209.casl
-$YACASL2DIR/casl2 -M32 $YACASL2DIR/as/err/err_209.casl
+../../../../casl2 -M32 ../../../../as/err/err_209.casl
--- /dev/null
+notexistfile.casl: No such file or directory
--- /dev/null
+../../../../casl2 -o notexistfile.casl
+../../../../casl2: invalid option -- 'z'
Usage: ../../../../casl2 [-slLaAtTdmvh] [-oO[<OBJECTFILE>]] [-M <MEMORYSIZE>] [-C <CLOCKS>] FILE1[ FILE2 ...]
-../../../../casl2 -z ../../../../as/sum_10.casl 2>&1 | tail -1 1>&2
+../../../../casl2 -z ../../../../as/sum_10.casl
-;;; sum_10.casl
-;;; 1から10までの整数をすべて加算した値をメモリーに格納する
-MAIN START
- PUSH 0,GR1
- PUSH 0,GR2
- XOR GR2,GR2 ; GR2を初期化
- LD GR1,FST ; GR1に初項をメモリーから転送
-LOOP ADDL GR2,GR1 ; ループ先頭。GR2 <- GR2 + GR1
- ADDL GR1,STEP ; GR1 <- GR1 + 公差
- CPL GR1,LST ; GR1が末項より大きい場合は終了
- JPL FIN ; ↓
- JUMP LOOP ; ループ終端
-FIN ST GR2,RST ; GR2の結果をメモリーに転送
- POP GR2
- POP GR1
- RET
-FST DC 1 ; 初項
-LST DC 10 ; 末項
-STEP DC 1 ; 公差
-RST DS 1 ; 結果
- END
Assemble ../../../../as/sample/sum_10.casl (0)
../../../../as/sample/sum_10.casl: 1:;;; sum_10.casl
-cat ../../../../as/sample/sum_10.casl
../../../../casl2 -s ../../../../as/sample/sum_10.casl
-;;; sum_10.casl
-;;; 1から10までの整数をすべて加算した値をメモリーに格納する
-MAIN START
- PUSH 0,GR1
- PUSH 0,GR2
- XOR GR2,GR2 ; GR2を初期化
- LD GR1,FST ; GR1に初項をメモリーから転送
-LOOP ADDL GR2,GR1 ; ループ先頭。GR2 <- GR2 + GR1
- ADDL GR1,STEP ; GR1 <- GR1 + 公差
- CPL GR1,LST ; GR1が末項より大きい場合は終了
- JPL FIN ; ↓
- JUMP LOOP ; ループ終端
-FIN ST GR2,RST ; GR2の結果をメモリーに転送
- POP GR2
- POP GR1
- RET
-FST DC 1 ; 初項
-LST DC 10 ; 末項
-STEP DC 1 ; 公差
-RST DS 1 ; 結果
- END
Assemble ../../../../as/sample/sum_10.casl (0)
../../../../as/sample/sum_10.casl: 1:;;; sum_10.casl
-cat ../../../../as/sample/sum_10.casl
../../../../casl2 -sL ../../../../as/sample/sum_10.casl
-;;; sum_10.casl
-;;; 1から10までの整数をすべて加算した値をメモリーに格納する
-MAIN START
- PUSH 0,GR1
- PUSH 0,GR2
- XOR GR2,GR2 ; GR2を初期化
- LD GR1,FST ; GR1に初項をメモリーから転送
-LOOP ADDL GR2,GR1 ; ループ先頭。GR2 <- GR2 + GR1
- ADDL GR1,STEP ; GR1 <- GR1 + 公差
- CPL GR1,LST ; GR1が末項より大きい場合は終了
- JPL FIN ; ↓
- JUMP LOOP ; ループ終端
-FIN ST GR2,RST ; GR2の結果をメモリーに転送
- POP GR2
- POP GR1
- RET
-FST DC 1 ; 初項
-LST DC 10 ; 末項
-STEP DC 1 ; 公差
-RST DS 1 ; 結果
- END
Assemble ../../../../as/sample/sum_10.casl (0)
../../../../as/sample/sum_10.casl: 1:;;; sum_10.casl
-cat ../../../../as/sample/sum_10.casl
../../../../casl2 -slA ../../../../as/sample/sum_10.casl
-;;; sum_10.casl
-;;; 1から10までの整数をすべて加算した値をメモリーに格納する
-MAIN START
- PUSH 0,GR1
- PUSH 0,GR2
- XOR GR2,GR2 ; GR2を初期化
- LD GR1,FST ; GR1に初項をメモリーから転送
-LOOP ADDL GR2,GR1 ; ループ先頭。GR2 <- GR2 + GR1
- ADDL GR1,STEP ; GR1 <- GR1 + 公差
- CPL GR1,LST ; GR1が末項より大きい場合は終了
- JPL FIN ; ↓
- JUMP LOOP ; ループ終端
-FIN ST GR2,RST ; GR2の結果をメモリーに転送
- POP GR2
- POP GR1
- RET
-FST DC 1 ; 初項
-LST DC 10 ; 末項
-STEP DC 1 ; 公差
-RST DS 1 ; 結果
- END
Assemble ../../../../as/sample/sum_10.casl (0)
../../../../as/sample/sum_10.casl: 1:;;; sum_10.casl
../../../../as/sample/sum_10.casl: 20:RST DS 1 ; 結果
#0018 #0000
../../../../as/sample/sum_10.casl: 21: END
+0000000 7001 0000 7002 0000 3622 1010 0015 2621
+0000020 2210 0017 4110 0016 6500 0010 6400 0007
+0000040 1120 0018 7120 7110 8100 0001 000a 0001
+0000060 0000
+0000062
include ../Define.mk
include ../Test.mk
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-cat ../../../../as/sample/sum_10.casl
-../../../../casl2 -sla -O ../../../../as/sample/sum_10.casl
+sh cmd_valgrind
+od -x a.o
--- /dev/null
+../../../../casl2 -sla -O ../../../../as/sample/sum_10.casl
-;;; sum_10.casl
-;;; 1から10までの整数をすべて加算した値をメモリーに格納する
-MAIN START
- PUSH 0,GR1
- PUSH 0,GR2
- XOR GR2,GR2 ; GR2を初期化
- LD GR1,FST ; GR1に初項をメモリーから転送
-LOOP ADDL GR2,GR1 ; ループ先頭。GR2 <- GR2 + GR1
- ADDL GR1,STEP ; GR1 <- GR1 + 公差
- CPL GR1,LST ; GR1が末項より大きい場合は終了
- JPL FIN ; ↓
- JUMP LOOP ; ループ終端
-FIN ST GR2,RST ; GR2の結果をメモリーに転送
- POP GR2
- POP GR1
- RET
-FST DC 1 ; 初項
-LST DC 10 ; 末項
-STEP DC 1 ; 公差
-RST DS 1 ; 結果
- END
Assemble ../../../../as/sample/sum_10.casl (0)
../../../../as/sample/sum_10.casl: 1:;;; sum_10.casl
../../../../as/sample/sum_10.casl: 20:RST DS 1 ; 結果
#0018 #0000
../../../../as/sample/sum_10.casl: 21: END
+0000000 7001 0000 7002 0000 3622 1010 0015 2621
+0000020 2210 0017 4110 0016 6500 0010 6400 0007
+0000040 1120 0018 7120 7110 8100 0001 000a 0001
+0000060 0000
+0000062
include ../Define.mk
include ../Test.mk
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) opt.o
-cat ../../../../as/sample/sum_10.casl
-../../../../casl2 -sla -Oopt.o ../../../../as/sample/sum_10.casl
+sh cmd_valgrind
+od -x opt.o
--- /dev/null
+../../../../casl2 -sla -Oopt.o ../../../../as/sample/sum_10.casl
+
-;;; sum_10.casl
-;;; 1から10までの整数をすべて加算した値をメモリーに格納する
-MAIN START
- PUSH 0,GR1
- PUSH 0,GR2
- XOR GR2,GR2 ; GR2を初期化
- LD GR1,FST ; GR1に初項をメモリーから転送
-LOOP ADDL GR2,GR1 ; ループ先頭。GR2 <- GR2 + GR1
- ADDL GR1,STEP ; GR1 <- GR1 + 公差
- CPL GR1,LST ; GR1が末項より大きい場合は終了
- JPL FIN ; ↓
- JUMP LOOP ; ループ終端
-FIN ST GR2,RST ; GR2の結果をメモリーに転送
- POP GR2
- POP GR1
- RET
-FST DC 1 ; 初項
-LST DC 10 ; 末項
-STEP DC 1 ; 公差
-RST DS 1 ; 結果
- END
Assemble ../../../../as/sample/sum_10.casl (0)
../../../../as/sample/sum_10.casl: 1:;;; sum_10.casl
#0014: PR: 20 = #0014 = 0000000000010100
#0014: FR (OF SF ZF): 000
+0000000 7001 0000 7002 0000 3622 1010 0015 2621
+0000020 2210 0017 4110 0016 6500 0010 6400 0007
+0000040 1120 0018 7120 7110 8100 0001 000a 0001
+0000060 0000
+0000062
include ../Define.mk
include ../Test.mk
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-cat ../../../../as/sample/sum_10.casl
-../../../../casl2 -slaTo ../../../../as/sample/sum_10.casl
+sh cmd_valgrind
+od -x a.o
--- /dev/null
+../../../../casl2 -slaTo ../../../../as/sample/sum_10.casl
-;;; sum_10.casl
-;;; 1から10までの整数をすべて加算した値をメモリーに格納する
-MAIN START
- PUSH 0,GR1
- PUSH 0,GR2
- XOR GR2,GR2 ; GR2を初期化
- LD GR1,FST ; GR1に初項をメモリーから転送
-LOOP ADDL GR2,GR1 ; ループ先頭。GR2 <- GR2 + GR1
- ADDL GR1,STEP ; GR1 <- GR1 + 公差
- CPL GR1,LST ; GR1が末項より大きい場合は終了
- JPL FIN ; ↓
- JUMP LOOP ; ループ終端
-FIN ST GR2,RST ; GR2の結果をメモリーに転送
- POP GR2
- POP GR1
- RET
-FST DC 1 ; 初項
-LST DC 10 ; 末項
-STEP DC 1 ; 公差
-RST DS 1 ; 結果
- END
Assemble ../../../../as/sample/sum_10.casl (0)
../../../../as/sample/sum_10.casl: 1:;;; sum_10.casl
#0014: PR: 20 = #0014 = 0000000000010100
#0014: FR (OF SF ZF): 000
+0000000 7001 0000 7002 0000 3622 1010 0015 2621
+0000020 2210 0017 4110 0016 6500 0010 6400 0007
+0000040 1120 0018 7120 7110 8100 0001 000a 0001
+0000060 0000
+0000062
include ../Define.mk
include ../Test.mk
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-cat ../../../../as/sample/sum_10.casl
-../../../../casl2 -slat -o ../../../../as/sample/sum_10.casl
+sh cmd_valgrind
+od -x a.o
--- /dev/null
+../../../../casl2 -slat -o ../../../../as/sample/sum_10.casl
-;;; sum_10.casl
-;;; 1から10までの整数をすべて加算した値をメモリーに格納する
-MAIN START
- PUSH 0,GR1
- PUSH 0,GR2
- XOR GR2,GR2 ; GR2を初期化
- LD GR1,FST ; GR1に初項をメモリーから転送
-LOOP ADDL GR2,GR1 ; ループ先頭。GR2 <- GR2 + GR1
- ADDL GR1,STEP ; GR1 <- GR1 + 公差
- CPL GR1,LST ; GR1が末項より大きい場合は終了
- JPL FIN ; ↓
- JUMP LOOP ; ループ終端
-FIN ST GR2,RST ; GR2の結果をメモリーに転送
- POP GR2
- POP GR1
- RET
-FST DC 1 ; 初項
-LST DC 10 ; 末項
-STEP DC 1 ; 公差
-RST DS 1 ; 結果
- END
Assemble ../../../../as/sample/sum_10.casl (0)
../../../../as/sample/sum_10.casl: 1:;;; sum_10.casl
#0014: 01E0: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
#0014: 01F0: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
+0000000 7001 0000 7002 0000 3622 1010 0015 2621
+0000020 2210 0017 4110 0016 6500 0010 6400 0007
+0000040 1120 0018 7120 7110 8100 0001 000a 0001
+0000060 0000
+0000062
include ../Define.mk
include ../Test.mk
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-cat ../../../../as/sample/sum_10.casl
-../../../../casl2 -slatdo ../../../../as/sample/sum_10.casl
+sh cmd_valgrind
+od -x a.o
--- /dev/null
+../../../../casl2 -slatdo ../../../../as/sample/sum_10.casl
-MAIN START
- OUT OBUF,LEN
- RET
-OBUF DC 'Hello, World!'
-LEN DC 13
- END
Assemble ../../../../as/sample/hello.casl (0)
../../../../as/sample/hello.casl: 1:MAIN START
-cat ../../../../as/sample/hello.casl
../../../../casl2 -sla ../../../../as/sample/hello.casl
include ../Define.mk
include ../Test.mk
+
+cmd: io.o
+
+io.o: ../../../../as/misc/io.casl
+ ../../../../casl2 -O$@ $<
-../../../../casl2 -O../../../../as/misc/io.o ../../../../as/misc/io.casl
-../../../../casl2rev ../../../../as/misc/io.o
+../../../../casl2rev io.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/ADDA/adda_r1_r2.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/ADDA/adda_r1_r2.casl
../../../../comet2 -td -M128 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/ADDA/adda_r_adr.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/ADDA/adda_r_adr.casl
../../../../comet2 -td -M16 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/ADDA/adda_r_adr__ao.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/ADDA/adda_r_adr__ao.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/ADDA/adda_r_adr__as0.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/ADDA/adda_r_adr__as0.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/ADDA/adda_r_adr__as1.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/ADDA/adda_r_adr__as1.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/ADDA/adda_r_adr__az.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/ADDA/adda_r_adr__az.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/ADDA/adda_r_adr__lo.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/ADDA/adda_r_adr__lo.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/ADDA/adda_r_adr__o.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/ADDA/adda_r_adr__o.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/ADDA/adda_r_adr__z.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/ADDA/adda_r_adr__z.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/ADDA/adda_r_adr_x.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/ADDA/adda_r_adr_x.casl
../../../../comet2 -td -M16 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/ADDL/addl_r1_r2.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/ADDL/addl_r1_r2.casl
../../../../comet2 -Td -M16 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/ADDL/addl_r_adr.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/ADDL/addl_r_adr.casl
../../../../comet2 -Td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/ADDL/addl_r_adr__ao.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/ADDL/addl_r_adr__ao.casl
../../../../comet2 -Td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/ADDL/addl_r_adr__as0.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/ADDL/addl_r_adr__as0.casl
../../../../comet2 -Td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/ADDL/addl_r_adr__as1.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/ADDL/addl_r_adr__as1.casl
../../../../comet2 -Td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/ADDL/addl_r_adr__az.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/ADDL/addl_r_adr__az.casl
../../../../comet2 -Td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/ADDL/addl_r_adr__lo.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/ADDL/addl_r_adr__lo.casl
../../../../comet2 -Td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/ADDL/addl_r_adr__o.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/ADDL/addl_r_adr__o.casl
../../../../comet2 -Td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/ADDL/addl_r_adr__z.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/ADDL/addl_r_adr__z.casl
../../../../comet2 -Td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/ADDL/addl_r_adr_x.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/ADDL/addl_r_adr_x.casl
../../../../comet2 -Td -M16 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/AND/and_r1_r2.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/AND/and_r1_r2.casl
../../../../comet2 -td -M16 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/AND/and_r_adr.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/AND/and_r_adr.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/AND/and_r_adr__s.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/AND/and_r_adr__s.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/AND/and_r_adr__z.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/AND/and_r_adr__z.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/AND/and_r_adr_x.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/AND/and_r_adr_x.casl
../../../../comet2 -td -M16 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/CALL/call__inner.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/CALL/call__inner.casl
../../../../comet2 -td -M16 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/CALL/call__outer.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/CALL/call__outer.casl
../../../../comet2 -td -M16 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/CPA/cpa_r1_r2__s.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/CPA/cpa_r1_r2__s.casl
../../../../comet2 -td -M16 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/CPA/cpa_r_adr.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/CPA/cpa_r_adr.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/CPA/cpa_r_adr__ls.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/CPA/cpa_r_adr__ls.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/CPA/cpa_r_adr__s.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/CPA/cpa_r_adr__s.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/CPA/cpa_r_adr__z.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/CPA/cpa_r_adr__z.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/CPA/cpa_r_adr_x__s.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/CPA/cpa_r_adr_x__s.casl
../../../../comet2 -td -M16 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/CPL/cpl_r1_r2__s.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/CPL/cpl_r1_r2__s.casl
../../../../comet2 -td -M16 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/CPL/cpl_r_adr.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/CPL/cpl_r_adr.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/CPL/cpl_r_adr__ls.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/CPL/cpl_r_adr__ls.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/CPL/cpl_r_adr__s.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/CPL/cpl_r_adr__s.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/CPL/cpl_r_adr__z.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/CPL/cpl_r_adr__z.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/CPL/cpl_r_adr_x__s.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/CPL/cpl_r_adr_x__s.casl
../../../../comet2 -td -M16 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/DC/dc__c0.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/DC/dc__c0.casl
../../../../comet2 -td -M128 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/DC/dc__c1.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/DC/dc__c1.casl
../../../../comet2 -td -M128 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/DC/dc__i0.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/DC/dc__i0.casl
../../../../comet2 -td -M32 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/DC/dc__i1.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/DC/dc__i1.casl
../../../../comet2 -td -M32 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/DC/dc__io.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/DC/dc__io.casl
../../../../comet2 -td -M32 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/DS/ds.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/DS/ds.casl
../../../../comet2 -td -M32 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/DS/ds__0.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/DS/ds__0.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/IN/in.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/IN/in.casl
../../../../comet2 -td -M64 a.o <teststr.txt
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/JMI/jmi__m.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/JMI/jmi__m.casl
../../../../comet2 -td -M16 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/JMI/jmi__o.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/JMI/jmi__o.casl
../../../../comet2 -td -M16 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/JMI/jmi__p.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/JMI/jmi__p.casl
../../../../comet2 -td -M16 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/JMI/jmi__z.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/JMI/jmi__z.casl
../../../../comet2 -td -M16 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/JNZ/jnz__m.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/JNZ/jnz__m.casl
../../../../comet2 -td -M16 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/JNZ/jnz__o.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/JNZ/jnz__o.casl
../../../../comet2 -td -M16 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/JNZ/jnz__p.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/JNZ/jnz__p.casl
../../../../comet2 -td -M16 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/JNZ/jnz__z.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/JNZ/jnz__z.casl
../../../../comet2 -td -M16 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/JOV/jov__m.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/JOV/jov__m.casl
../../../../comet2 -td -M16 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/JOV/jov__o.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/JOV/jov__o.casl
../../../../comet2 -td -M16 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/JOV/jov__p.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/JOV/jov__p.casl
../../../../comet2 -td -M16 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/JOV/jov__z.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/JOV/jov__z.casl
../../../../comet2 -td -M16 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/JPL/jpl__m.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/JPL/jpl__m.casl
../../../../comet2 -td -M16 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/JPL/jpl__o.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/JPL/jpl__o.casl
../../../../comet2 -td -M16 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/JPL/jpl__p.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/JPL/jpl__p.casl
../../../../comet2 -td -M16 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/JPL/jpl__z.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/JPL/jpl__z.casl
../../../../comet2 -td -M16 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/JUMP/jump__m.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/JUMP/jump__m.casl
../../../../comet2 -td -M16 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/JUMP/jump__o.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/JUMP/jump__o.casl
../../../../comet2 -td -M16 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/JUMP/jump__p.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/JUMP/jump__p.casl
../../../../comet2 -td -M16 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/JUMP/jump__z.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/JUMP/jump__z.casl
../../../../comet2 -td -M16 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/JZE/jze__m.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/JZE/jze__m.casl
../../../../comet2 -td -M16 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/JZE/jze__o.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/JZE/jze__o.casl
../../../../comet2 -td -M16 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/JZE/jze__p.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/JZE/jze__p.casl
../../../../comet2 -td -M16 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/JZE/jze__z.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/JZE/jze__z.casl
../../../../comet2 -td -M16 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/LAD/lad_r_adr.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/LAD/lad_r_adr.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/LAD/lad_r_adr_x.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/LAD/lad_r_adr_x.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/LAD/lad_r_adr_x__o.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/LAD/lad_r_adr_x__o.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/LAD/lad_r_adr_x__s.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/LAD/lad_r_adr_x__s.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/LD/ld_r1_r2.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/LD/ld_r1_r2.casl
../../../../comet2 -td -M32 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/LD/ld_r_adr.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/LD/ld_r_adr.casl
../../../../comet2 -td -M16 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/LD/ld_r_adr__l.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/LD/ld_r_adr__l.casl
../../../../comet2 -td a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/LD/ld_r_adr_x.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/LD/ld_r_adr_x.casl
../../../../comet2 -td -M64 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/NOP/nop.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/NOP/nop.casl
../../../../comet2 -td -M16 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/OR/or_r1_r2.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/OR/or_r1_r2.casl
../../../../comet2 -td -M16 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/OR/or_r_adr.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/OR/or_r_adr.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/OR/or_r_adr__s.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/OR/or_r_adr__s.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/OR/or_r_adr__z.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/OR/or_r_adr__z.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/OR/or_r_adr_x.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/OR/or_r_adr_x.casl
../../../../comet2 -td -M16 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/OUT/out.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/OUT/out.casl
../../../../comet2 -td -M256 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/POP/push_pop__0.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/POP/push_pop__0.casl
../../../../comet2 -td -M64 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/POP/push_pop__1.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/POP/push_pop__1.casl
../../../../comet2 -td -M64 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/RPOP/rpop.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/RPOP/rpop.casl
../../../../comet2 -td -M64 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/RPUSH/rpush.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/RPUSH/rpush.casl
../../../../comet2 -td -M64 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/SLA/sla.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/SLA/sla.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/SLA/sla__o.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/SLA/sla__o.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/SLA/sla__os.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/SLA/sla__os.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/SLA/sla__oz.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/SLA/sla__oz.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/SLA/sla__s.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/SLA/sla__s.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/SLA/sla__z.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/SLA/sla__z.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/SLL/sll.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/SLL/sll.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/SLL/sll__o.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/SLL/sll__o.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/SLL/sll__os.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/SLL/sll__os.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/SLL/sll__oz.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/SLL/sll__oz.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/SLL/sll__s.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/SLL/sll__s.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/SLL/sll__z.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/SLL/sll__z.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/SRA/sra.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/SRA/sra.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/SRA/sra__o.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/SRA/sra__o.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/SRA/sra__os.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/SRA/sra__os.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/SRA/sra__oz.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/SRA/sra__oz.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/SRA/sra__s.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/SRA/sra__s.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/SRA/sra__z.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/SRA/sra__z.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/SRL/srl.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/SRL/srl.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/SRL/srl__o.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/SRL/srl__o.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/SRL/srl__oz.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/SRL/srl__oz.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/SRL/srl__s.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/SRL/srl__s.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/SRL/srl__z.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/SRL/srl__z.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/ST/st_r_adr.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/ST/st_r_adr.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/ST/st_r_adr_x.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/ST/st_r_adr_x.casl
../../../../comet2 -td -M16 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/SUBA/suba_r1_r2.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/SUBA/suba_r1_r2.casl
../../../../comet2 -td -M16 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/SUBA/suba_r_adr.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/SUBA/suba_r_adr.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/SUBA/suba_r_adr__ao.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/SUBA/suba_r_adr__ao.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/SUBA/suba_r_adr__as0.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/SUBA/suba_r_adr__as0.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/SUBA/suba_r_adr__as1.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/SUBA/suba_r_adr__as1.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/SUBA/suba_r_adr__lo.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/SUBA/suba_r_adr__lo.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/SUBA/suba_r_adr__o.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/SUBA/suba_r_adr__o.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/SUBA/suba_r_adr__z.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/SUBA/suba_r_adr__z.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/SUBA/suba_r_adr_x.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/SUBA/suba_r_adr_x.casl
../../../../comet2 -td -M16 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/SUBL/subl_r1_r2.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/SUBL/subl_r1_r2.casl
../../../../comet2 -Td -M16 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/SUBL/subl_r_adr.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/SUBL/subl_r_adr.casl
../../../../comet2 -Td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/SUBL/subl_r_adr__ao.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/SUBL/subl_r_adr__ao.casl
../../../../comet2 -Td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/SUBL/subl_r_adr__as0.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/SUBL/subl_r_adr__as0.casl
../../../../comet2 -Td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/SUBL/subl_r_adr__as1.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/SUBL/subl_r_adr__as1.casl
../../../../comet2 -Td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/SUBL/subl_r_adr__lo.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/SUBL/subl_r_adr__lo.casl
../../../../comet2 -Td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/SUBL/subl_r_adr__o.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/SUBL/subl_r_adr__o.casl
../../../../comet2 -Td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/SUBL/subl_r_adr__z.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/SUBL/subl_r_adr__z.casl
../../../../comet2 -Td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/SUBL/subl_r_adr_x.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/SUBL/subl_r_adr_x.casl
../../../../comet2 -Td -M16 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/SVC/svc__1.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/SVC/svc__1.casl
../../../../comet2 -td -M64 a.o <teststr.txt
-
-
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/SVC/svc__2.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/SVC/svc__2.casl
../../../../comet2 -td -M64 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/XOR/xor_r1_r2.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/XOR/xor_r1_r2.casl
../../../../comet2 -td -M16 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/XOR/xor_r1_r2__clear.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/XOR/xor_r1_r2__clear.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/XOR/xor_r_adr.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/XOR/xor_r_adr.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/XOR/xor_r_adr__s.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/XOR/xor_r_adr__s.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/XOR/xor_r_adr__z.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/XOR/xor_r_adr__z.casl
../../../../comet2 -td -M8 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/XOR/xor_r_adr_x.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/cmd/XOR/xor_r_adr_x.casl
../../../../comet2 -td -M16 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/err/err_201.casl
+ ../../../../casl2 -O $<
+
+cleanobj:
+ rm -f a.o
-YACASL2DIR=../../../..
-$YACASL2DIR/casl2 -O $YACASL2DIR/as/err/err_201.casl
-$YACASL2DIR/comet2 -M8 a.o
-rm -f a.o
+../../../../comet2 -M8 a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/err/err_202.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ rm -f a.o
-YACASL2DIR=../../../..
-$YACASL2DIR/casl2 -O $YACASL2DIR/as/err/err_202.casl
-$YACASL2DIR/comet2 -M32 a.o
-rm -f a.o
+../../../../comet2 -M32 a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/err/err_203.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/err/err_203.casl
../../../../comet2 -M8 a.o
-rm -f a.o
-make a.o >/dev/null
../../../../comet2 a.o
include ../Define.mk
include ../Test.mk
-CC := gcc
-CFLAGS := -Wall
INCLUDEDIR := ../../../../include
+CC := gcc
+CFLAGS := -Wall -Wextra -I$(INCLUDEDIR)
-.INTERMEDIATE: create_a a.o
+.INTERMEDIATE: create_a
-a.o: create_a
- ./$^
+cmd: a.o
-create_a: create_a.c
- $(CC) $(CFLAGS) -I $(INCLUDEDIR) -o $@ $^
-
-$(CMD_FILE): a.o
+a.o: create_a
+ ./$<
-clean: clean0
+clean: cleanobj
-clean0:
- @rm -f create_a
- @rm -f a.o
+cleanobj:
+ $(RM) a.o
-make a.o >/dev/null
../../../../comet2 a.o
#include "word.h"
/**
- * 引数で指定したファイルにアセンブル結果を書込
+ * ファイルa.oにアセンブル結果を書込
*/
int main()
{
include ../Define.mk
include ../Test.mk
-CC := gcc
-CFLAGS := -Wall
INCLUDEDIR := ../../../../include
+CC := gcc
+CFLAGS := -Wall -Wextra -I$(INCLUDEDIR)
-.INTERMEDIATE: create_a a.o
+.INTERMEDIATE: create_a
-a.o: create_a
- ./$^
+cmd: a.o
-create_a: create_a.c
- $(CC) $(CFLAGS) -I $(INCLUDEDIR) -o $@ $^
+a.o: create_a
+ ./$<
-$(CMD_FILE): a.o
+clean: cleanobj
-clean: clean0
+cleanobj:
+ $(RM) a.o
-clean0:
- @rm -f create_a
- @rm -f a.o
-make a.o >/dev/null
../../../../comet2 a.o
#include "word.h"
/**
- * 引数で指定したファイルにアセンブル結果を書込
+ * ファイルa.oにアセンブル結果を書込
*/
int main()
{
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o:../../../../as/err/err_207.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-YACASL2DIR=../../../..
-$YACASL2DIR/casl2 -O $YACASL2DIR/as/err/err_207.casl
-$YACASL2DIR/comet2 -M8 a.o
-rm -f a.o
+../../../../comet2 -M8 a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o teststr.txt
+
+a.o: ../../../../as/err/err_208.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/err/err_208.casl
../../../../comet2 -M32 a.o <teststr.txt
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/err/err_209.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/err/err_209.casl
../../../../comet2 -M32 a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/cmd/ADDA/adda_r_adr.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
+
-../../../../casl2 -O ../../../../as/cmd/ADDA/adda_r_adr.casl
../../../../comet2 -M2 a.o
-rm -f a.o
../../../../comet2 -M8
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/sample/sum_10.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/sample/sum_10.casl
../../../../comet2 -T a.o
-rm -f a.o
+../../../../comet2: invalid option -- 'z'
Usage: ../../../../comet2 [-tTdmvh] [-M <MEMORYSIZE>] [-C <CLOCKS>] FILE
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/sample/sum_10.casl
+ ../../../../casl2 -O $<
-../../../../casl2 -O ../../../../as/sample/sum_10.casl
-../../../../comet2 -z a.o 2>&1 | tail -1 1>&2
-rm -f a.o
+../../../../comet2 -z a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/sample/sum_10.casl
+ ../../../../casl2 -O $<
-../../../../casl2 -O ../../../../as/sample/sum_10.casl
../../../../comet2 -t a.o
-rm -f a.o
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/sample/sum_10.casl
+ ../../../../casl2 -O $<
+
+clean: cleanobj
+
+cleanobj:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/sample/sum_10.casl
../../../../comet2 -td a.o
-rm -f a.o
include ../Test.mk
CC := gcc
-CFLAGS := -Wall
+CFLAGS := -Wall -Wextra
INCLUDEDIR := ../../../../include
-.INTERMEDIATE: create_a a.o
+cmd: a.o
a.o: create_a
./$^
create_a: create_a.c
$(CC) $(CFLAGS) -I $(INCLUDEDIR) -o $@ $^
-$(CMD_FILE): a.o
+clean: cleanobj
-clean: clean0
-
-clean0:
- @rm -f create_a
- @rm -f a.o
+cleanobj:
+ rm -f create_a
+ rm -f a.o
-make a.o >/dev/null
../../../../comet2 -td a.o
*/
int main()
{
- FILE *fp;
+ FILE *fp = NULL;
const WORD w[] = {0x1010, 0x0005, 0x2210, 0x0006, 0x8100, 0x0003, 0x0001};
const char *f = "a.o";
}
fwrite(w, sizeof(WORD), ARRAYSIZE(w), fp);
fclose(fp);
+ FREE(fp);
return 0;
}
include ../Define.mk
include ../Test.mk
+
+cmd: a.o
+
+a.o: ../../../../as/sample/hello.casl
+ ../../../../casl2 -O $<
+
+clean: objclean
+
+objclean:
+ $(RM) a.o
-../../../../casl2 -O ../../../../as/sample/hello.casl
../../../../comet2 a.o
-rm -f a.o
--- /dev/null
+../../../../monitor/break_help.monitor
\ No newline at end of file
-cd ../../../.. && ./comet2monitor <monitor/break_help.monitor
+../../../../comet2monitor <break_help.monitor
--- /dev/null
+../../../../monitor/break_help_2.monitor
\ No newline at end of file
-cd ../../../.. && ./comet2monitor <monitor/break_help_2.monitor
+../../../../comet2monitor <break_help_2.monitor
COMET II machine code monitor. Type ? for help.
-(comet2 monitor) l as/sample/sum_10.o
+(comet2 monitor) l sum_10.o
(comet2 monitor) d
#0000: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F
-------------------------------------------------------------------------------------
-cd ../../../.. && ./comet2monitor <monitor/dump_0.monitor
+../../../../comet2monitor <dump_0.monitor
--- /dev/null
+../../../../monitor/dump_0.monitor
\ No newline at end of file
COMET II machine code monitor. Type ? for help.
-(comet2 monitor) l as/sample/sum_10.o
+(comet2 monitor) l sum_10.o
(comet2 monitor) d 0
#0000: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F
-------------------------------------------------------------------------------------
-cd ../../../.. && ./comet2monitor <monitor/dump_1.monitor
+../../../../comet2monitor <dump_1.monitor
--- /dev/null
+../../../../monitor/dump_1.monitor
\ No newline at end of file
COMET II machine code monitor. Type ? for help.
-(comet2 monitor) l as/sample/sum_10.o
+(comet2 monitor) l sum_10.o
(comet2 monitor) d 0 #20
#0000: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F
-------------------------------------------------------------------------------------
-cd ../../../.. && ./comet2monitor <monitor/dump_2.monitor
+../../../../comet2monitor <dump_2.monitor
--- /dev/null
+../../../../monitor/dump_2.monitor
\ No newline at end of file
COMET II machine code monitor. Type ? for help.
-(comet2 monitor) l as/sample/sum_10.o
+(comet2 monitor) l sum_10.o
(comet2 monitor) d 0 #20 #40
#0000: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F
-------------------------------------------------------------------------------------
-cd ../../../.. && ./comet2monitor <monitor/dump_3.monitor
+../../../../comet2monitor <dump_3.monitor
--- /dev/null
+../../../../monitor/dump_3.monitor
\ No newline at end of file
COMET II machine code monitor. Type ? for help.
-(comet2 monitor) l as/sample/sum_10.o
+(comet2 monitor) l sum_10.o
(comet2 monitor) d 0 +#20
#0000: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F
-------------------------------------------------------------------------------------
-cd ../../../.. && ./comet2monitor <monitor/dump_plus.monitor
+../../../../comet2monitor <dump_plus.monitor
--- /dev/null
+../../../../monitor/dump_plus.monitor
\ No newline at end of file
-cd ../../../.. && ./comet2monitor <monitor/help.monitor
+../../../../comet2monitor <help.monitor
--- /dev/null
+../../../../monitor/help.monitor
\ No newline at end of file
COMET II machine code monitor. Type ? for help.
-(comet2 monitor) l as/sample/sum_10.o
+(comet2 monitor) l sum_10.o
(comet2 monitor) d
#0000: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F
-------------------------------------------------------------------------------------
-cd ../../../.. && ./comet2monitor <monitor/load.monitor
+../../../../comet2monitor <load.monitor
--- /dev/null
+../../../../monitor/load.monitor
\ No newline at end of file
-cd ../../../.. && ./comet2monitor <monitor/quit.monitor
+../../../../comet2monitor <quit.monitor
--- /dev/null
+../../../../monitor/quit.monitor
\ No newline at end of file
COMET II machine code monitor. Type ? for help.
-(comet2 monitor) l as/sample/hello.o
+(comet2 monitor) l hello.o
(comet2 monitor) d a 0 #22
#0000: adr : 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F
-------------------------------------------------------------------------------------
-cd ../../../.. && ./comet2monitor <monitor/revert_hello.monitor
+../../../../comet2monitor <revert_hello.monitor
--- /dev/null
+../../../../monitor/revert_hello.monitor
\ No newline at end of file
--- /dev/null
+ 0: 0 = #0000 = 0000000000000000
--- /dev/null
+../../../../dumpword 0
--- /dev/null
+ 1: 1 = #0001 = 0000000000000001
--- /dev/null
+../../../../dumpword 1
--- /dev/null
+ 10: 10 = #000A = 0000000000001010 = '\n'
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword 10
--- /dev/null
+ 32767: 32767 = #7FFF = 0111111111111111
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword 32767
--- /dev/null
+ 32768: -32768 = #8000 = 1000000000000000
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword 32768
--- /dev/null
+ 65535: -1 = #FFFF = 1111111111111111
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword 65535
--- /dev/null
+ 65536: 0 = #0000 = 0000000000000000
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword 65536
--- /dev/null
+ 65537: 1 = #0001 = 0000000000000001
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword 65537
--- /dev/null
+Dumpword Error - 114: G: not integer
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword G
+++ /dev/null
- 0: 0 = #0000 = 0000000000000000
- 1: 1 = #0001 = 0000000000000001
- 10: 10 = #000A = 0000000000001010 = '\n'
- 32767: 32767 = #7FFF = 0111111111111111
- 32768: -32768 = #8000 = 1000000000000000
- 65535: -1 = #FFFF = 1111111111111111
- 65536: 0 = #0000 = 0000000000000000
- 65537: 1 = #0001 = 0000000000000001
- -1: -1 = #FFFF = 1111111111111111
- -10: -10 = #FFF6 = 1111111111110110
--32767: -32767 = #8001 = 1000000000000001
--32768: -32768 = #8000 = 1000000000000000
--32769: 32767 = #7FFF = 0111111111111111
- #0: 0 = #0000 = 0000000000000000
- #1: 1 = #0001 = 0000000000000001
- #01: 1 = #0001 = 0000000000000001
- #001: 1 = #0001 = 0000000000000001
- #0001: 1 = #0001 = 0000000000000001
- #10: 16 = #0010 = 0000000000010000
- #11: 17 = #0011 = 0000000000010001
- #F: 15 = #000F = 0000000000001111
- #000F: 15 = #000F = 0000000000001111
- #FFFF: -1 = #FFFF = 1111111111111111
-Dumpword Error - 116: #00001: out of hex range
-Dumpword Error - 115: #G: not hex
-Dumpword Error - 114: G: not integer
-Dumpword Error - 114: g: not integer
+++ /dev/null
-../../../../dumpword -a 0
-../../../../dumpword -a 1
-../../../../dumpword -a 10
-../../../../dumpword -a 32767
-../../../../dumpword -a 32768
-../../../../dumpword -a 65535
-../../../../dumpword -a 65536
-../../../../dumpword -a 65537
-../../../../dumpword -a -- -1
-../../../../dumpword -a -- -10
-../../../../dumpword -a -- -32767
-../../../../dumpword -a -- -32768
-../../../../dumpword -a -- -32769
-../../../../dumpword -a '#0'
-../../../../dumpword -a '#1'
-../../../../dumpword -a '#01'
-../../../../dumpword -a '#001'
-../../../../dumpword -a '#0001'
-../../../../dumpword -a '#10'
-../../../../dumpword -a '#11'
-../../../../dumpword -a '#F'
-../../../../dumpword -a '#000F'
-../../../../dumpword -a '#FFFF'
-../../../../dumpword -a '#00001'
-../../../../dumpword -a '#G'
-../../../../dumpword -a G
-../../../../dumpword -a g
--- /dev/null
+ 0: 0 = #0000 = 0000000000000000
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -a 0
--- /dev/null
+ 1: 1 = #0001 = 0000000000000001
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -a 1
--- /dev/null
+ 10: 10 = #000A = 0000000000001010 = '\n'
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -a 10
--- /dev/null
+ 32767: 32767 = #7FFF = 0111111111111111
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -a 32767
--- /dev/null
+ 32768: -32768 = #8000 = 1000000000000000
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -a 32768
--- /dev/null
+ 65535: -1 = #FFFF = 1111111111111111
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -a 65535
--- /dev/null
+ 65536: 0 = #0000 = 0000000000000000
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -a 65536
--- /dev/null
+ 65537: 1 = #0001 = 0000000000000001
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -a 65537
--- /dev/null
+Dumpword Error - 114: G: not integer
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -a G
--- /dev/null
+ -1: -1 = #FFFF = 1111111111111111
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -a -- -1
--- /dev/null
+ -10: -10 = #FFF6 = 1111111111110110
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -a -- -10
--- /dev/null
+-32767: -32767 = #8001 = 1000000000000001
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -a -- -32767
--- /dev/null
+-32768: -32768 = #8000 = 1000000000000000
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -a -- -32768
--- /dev/null
+-32769: 32767 = #7FFF = 0111111111111111
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -a -- -32769
--- /dev/null
+ #0: 0 = #0000 = 0000000000000000
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -a '#0'
--- /dev/null
+Dumpword Error - 116: #00001: out of hex range
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -a '#00001'
--- /dev/null
+ #0001: 1 = #0001 = 0000000000000001
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -a '#0001'
--- /dev/null
+ #000F: 15 = #000F = 0000000000001111
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -a '#000F'
--- /dev/null
+ #001: 1 = #0001 = 0000000000000001
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -a '#001'
--- /dev/null
+ #01: 1 = #0001 = 0000000000000001
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -a '#01'
--- /dev/null
+ #1: 1 = #0001 = 0000000000000001
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -a '#1'
--- /dev/null
+ #10: 16 = #0010 = 0000000000010000
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -a '#10'
--- /dev/null
+ #11: 17 = #0011 = 0000000000010001
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -a '#11'
--- /dev/null
+ #F: 15 = #000F = 0000000000001111
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -a '#F'
--- /dev/null
+ #FFFF: -1 = #FFFF = 1111111111111111
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -a '#FFFF'
--- /dev/null
+Dumpword Error - 115: #G: not hex
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -a '#G'
-../../../../dumpword 0
-../../../../dumpword 1
-../../../../dumpword 2
-../../../../dumpword 3
-../../../../dumpword 4
-../../../../dumpword 5
-../../../../dumpword 6
-../../../../dumpword 7
-../../../../dumpword 8
-../../../../dumpword 9
-../../../../dumpword 10
-../../../../dumpword 11
-../../../../dumpword 12
-../../../../dumpword 13
-../../../../dumpword 14
-../../../../dumpword 15
-../../../../dumpword 16
-../../../../dumpword 17
-../../../../dumpword 18
-../../../../dumpword 19
-../../../../dumpword 20
-../../../../dumpword 21
-../../../../dumpword 22
-../../../../dumpword 23
-../../../../dumpword 24
-../../../../dumpword 25
-../../../../dumpword 26
-../../../../dumpword 27
-../../../../dumpword 28
-../../../../dumpword 29
-../../../../dumpword 30
-../../../../dumpword 31
-../../../../dumpword 32
-../../../../dumpword 33
-../../../../dumpword 34
-../../../../dumpword 35
-../../../../dumpword 36
-../../../../dumpword 37
-../../../../dumpword 38
-../../../../dumpword 39
-../../../../dumpword 40
-../../../../dumpword 41
-../../../../dumpword 42
-../../../../dumpword 43
-../../../../dumpword 44
-../../../../dumpword 45
-../../../../dumpword 46
-../../../../dumpword 47
-../../../../dumpword 48
-../../../../dumpword 49
-../../../../dumpword 50
-../../../../dumpword 51
-../../../../dumpword 52
-../../../../dumpword 53
-../../../../dumpword 54
-../../../../dumpword 55
-../../../../dumpword 56
-../../../../dumpword 57
-../../../../dumpword 58
-../../../../dumpword 59
-../../../../dumpword 60
-../../../../dumpword 61
-../../../../dumpword 62
-../../../../dumpword 63
-../../../../dumpword 64
-../../../../dumpword 65
-../../../../dumpword 66
-../../../../dumpword 67
-../../../../dumpword 68
-../../../../dumpword 69
-../../../../dumpword 70
-../../../../dumpword 71
-../../../../dumpword 72
-../../../../dumpword 73
-../../../../dumpword 74
-../../../../dumpword 75
-../../../../dumpword 76
-../../../../dumpword 77
-../../../../dumpword 78
-../../../../dumpword 79
-../../../../dumpword 80
-../../../../dumpword 81
-../../../../dumpword 82
-../../../../dumpword 83
-../../../../dumpword 84
-../../../../dumpword 85
-../../../../dumpword 86
-../../../../dumpword 87
-../../../../dumpword 88
-../../../../dumpword 89
-../../../../dumpword 90
-../../../../dumpword 91
-../../../../dumpword 92
-../../../../dumpword 93
-../../../../dumpword 94
-../../../../dumpword 95
-../../../../dumpword 96
-../../../../dumpword 97
-../../../../dumpword 98
-../../../../dumpword 99
-../../../../dumpword 100
-../../../../dumpword 101
-../../../../dumpword 102
-../../../../dumpword 103
-../../../../dumpword 104
-../../../../dumpword 105
-../../../../dumpword 106
-../../../../dumpword 107
-../../../../dumpword 108
-../../../../dumpword 109
-../../../../dumpword 110
-../../../../dumpword 111
-../../../../dumpword 112
-../../../../dumpword 113
-../../../../dumpword 114
-../../../../dumpword 115
-../../../../dumpword 116
-../../../../dumpword 117
-../../../../dumpword 118
-../../../../dumpword 119
-../../../../dumpword 120
-../../../../dumpword 121
-../../../../dumpword 122
-../../../../dumpword 123
-../../../../dumpword 124
-../../../../dumpword 125
-../../../../dumpword 126
-../../../../dumpword 127
+for i in `seq 0 127`; do ../../../../dumpword ${i}; done
--- /dev/null
+../../../../dumpword 33
+++ /dev/null
- 0: 0 = #0000 = 0000000000000000
- 1: 1 = #0001 = 0000000000000001
- 10: 10 = #000A = 0000000000001010 = '\n'
- 32767: 32767 = #7FFF = 0111111111111111
- 32768: 32768 = #8000 = 1000000000000000
- 65535: 65535 = #FFFF = 1111111111111111
- 65536: 0 = #0000 = 0000000000000000
- 65537: 1 = #0001 = 0000000000000001
- -1: 65535 = #FFFF = 1111111111111111
- -10: 65526 = #FFF6 = 1111111111110110
--32767: 32769 = #8001 = 1000000000000001
--32768: 32768 = #8000 = 1000000000000000
--32769: 32767 = #7FFF = 0111111111111111
- #0: 0 = #0000 = 0000000000000000
- #1: 1 = #0001 = 0000000000000001
- #01: 1 = #0001 = 0000000000000001
- #001: 1 = #0001 = 0000000000000001
- #0001: 1 = #0001 = 0000000000000001
- #10: 16 = #0010 = 0000000000010000
- #11: 17 = #0011 = 0000000000010001
- #F: 15 = #000F = 0000000000001111
- #000F: 15 = #000F = 0000000000001111
- #FFFF: 65535 = #FFFF = 1111111111111111
-Dumpword Error - 116: #00001: out of hex range
-Dumpword Error - 115: #G: not hex
-Dumpword Error - 114: G: not integer
-Dumpword Error - 114: g: not integer
+++ /dev/null
-../../../../dumpword -l 0
-../../../../dumpword -l 1
-../../../../dumpword -l 10
-../../../../dumpword -l 32767
-../../../../dumpword -l 32768
-../../../../dumpword -l 65535
-../../../../dumpword -l 65536
-../../../../dumpword -l 65537
-../../../../dumpword -l -- -1
-../../../../dumpword -l -- -10
-../../../../dumpword -l -- -32767
-../../../../dumpword -l -- -32768
-../../../../dumpword -l -- -32769
-../../../../dumpword -l '#0'
-../../../../dumpword -l '#1'
-../../../../dumpword -l '#01'
-../../../../dumpword -l '#001'
-../../../../dumpword -l '#0001'
-../../../../dumpword -l '#10'
-../../../../dumpword -l '#11'
-../../../../dumpword -l '#F'
-../../../../dumpword -l '#000F'
-../../../../dumpword -l '#FFFF'
-../../../../dumpword -l '#00001'
-../../../../dumpword -l '#G'
-../../../../dumpword -l G
-../../../../dumpword -l g
--- /dev/null
+ 0: 0 = #0000 = 0000000000000000
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -l 0
--- /dev/null
+ 1: 1 = #0001 = 0000000000000001
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -l 1
--- /dev/null
+ 10: 10 = #000A = 0000000000001010 = '\n'
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -l 10
--- /dev/null
+ 32767: 32767 = #7FFF = 0111111111111111
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -l 32767
--- /dev/null
+ 32768: 32768 = #8000 = 1000000000000000
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -l 32768
--- /dev/null
+ 65535: 65535 = #FFFF = 1111111111111111
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -l 65535
--- /dev/null
+ 65536: 0 = #0000 = 0000000000000000
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -l 65536
--- /dev/null
+ 65537: 1 = #0001 = 0000000000000001
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -l 65537
--- /dev/null
+Dumpword Error - 114: G: not integer
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -l G
--- /dev/null
+ -1: 65535 = #FFFF = 1111111111111111
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -l -- -1
--- /dev/null
+ -10: 65526 = #FFF6 = 1111111111110110
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -l -- -10
--- /dev/null
+-32767: 32769 = #8001 = 1000000000000001
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -l -- -32767
--- /dev/null
+-32768: 32768 = #8000 = 1000000000000000
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -l -- -32768
--- /dev/null
+-32769: 32767 = #7FFF = 0111111111111111
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -l -- -32769
--- /dev/null
+ #0: 0 = #0000 = 0000000000000000
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -l '#0'
--- /dev/null
+Dumpword Error - 116: #00001: out of hex range
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -l '#00001'
--- /dev/null
+ #0001: 1 = #0001 = 0000000000000001
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -l '#0001'
--- /dev/null
+ #000F: 15 = #000F = 0000000000001111
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -l '#000F'
--- /dev/null
+ #001: 1 = #0001 = 0000000000000001
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -l '#001'
--- /dev/null
+ #01: 1 = #0001 = 0000000000000001
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -l '#01'
--- /dev/null
+ #1: 1 = #0001 = 0000000000000001
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -l '#1'
--- /dev/null
+ #10: 16 = #0010 = 0000000000010000
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -l '#10'
--- /dev/null
+ #11: 17 = #0011 = 0000000000010001
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -l '#11'
--- /dev/null
+ #F: 15 = #000F = 0000000000001111
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -l '#F'
--- /dev/null
+ #FFFF: 65535 = #FFFF = 1111111111111111
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -l '#FFFF'
--- /dev/null
+Dumpword Error - 115: #G: not hex
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -l '#G'
--- /dev/null
+ -1: -1 = #FFFF = 1111111111111111
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -- -1
--- /dev/null
+ -10: -10 = #FFF6 = 1111111111110110
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -- -10
--- /dev/null
+-32767: -32767 = #8001 = 1000000000000001
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -- -32767
--- /dev/null
+-32768: -32768 = #8000 = 1000000000000000
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -- -32768
--- /dev/null
+-32769: 32767 = #7FFF = 0111111111111111
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword -- -32769
+++ /dev/null
- 0: 0 = #0000 = 0000000000000000
- 1: 1 = #0001 = 0000000000000001
- 10: 10 = #000A = 0000000000001010 = '\n'
- 32767: 32767 = #7FFF = 0111111111111111
- 32768: -32768 = #8000 = 1000000000000000
- 65535: -1 = #FFFF = 1111111111111111
- 65536: 0 = #0000 = 0000000000000000
- 65537: 1 = #0001 = 0000000000000001
- -1: -1 = #FFFF = 1111111111111111
- -10: -10 = #FFF6 = 1111111111110110
--32767: -32767 = #8001 = 1000000000000001
--32768: -32768 = #8000 = 1000000000000000
--32769: 32767 = #7FFF = 0111111111111111
- #0: 0 = #0000 = 0000000000000000
- #1: 1 = #0001 = 0000000000000001
- #01: 1 = #0001 = 0000000000000001
- #001: 1 = #0001 = 0000000000000001
- #0001: 1 = #0001 = 0000000000000001
- #10: 16 = #0010 = 0000000000010000
- #11: 17 = #0011 = 0000000000010001
- #F: 15 = #000F = 0000000000001111
- #000F: 15 = #000F = 0000000000001111
- #FFFF: -1 = #FFFF = 1111111111111111
-Dumpword Error - 116: #00001: out of hex range
-Dumpword Error - 115: #G: not hex
-Dumpword Error - 114: G: not integer
-Dumpword Error - 114: g: not integer
+++ /dev/null
-../../../../dumpword 0
-../../../../dumpword 1
-../../../../dumpword 10
-../../../../dumpword 32767
-../../../../dumpword 32768
-../../../../dumpword 65535
-../../../../dumpword 65536
-../../../../dumpword 65537
-../../../../dumpword -- -1
-../../../../dumpword -- -10
-../../../../dumpword -- -32767
-../../../../dumpword -- -32768
-../../../../dumpword -- -32769
-../../../../dumpword '#0'
-../../../../dumpword '#1'
-../../../../dumpword '#01'
-../../../../dumpword '#001'
-../../../../dumpword '#0001'
-../../../../dumpword '#10'
-../../../../dumpword '#11'
-../../../../dumpword '#F'
-../../../../dumpword '#000F'
-../../../../dumpword '#FFFF'
-../../../../dumpword '#00001'
-../../../../dumpword '#G'
-../../../../dumpword G
-../../../../dumpword g
--- /dev/null
+ #0: 0 = #0000 = 0000000000000000
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword '#0'
--- /dev/null
+Dumpword Error - 116: #00001: out of hex range
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword '#00001'
--- /dev/null
+ #0001: 1 = #0001 = 0000000000000001
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword '#0001'
--- /dev/null
+ #000F: 15 = #000F = 0000000000001111
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword '#000F'
--- /dev/null
+ #001: 1 = #0001 = 0000000000000001
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword '#001'
--- /dev/null
+ #01: 1 = #0001 = 0000000000000001
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword '#01'
--- /dev/null
+ #1: 1 = #0001 = 0000000000000001
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword '#1'
--- /dev/null
+ #10: 16 = #0010 = 0000000000010000
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword '#10'
--- /dev/null
+ #11: 17 = #0011 = 0000000000010001
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword '#11'
--- /dev/null
+ #F: 15 = #000F = 0000000000001111
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword '#F'
--- /dev/null
+ #FFFF: -1 = #FFFF = 1111111111111111
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword '#FFFF'
--- /dev/null
+Dumpword Error - 115: #G: not hex
--- /dev/null
+include ../Define.mk
+include ../Test.mk
--- /dev/null
+../../../../dumpword '#G'