From 22838ce2d81585239542e2b0f3db870d4d2baf9b Mon Sep 17 00:00:00 2001 From: Rangi42 Date: Mon, 23 Dec 2024 10:10:01 -0500 Subject: [PATCH] Remove redundant 0xC7 masking for RST values (the parser handles it) --- src/asm/rpn.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/asm/rpn.cpp b/src/asm/rpn.cpp index 12992272..fb71cec6 100644 --- a/src/asm/rpn.cpp +++ b/src/asm/rpn.cpp @@ -590,9 +590,6 @@ void Expression::makeCheckRST() { } else if (int32_t val = value(); val & ~0x38) { // A valid RST address must be masked with 0x38 error("Invalid address $%" PRIx32 " for RST\n", val); - } else { - // The target is in the "0x38" bits, all other bits are set - data = val | 0xC7; } }