Now I get it; you're testing me, right?Did you mean AND?
Either AND or NOR...one of the two. Either way, in the end, it looks to me like something is broke
Nope, sorry; NOR won't do it, either. To repeat my earlier examples, if $F is the "erased" value in the location and the value $A is to be written:
%1111 OR %1010 returns %1111, so the value in the location is unchanged.
%1111 AND %1010 returns %1010, which is the desired result.
But . . . since the only case when NOR returns 1 is as the product of two 0s:
%1111 NOR %1010 gives %0000 (!)
In fact, anything NORd with $F or $FF or $FFFF is going to be . . . 0!
The winner, still the reigning champion, is AND
Bookmarks