X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?p=YACASL2.git;a=blobdiff_plain;f=test%2Fsystem%2Fcasl2%2Fhello%2F0.txt;fp=test%2Fsystem%2Fcasl2%2Fhello%2F0.txt;h=372dce5513b141c01b18e92c1f36d496525db1e8;hp=0000000000000000000000000000000000000000;hb=c5e30b2f26ebc174c49c52c67121f3be81b5bd43;hpb=851e22754474ae6518109b5485130dcf86f7f880 diff --git a/test/system/casl2/hello/0.txt b/test/system/casl2/hello/0.txt new file mode 100644 index 0000000..372dce5 --- /dev/null +++ b/test/system/casl2/hello/0.txt @@ -0,0 +1,63 @@ +MAIN START + OUT OBUF,LEN + RET +OBUF DC 'Hello, World!' +LEN DC 13 + END + +Assemble ../../../../as/hello.casl (0) +../../../../as/hello.casl: 1:MAIN START +../../../../as/hello.casl: 2: OUT OBUF,LEN +../../../../as/hello.casl: 3: RET +../../../../as/hello.casl: 4:OBUF DC 'Hello, World!' +../../../../as/hello.casl: 5:LEN DC 13 +../../../../as/hello.casl: 6: END + +Label:::: +MAIN ---> #0000 +MAIN.OBUF ---> #0013 +MAIN.LEN ---> #0020 + +Assemble ../../../../as/hello.casl (1) +../../../../as/hello.casl: 1:MAIN START +../../../../as/hello.casl: 2: OUT OBUF,LEN + #0000 #7001 + #0001 #0000 + #0002 #7002 + #0003 #0000 + #0004 #1210 + #0005 #0013 + #0006 #1220 + #0007 #0020 + #0008 #F000 + #0009 #0002 + #000A #1210 + #000B #0021 + #0021 #000A + #000C #1220 + #000D #0022 + #0022 #0001 + #000E #F000 + #000F #0002 + #0010 #7120 + #0011 #7110 +../../../../as/hello.casl: 3: RET + #0012 #8100 +../../../../as/hello.casl: 4:OBUF 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!