X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdump.c;h=8fab87d1cfad0f4faca9866ec70dfb83dd84cc72;hb=dbba1efb7f290dec54755c26baa05e263459560d;hp=09fe4ddff4724230ef1a650d7776ea2eac94017e;hpb=e07b6371cc8a59c6793a895e968ff2c6cf28181b;p=YACASL2.git diff --git a/src/dump.c b/src/dump.c index 09fe4dd..8fab87d 100644 --- a/src/dump.c +++ b/src/dump.c @@ -1,4 +1,5 @@ #include "casl2.h" +#include "exec.h" /* COMET IIのメモリを表示 */ void dumpmemory() @@ -30,7 +31,7 @@ void dspregister() { int i; for(i = 0; i < REGSIZE; i++ ) { - if(logicalmode == true) { + if((&execmode)->logicalmode == true) { fprintf(stdout, "#%04X: GR%d: %6d = #%04X = %s\n", PR, i, GR[i], GR[i], word2bit(GR[i])); } else {