X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fmcs51%2Fgen.c;h=9b28f9b4adbd710ec1ea58b666837711a86db3dd;hb=f651c71ff562f2ab9e3db7f178b64d4c52867a54;hp=6dcefa60726362697c362fda1e4766227cdf297d;hpb=9b41af2a2f3ac94c6549a4ff2212f3307644bcec;p=fw%2Fsdcc diff --git a/src/mcs51/gen.c b/src/mcs51/gen.c index 6dcefa60..9b28f9b4 100644 --- a/src/mcs51/gen.c +++ b/src/mcs51/gen.c @@ -8919,7 +8919,15 @@ gen51Code (iCode * lic) cln = ic->lineno; } if (options.iCodeInAsm) { - emitcode("", ";ic:%d: %s", ic->key, printILine(ic)); + char regsInUse[80]; + int i; + + for (i=0; i<8; i++) { + sprintf (®sInUse[i], + "%c", ic->riu & (1<seq, printILine(ic)); } /* if the result is marked as spilt and rematerializable or code for