casl2libを呼び出すコードを、testフォルダからas/casl2lib/sampleに移動
[YACASL2.git] / as / sample / addl.casl
diff --git a/as/sample/addl.casl b/as/sample/addl.casl
new file mode 100644 (file)
index 0000000..cacbded
--- /dev/null
@@ -0,0 +1,12 @@
+;;; ADDL r,adr
+MAIN    START
+        PUSH    0,GR1
+        LD      GR1,A
+        ADDL    GR1,B
+        ST      GR1,C
+        POP     GR1
+        RET
+A       DC      3
+B       DC      2
+C       DS      1
+        END