1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-25 02:29:52 +00:00

Fixed a problem with input files with end address $FFFF.

git-svn-id: svn://svn.cc65.org/cc65/trunk@3696 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2006-01-19 22:03:17 +00:00
parent f981dd35ad
commit 1193a466d9

View File

@ -209,7 +209,7 @@ unsigned AddrTable (void)
BytesLeft -= 2; BytesLeft -= 2;
/* If we must define a label here, bail out */ /* If we must define a label here, bail out */
if (MustDefLabel (PC)) { if (BytesLeft && MustDefLabel (PC)) {
break; break;
} }
} }
@ -279,7 +279,7 @@ unsigned RtsTable (void)
BytesLeft -= 2; BytesLeft -= 2;
/* If we must define a label here, bail out */ /* If we must define a label here, bail out */
if (MustDefLabel (PC)) { if (BytesLeft && MustDefLabel (PC)) {
break; break;
} }
} }