3 ms·
Flag bits should be combined with | not ^
by fanf2 7y ago
Flag bits should be combined with | not ^
- inlined 7y agoyou do all your binary arithmetic with “or”, not “and” or “xor”? XOR is certainly less common than the other two but had its place.