Bitwise Operators: Difference between revisions
m
Had citations in the wrong section
Puppydrum64 (talk | contribs) m (→XOR) |
Puppydrum64 (talk | contribs) m (Had citations in the wrong section) |
||
Line 112:
===Toggling===
A flag register <code>XOR</code>'d with a given value will flip those particular bits, and leave the rest alone.
==Citations==▼
#[[http://www.6502.org/tutorials/compare_beyond.html Beyond 8-Bit Unsigned Comparisons by Bruce Clark]]▼
==NOT==
Line 121 ⟶ 117:
Among <code>AND</code>, <code>OR</code>, <code>XOR</code>, and <code>NOT</code>, only <code>XOR</code> and <code>NOT</code> are reversible.
▲==Citations==
▲#[[http://www.6502.org/tutorials/compare_beyond.html Beyond 8-Bit Unsigned Comparisons by Bruce Clark]]
|