X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?p=YACASL2.git;a=blobdiff_plain;f=as%2Fmisc%2Fclocks.casl;fp=as%2Fmisc%2Fcnt60.casl;h=551c6e549355103d7a2afae334459fb5828f8b19;hp=0cca4bfdb0e9d8777ca8cae89cd71947f38d011a;hb=05965ee87822b44616998d347d8f91fbf550eb2e;hpb=e53b9aa2cd0e67ff64c52fa1b83e16c048283dbd 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 --- 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