--- /dev/null
+MAIN START
+ LD GR1,A
+ AND GR1,B
+ RET
+A DC #8000
+B DC #FFFF
+ END
--- /dev/null
+MAIN START
+ LD GR1,A
+ AND GR1,B
+ RET
+A DC #0001
+B DC #FFFE
+ END
--- /dev/null
+MAIN START
+ LD GR1,A
+ LD GR2,B
+ AND GR1,GR2
+ RET
+A DC #8000
+B DC #FFFF
+ END
--- /dev/null
+MAIN START
+ LD GR1,A
+ LD GR2,B
+ AND GR1,GR2
+ RET
+A DC #1
+B DC #FFFE
+ END
-MAIN START BEGIN
-BEGIN LD GR1,A
+MAIN START
+ LAD GR1,29
CALL COPY
- ST GR2,B
RET
-A DC 29
-B DS 1
END
COPY START
LD GR2,GR1
MAIN START BEGIN
-BEGIN LD GR1,=29
+BEGIN LAD GR1,29
CALL COPY
- ST GR2,B
RET
-B DS 1
- END
-COPY START
- LD GR2,GR1
+COPY LD GR2,GR1
RET
END
OUT BUF3,L3
OUT BUF4,L4
RET
-BUF1 DC 9,10 ; TAB、改行
-L1 DC 2
+BUF1 DC '0',9,'1',10 ; TAB、改行
+L1 DC 4
BUF2 DC ' !"#$%&''()*+,-./0123456789:;<=>?'
L2 DC 32
BUF3 DC '@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_'
../../../../casl2 ../../../../as/cmd/OUT/out1.casl
-Assemble error - 123: ' !"#$%&''()*+,-./0123456789:: illegal string
- ../../../../as/cmd/OUT/out1.casl:10: BUF2 DC ' !"#$%&''()*+,-./0123456789:;<=>?'
+0 1
+ !"#$%&'()*+,-./0123456789:;<=>?
+@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_
+`abcdefghijklmnopqrstuvwxyz{|}~
+++ /dev/null
-include ../CMD.mk # YACASL2DIR, CASL2
-ASDIR = $(YACASL2DIR)/as/FUNC
-ASFILE = $(ASDIR)/iotest.casl
-IN = teststr.txt
-CMD = $(CASL2) $(ASFILE) <$(IN)
-include ../TEST.mk
+++ /dev/null
-kazubito@horse.j8takagi.net.13917:1265068188
\ No newline at end of file
include ../CMD.mk # YACASL2DIR, CASL2
-CASL2FLAG = -sla
ASDIR = $(YACASL2DIR)/as/FUNC
ASFILE = $(ASDIR)/iotest.casl
-IN = <teststr.txt
-CMD = $(CASL2) $(CASL2FLAG) $(ASFILE) $(IN)
+IN = teststr.txt
+CMD = $(CASL2) $(ASFILE) <$(IN)
include ../TEST.mk
+++ /dev/null
-../../../../casl2 ../../../../as/casl2lib_driver/inl.casl ../../../../as/casl2lib/inl.casl ../../../../as/casl2lib/outl.casl
-0
-1
-2
-10
-12
-32767
-32768
-65535
-0
-18000
-Not A Number
-Not A Number
-Not A Number
-g
\ No newline at end of file
+++ /dev/null
-kazubito@horse.j8takagi.net.13917:1265068188
\ No newline at end of file
Not A Number
Not A Number
Not A Number
+g