projects
/
YACASL2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
CASLファイルの整理
[YACASL2.git]
/
as
/
misc
/
clocks.casl
diff --git
a/as/misc/cnt60.casl
b/as/misc/clocks.casl
similarity index 51%
rename from
as/misc/cnt60.casl
rename to
as/misc/clocks.casl
index
0cca4bf
..
551c6e5
100644
(file)
--- a/
as/misc/cnt60.casl
+++ b/
as/misc/clocks.casl
@@
-1,10
+1,13
@@
+;;; クロック数100のプログラム
+;;; 「casl2 -O clocks.casl && time comet2 -C100 a.o」で、実行時間は約1秒
MAIN START
LAD GR1,0
+ NOP
LOOP CPA GR1,CNT
JZE FIN
LAD GR1,1,GR1
NOP
JUMP LOOP
FIN RET
-CNT DC
60
+CNT DC
19
END