From 4aa98eb53f9e6dfcb826aef4dd7e97690d524e4c Mon Sep 17 00:00:00 2001 From: mooinglemur Date: Tue, 5 Mar 2024 23:55:17 -0700 Subject: [PATCH] Save a couple cycles here --- inc/jsrfar.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/inc/jsrfar.inc b/inc/jsrfar.inc index 0d5b68f7..f6878219 100644 --- a/inc/jsrfar.inc +++ b/inc/jsrfar.inc @@ -7,9 +7,9 @@ php ;reserve 1 byte on the stack php ;save registers & status - clc - .byte $e2, $03 ; sep #$03, set carry if 65c816 - bcs jsrfarn + sec + .byte $c2, $03 ; rep #$03, clear carry/z if 65c816 + bcc jsrfarn jsrfare: pha @@ -76,7 +76,7 @@ jsrfar2: .setcpu "65816" jsrfarn: - clc + ; carry is clear xce bcc :+ xce