MaskedWrite: allow A
This commit is contained in:
parent
4e76be17ad
commit
9867e4a119
@ -79,7 +79,9 @@ INCLUDE_UTILITY = 1
|
|||||||
;; @TODO optimize when immediate is used
|
;; @TODO optimize when immediate is used
|
||||||
;;********************************************************************************
|
;;********************************************************************************
|
||||||
.macro MaskedWrite addr,value,mask
|
.macro MaskedWrite addr,value,mask
|
||||||
|
.if .not .match(value, A)
|
||||||
lda value
|
lda value
|
||||||
|
.endif
|
||||||
eor addr
|
eor addr
|
||||||
and mask
|
and mask
|
||||||
eor addr
|
eor addr
|
||||||
|
Loading…
Reference in New Issue
Block a user