Fixed an error

git-svn-id: svn://svn.cc65.org/cc65/trunk@3856 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2008-07-26 22:19:01 +00:00
parent 855bfce20c
commit b5511acf6f
3 changed files with 4 additions and 15 deletions

View File

@@ -408,7 +408,10 @@ static void OneOpcode (unsigned RemainingBytes)
*/
if (D->Size <= RemainingBytes) {
/* Output labels within the next insn */
ForwardLabels (D->Size);
unsigned I;
for (I = 1; I < D->Size; ++I) {
ForwardLabel (I);
}
/* Output the insn */
D->Handler (D);
PC += D->Size;