• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Quick question: Logic w/ hex numbers

pX

Golden Member
Alright, I just need someone to jostle my memory here. To do a logic operation on a hex (or octal, or decimal I suppose); one converts to binary then does a bit by bit comparison. Like:
$F2 AND $16

That is:

1111 0010 AND 0001 0110 = 0001 0010 = $12

Is that correct? I am feeling stupid for forgetting this, haven't seen this stuff for a year and half now..
 
Back
Top