1
0
mirror of https://github.com/cc65/cc65.git synced 2025-01-12 02:30:44 +00:00

Update instr.c

This commit is contained in:
Bob Andrews 2023-05-02 12:43:50 +02:00 committed by GitHub
parent 016b03e356
commit 08223360d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1617,7 +1617,7 @@ static void PutJMP (const InsDesc* Ins)
if (EvalEA (Ins, &A)) {
/* Check for indirect addressing */
if (A.AddrModeBit & AM65_ABS_IND && CPU < CPU_65SC02) {
if ((A.AddrModeBit & AM65_ABS_IND) && (CPU < CPU_65SC02)) {
/* Compare the low byte of the expression to 0xFF to check for
** a page cross. Be sure to use a copy of the expression otherwise