projects
/
YACASL2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
コマンド動作検証用のCASL2プログラム整理を開始
[YACASL2.git]
/
as
/
CMD
/
literalstr.casl
diff --git
a/as/CMD/literalstr.casl
b/as/CMD/literalstr.casl
index
0fa3fd4
..
7a352de
100644
(file)
--- a/
as/CMD/literalstr.casl
+++ b/
as/CMD/literalstr.casl
@@
-2,12
+2,12
@@
MAIN START
LAD GR1,='a'
LAD GR2,10
LOOP CPA GR2,=0
- JZE
LEND
- JMI
LEND
+ JZE
FIN
+ JMI
FIN
LD GR3,0,GR1
ADDA GR1,=1
SUBA GR2,=1
JUMP LOOP
-
LEND
RET
+
FIN
RET
LEN DC 5
END