From: j8takagi Date: Mon, 4 Apr 2011 14:04:23 +0000 (+0900) Subject: エラーメッセージの微調整 X-Git-Tag: v0.1p34 X-Git-Url: https://j8takagi.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5d6df90beecae5eeedb66114ebb224442766a7c;p=YACASL2.git エラーメッセージの微調整 --- diff --git a/src/exec.c b/src/exec.c index aaef27b..744f27c 100644 --- a/src/exec.c +++ b/src/exec.c @@ -15,7 +15,7 @@ static CERR cerr_exec[] = { { 204, "OP in word #1 - not command code" }, { 205, "r/r1 in word #1 - not GR" }, { 206, "x/r2 in word #1 - not GR" }, - { 207, "Address in word #2 - out of memory" }, + { 207, "address in word #2 - out of memory" }, { 208, "SVC input - memory overflow" }, { 209, "SVC output - memory overflow" }, }; @@ -194,7 +194,7 @@ WORD val_adrx(WORD adr, WORD oprx) { WORD a; if((a = adrx(adr, oprx)) >= sys->memsize) { - setcerr(207, pr2str(sys->cpu->pr + 1)); /* Address in word #2 - out of memory */ + setcerr(207, pr2str(sys->cpu->pr + 1)); /* address in word #2 - out of memory */ return 0x0; } return sys->memory[a];