-;;; OUT buf.len
+;;; OUT buf,len
MAIN START
OUT BUF1,L1
OUT BUF2,L2
--- /dev/null
+MAIN START
+ LD GR1,B
+ RET
+A DC 7
+ END
--- /dev/null
+MAIN START
+ LD GR1,A23456789
+ RET
+A23456789 DC 7
+ END
--- /dev/null
+MAIN START
+ LD GR1,A
+ RET
+A
+ END
--- /dev/null
+ START
+ LD GR1,A
+ RET
+A DC 1
+ END
--- /dev/null
+MAIN START
+ LD GR1
+ RET
+A DC 1
+ END
MAIN START
- LEA GR1,GR2
+ ST GR1,GR2
RET
END
MAIN START
- LEA GR1,A
+ CALL GR1,A
RET
A DC 3
END
--- /dev/null
+MAIN START
+ LD A
+ RET
+A DC 3
+ END
--- /dev/null
+MAIN START
+ LAD
+ RET
+ END
--- /dev/null
+MAIN START
+ LD GR1,A,1,2
+ RET
+A DC 0,1,2,3
+ END
--- /dev/null
+MAIN START
+ LD GR1,-A
+ RET
+ END
--- /dev/null
+MAIN START
+ LD GR1,#G
+ RET
+ END
--- /dev/null
+MAIN START
+ LD GR1,#10000
+ RET
+ END
--- /dev/null
+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
--- /dev/null
+;;; 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
--- /dev/null
+MAIN START
+ LAD GR0,1
+ LD GR1,A,GR0
+ RET
+A DC 7,-7
+ END
--- /dev/null
+;;; casl2 -O err_201.casl && comet2 -M8 a.o
+MAIN START
+ LD GR0,A
+ LD GR0,B
+ LD GR0,C
+ RET
+A DC 7
+B DC -7
+C DC 0
+ END
--- /dev/null
+;;; casl2 -M32 err_202.casl <teststr.txt
+MAIN START
+ IN IBUF,ILEN
+FIN RET
+IBUF DS 10
+ILEN DS 1
+ END
--- /dev/null
+;;; casl2 -M32 err_203.casl
+MAIN START
+ OUT BUF,LEN
+ RET
+BUF DC ' !'
+LEN DC 60
+ END
--- /dev/null
+;;; casl2 -M8 err_204.casl
+MAIN START
+ JUMP #FFFF
+FIN RET
+ END
--- /dev/null
+;;; casl2 -M32 err_205.casl
+MAIN START
+ RPUSH
+ LD GR0,A
+ RPOP
+ RET
+A DC 7
+ END
--- /dev/null
+;;; casl2 -M8 err_206.casl
+MAIN START
+ LD GR1,#FFFF
+ RET
+ END
--- /dev/null
+;;; casl2 -M8 err_207.casl
+MAIN START
+ POP GR1
+ RET
+ END
--- /dev/null
+12345678901234567890123456789012345678901234567890123456789012345678901234567890
+
Assemble ../../../../as/cmd/OUT/out.casl (0)
Assemble ../../../../as/cmd/OUT/out.casl (1)
-../../../../as/cmd/OUT/out.casl: 1:;;; OUT buf.len
+../../../../as/cmd/OUT/out.casl: 1:;;; OUT buf,len
../../../../as/cmd/OUT/out.casl: 2:MAIN START
../../../../as/cmd/OUT/out.casl: 3: OUT BUF1,L1
#0000 #7001
--- /dev/null
+../../../../casl2 ../../../../as/err/err_101.casl
+Assemble error - 101: A: label already defined
+../../../../as/err/err_101.casl: 6:A DC 1
--- /dev/null
+include ../CMD.mk # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_101.casl
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
--- /dev/null
+../../../../casl2 ../../../../as/err/err_103.casl
+Assemble error - 103: B: label not found
+../../../../as/err/err_103.casl: 2: LD GR1,B
--- /dev/null
+include ../CMD.mk # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_103.casl
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
--- /dev/null
+../../../../casl2 ../../../../as/err/err_104.casl
+Assemble error - 104: A23456789: label length is too long
+../../../../as/err/err_104.casl: 4:A23456789 DC 7
--- /dev/null
+include ../CMD.mk # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_104.casl
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
--- /dev/null
+../../../../casl2 ../../../../as/err/err_105.casl
+Assemble error - 105: no command in the line
+../../../../as/err/err_105.casl: 4:A
--- /dev/null
+include ../CMD.mk # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_105.casl
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
--- /dev/null
+../../../../casl2 ../../../../as/err/err_106_DC.casl
+Assemble error - 106: operand mismatch in assemble command
+../../../../as/err/err_106_DC.casl: 3: DC
--- /dev/null
+include ../CMD.mk # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_106_DC.casl
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
--- /dev/null
+../../../../casl2 ../../../../as/err/err_106_DS.casl
+Assemble error - 106: operand mismatch in assemble command
+../../../../as/err/err_106_DS.casl: 4:A DS
--- /dev/null
+include ../CMD.mk # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_106_DS.casl
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
--- /dev/null
+../../../../casl2 ../../../../as/err/err_107.casl
+Assemble error - 107: no label in START
+../../../../as/err/err_107.casl: 1: START
--- /dev/null
+include ../CMD.mk # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_107.casl
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
--- /dev/null
+../../../../casl2 ../../../../as/err/err_108.casl
+Assemble error - 108: LD: not command of operand "r"
+../../../../as/err/err_108.casl: 2: LD GR1
--- /dev/null
+include ../CMD.mk # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_108.casl
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
--- /dev/null
+../../../../casl2 ../../../../as/err/err_109.casl
+Assemble error - 109: ST: not command of operand "r1,r2"
+../../../../as/err/err_109.casl: 2: ST GR1,GR2
--- /dev/null
+include ../CMD.mk # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_109.casl
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
--- /dev/null
+../../../../casl2 ../../../../as/err/err_110.casl
+Assemble error - 110: CALL: not command of operand "r,adr[,x]"
+../../../../as/err/err_110.casl: 2: CALL GR1,A
--- /dev/null
+include ../CMD.mk # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_110.casl
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
--- /dev/null
+../../../../casl2 ../../../../as/err/err_111.casl
+Assemble error - 111: LD: not command of operand "adr[,x]"
+../../../../as/err/err_111.casl: 2: LD A
--- /dev/null
+include ../CMD.mk # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_111.casl
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
--- /dev/null
+../../../../casl2 ../../../../as/err/err_112.casl
+Assemble error - 112: LAD: not command of no operand
+../../../../as/err/err_112.casl: 2: LAD
--- /dev/null
+include ../CMD.mk # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_112.casl
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
--- /dev/null
+../../../../casl2 ../../../../as/err/err_113.casl
+Assemble error - 113: LD: operand too many in machine command
+../../../../as/err/err_113.casl: 2: LD GR1,A,1,2
--- /dev/null
+include ../CMD.mk # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_113.casl
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
--- /dev/null
+../../../../casl2 ../../../../as/err/err_114.casl
+Assemble error - 114: -A: not integer
+../../../../as/err/err_114.casl: 2: LD GR1,-A
--- /dev/null
+include ../CMD.mk # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_114.casl
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
--- /dev/null
+../../../../casl2 ../../../../as/err/err_115.casl
+Assemble error - 115: #G: not hex
+../../../../as/err/err_115.casl: 2: LD GR1,#G
--- /dev/null
+include ../CMD.mk # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_115.casl
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
--- /dev/null
+../../../../casl2 ../../../../as/err/err_116.casl
+Assemble error - 116: #10000: out of hex range
+../../../../as/err/err_116.casl: 2: LD GR1,#10000
--- /dev/null
+include ../CMD.mk # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_116.casl
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
--- /dev/null
+../../../../casl2 ../../../../as/err/err_117.casl
+Assemble error - 117: operand too many in DC
+../../../../as/err/err_117.casl: 3: DC 1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1
--- /dev/null
+include ../CMD.mk # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_117.casl
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
--- /dev/null
+../../../../casl2 ../../../../as/err/err_118.casl
+Assemble error - 118: operand length too long
+../../../../as/err/err_118.casl: 3: DC '12345678901234567890123456789012345678901'
--- /dev/null
+include ../CMD.mk # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_118.casl
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
--- /dev/null
+../../../../casl2 -M8 ../../../../as/err/err_119.casl
+Assemble error - 119: 8: out of COMET II memory
+../../../../as/err/err_119.casl: 8:B DC -7
--- /dev/null
+include ../CMD.mk # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_119.casl
+CASL2FLAG = -M8
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
--- /dev/null
+../../../../casl2 ../../../../as/err/err_120.casl
+Assemble error - 120: GR0 in operand x
+../../../../as/err/err_120.casl: 3: LD GR1,A,GR0
--- /dev/null
+include ../CMD.mk # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_120.casl
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
--- /dev/null
+../../../../casl2 ../../../../as/err/err_121.casl
+Assemble error - 121: cannot get operand token
+../../../../as/err/err_121.casl: 2:BEGIN LD GR1, A
--- /dev/null
+include ../CMD.mk # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_121.casl
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
--- /dev/null
+../../../../casl2 ../../../../as/err/err_123.casl
+Assemble error - 123: unclosed quote
+../../../../as/err/err_123.casl: 4:BUF DC 'Hello, World!
--- /dev/null
+include ../CMD.mk # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_123.casl
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
--- /dev/null
+../../../../casl2 ../../../../as/err/err_124.casl
+Assemble error - 124: 'ab': more than one character in literal
+../../../../as/err/err_124.casl: 2: LAD GR1,='ab'
--- /dev/null
+include ../CMD.mk # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_124.casl
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
--- /dev/null
+../../../../casl2 ../../../../as/err/err_125.casl
+Assemble error - 125: LD: not GR in operand x
+../../../../as/err/err_125.casl: 2: LD GR1,A,1
--- /dev/null
+include ../CMD.mk # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_125.casl
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
--- /dev/null
+../../../../casl2 -M32 ../../../../as/err/err_202.casl
+Execute error - 202: SVC input - out of Input memory
--- /dev/null
+include ../CMD.mk # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_202.casl
+CASL2FLAG = -M32
+INFILE = $(YACASL2DIR)/as/err/teststr.txt
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE) <$(INFILE)
+include ../TEST.mk
--- /dev/null
+../../../../casl2 -M32 ../../../../as/err/err_203.casl
+ !<
+........Execute error - 203: SVC output - out of COMET II memory
--- /dev/null
+include ../CMD.mk # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_203.casl
+CASL2FLAG = -M32
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
--- /dev/null
+../../../../casl2 -M8 ../../../../as/err/err_204.casl
+Execute error - 204: PR:#FFFF: Program Register (PR) - out of COMET II memory
--- /dev/null
+include ../CMD.mk # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_204.casl
+CASL2FLAG = -M8
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
--- /dev/null
+../../../../casl2 -M32 ../../../../as/err/err_205.casl
+Execute error - 205: PR:#000E: Stack Pointer (SP) - cannot allocate stack buffer
--- /dev/null
+include ../CMD.mk # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_205.casl
+CASL2FLAG = -M32
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
--- /dev/null
+../../../../casl2 -M8 ../../../../as/err/err_206.casl
+Execute error - 206: PR:#0001: Address - out of COMET II memory
--- /dev/null
+include ../CMD.mk # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_206.casl
+CASL2FLAG = -M8
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk
--- /dev/null
+../../../../casl2 -M8 ../../../../as/err/err_207.casl
+Execute error - 207: PR:#0001: Stack Pointer (SP) - out of COMET II memory
--- /dev/null
+include ../CMD.mk # YACASL2DIR, CASL2
+ASDIR = $(YACASL2DIR)/as
+CASL2LIBDIR = $(YACASL2DIR)/as/casl2lib
+ASFILE = $(YACASL2DIR)/as/err/err_207.casl
+CASL2FLAG = -M8
+CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
+include ../TEST.mk