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