I have a byte which represents 8 different settings/modes which are enabled.
00000001b = A20 Enabled
00000011b = PM Enabled
I could cmp the byte with 1 to know if A20 is enabled.
I could cmp the byte with 3 if both A20 and PM is enabled.
What if i want to check if only PM is enabled?
So my question is, how can I cmp a single chosen bit in a byte?
Thanks