アセンブラファイルとテストの整理
[YACASL2.git] / test / integration / CASL2 / hello / 0.txt
diff --git a/test/integration/CASL2/hello/0.txt b/test/integration/CASL2/hello/0.txt
new file mode 100644 (file)
index 0000000..e406485
--- /dev/null
@@ -0,0 +1,57 @@
+../../../../casl2 -sla ../../../../as/hello.casl
+
+Assemble ../../../../as/hello.casl (0)
+../../../../as/hello.casl:1:MAIN     START
+../../../../as/hello.casl:2:         OUT    BUF,LEN
+../../../../as/hello.casl:3:         RET
+../../../../as/hello.casl:4:BUF      DC     'Hello, World!'
+../../../../as/hello.casl:5:LEN      DC     13
+../../../../as/hello.casl:6:         END
+
+Label::::
+BUF ---> #0013
+MAIN ---> #0000
+LEN ---> #0020
+
+Assemble ../../../../as/hello.casl (1)
+../../../../as/hello.casl:1:MAIN     START
+../../../../as/hello.casl:2:         OUT    BUF,LEN
+       #0000   #7001
+       #0001   #0000
+       #0002   #7002
+       #0003   #0000
+       #0004   #1210
+       #0005   #0013
+       #0006   #1020
+       #0007   #0020
+       #0008   #F000
+       #0009   #0002
+       #000A   #1210
+       #000B   #0021
+       #0021   #000A
+       #000C   #1220
+       #000D   #0001
+       #000E   #F000
+       #000F   #0002
+       #0010   #7120
+       #0011   #7110
+../../../../as/hello.casl:3:         RET
+       #0012   #8100
+../../../../as/hello.casl:4:BUF      DC     'Hello, World!'
+       #0013   #0048
+       #0014   #0065
+       #0015   #006C
+       #0016   #006C
+       #0017   #006F
+       #0018   #002C
+       #0019   #0020
+       #001A   #0057
+       #001B   #006F
+       #001C   #0072
+       #001D   #006C
+       #001E   #0064
+       #001F   #0021
+../../../../as/hello.casl:5:LEN      DC     13
+       #0020   #000D
+../../../../as/hello.casl:6:         END
+Hello, World!