projects
/
YACASL2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
エラーメッセージの微調整
[YACASL2.git]
/
src
/
exec.c
diff --git
a/src/exec.c
b/src/exec.c
index
aaef27b
..
744f27c
100644
(file)
--- 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" },
{ 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, "
A
ddress in word #2 - out of memory" },
+ { 207, "
a
ddress in word #2 - out of memory" },
{ 208, "SVC input - memory overflow" },
{ 209, "SVC output - memory overflow" },
};
{ 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) {
{
WORD a;
if((a = adrx(adr, oprx)) >= sys->memsize) {
- setcerr(207, pr2str(sys->cpu->pr + 1)); /*
A
ddress in word #2 - out of memory */
+ setcerr(207, pr2str(sys->cpu->pr + 1)); /*
a
ddress in word #2 - out of memory */
return 0x0;
}
return sys->memory[a];
return 0x0;
}
return sys->memory[a];