X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=as%2Fmcs51%2Flkihx.c;h=8a5aa3effab2651908551ed6bf8b27cbeaa0d74c;hb=dc96171f726aeee340405dfcb0aad9a4c86eb988;hp=6f2b156b4140abbe0e118296ebe7fdb5dcfc5c5c;hpb=709c57f1710ff45ce958034a3ec1cb5aef30df07;p=fw%2Fsdcc diff --git a/as/mcs51/lkihx.c b/as/mcs51/lkihx.c index 6f2b156b..8a5aa3ef 100644 --- a/as/mcs51/lkihx.c +++ b/as/mcs51/lkihx.c @@ -136,7 +136,7 @@ hexRecord(unsigned addr, int rtvalIndex) if (chksum == 0) return; // nothing to output - if (lastHexAddr > addr) { + if ( (lastHexAddr > addr) && (rflag) ) { overrun = hexPageOverrun + 1; ihxEntendedLinearAddress(lastExtendedAddress + overrun); hexPageOverrun = overrun;