X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?p=YACASL2.git;a=blobdiff_plain;f=src%2Fexec.c;h=b9f987157f1991cb8979bed1ca5fe099331cfc19;hp=4e3440480b75d5c1bff4f7f9636df7128b6a90c3;hb=ccc3acda4256e10a822e41e84f6c9991271c2f61;hpb=6d481ded788fac267c4d6a115184936052df7430;ds=sidebyside diff --git a/src/exec.c b/src/exec.c index 4e34404..b9f9871 100644 --- a/src/exec.c +++ b/src/exec.c @@ -40,10 +40,9 @@ void svcout() if(memory[GR[1]+i] == '\0') { break; } - /* 「文字の組」の符号表に記載された文字と、改行(CR)/タブを表示 - それ以外の文字は、「.」で表す */ - if(((c = (char)(memory[GR[1]+i])) >= 0x20 && c <= 0x7E) || c == 0xA || c == '\t') - { + /* 「文字の組」の符号表に記載された文字と、改行(CR)/タブを表示 */ + /* それ以外の文字は、「.」で表す */ + if(((c = (char)(memory[GR[1]+i])) >= 0x20 && c <= 0x7E) || c == 0xA || c == '\t') { putchar(c); } else { putchar('.'); @@ -231,7 +230,7 @@ WORD srl(WORD val0, WORD val1) return res; } -/* 仮想マシンのリセット */ +/* COMET II仮想マシンのリセット */ void reset() { int i;