X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=sidebyside;f=as%2Fmcs51%2Flklist.c;h=5325ec895e5d94519f23373098ba460ec2ede7bb;hb=f3ebd71273aef1ddc517e0a23875378dc09ab6af;hp=3743240db34a19bbaa43cca3fa7a3ae0dcb4a148;hpb=0678d63e45c69dfe0da26fc39942936578724432;p=fw%2Fsdcc diff --git a/as/mcs51/lklist.c b/as/mcs51/lklist.c index 3743240d..5325ec89 100644 --- a/as/mcs51/lklist.c +++ b/as/mcs51/lklist.c @@ -205,7 +205,8 @@ struct area *xp; fprintf(mfp, "Decimal\n\n"); } fprintf(mfp, "Area "); - fprintf(mfp, "Addr Size Decimal Bytes (Attributes)\n"); + fprintf(mfp, "Addr Size Decimal %s (Attributes)\n", + (xp->a_flag & A_BIT)?"Bits ":"Bytes");/* JCF: For BIT print bits...*/ fprintf(mfp, "-------------------------------- "); fprintf(mfp, "---- ---- ------- ----- ------------\n"); /* @@ -224,7 +225,8 @@ struct area *xp; if (xflag == 2) { fprintf(mfp, " %05u %05u", ai, aj); } - fprintf(mfp, " = %6u. bytes ", aj); + fprintf(mfp, " = %6u. %s ", aj, + (xp->a_flag & A_BIT)?"bits ":"bytes"); /* JCF: For BIT print bits...*/ if (xp->a_flag & A_ABS) { fprintf(mfp, "(ABS"); } else { @@ -366,6 +368,7 @@ struct area *xp; if (dflag && strchr(ptr,'$')) fprintf(dfp,"L:%s:%X\n",ptr,aj); + /* NoICE output of symbol */ if (jflag) DefineNoICE( ptr, aj, memPage );