From 9867e4a11962a0bf099d7905db108a5fa43d9dae Mon Sep 17 00:00:00 2001 From: "matthias@arch" Date: Thu, 11 Jan 2024 20:51:28 +0100 Subject: [PATCH] MaskedWrite: allow A --- utility.h65 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utility.h65 b/utility.h65 index eca9032..506c9ed 100644 --- a/utility.h65 +++ b/utility.h65 @@ -79,7 +79,9 @@ INCLUDE_UTILITY = 1 ;; @TODO optimize when immediate is used ;;******************************************************************************** .macro MaskedWrite addr,value,mask + .if .not .match(value, A) lda value + .endif eor addr and mask eor addr