From 3534ee4faab7f6595213b192a17fe26ba490b681 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carl-Henrik=20Sk=C3=A5rstedt?= Date: Mon, 12 Oct 2015 20:51:12 -0700 Subject: [PATCH] Error Fix IV - Extraneous conditional expression borked late evaluation of branch address --- asm6502.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/asm6502.cpp b/asm6502.cpp index 391e0f6..d3e1014 100644 --- a/asm6502.cpp +++ b/asm6502.cpp @@ -1775,7 +1775,6 @@ StatusCode Asm::CheckLateEval(strref added_label, int scope_end) value -= i->address+1; if (value<-128 || value>127) return ERROR_BRANCH_OUT_OF_RANGE; - if (ret==STATUS_RELATIVE_SECTION) allSections[sec].SetByte(trg, value); break; case LateEval::LET_BYTE: