Deeko
Lifer
I'm fairly certain this is more of a math quesion than a programming question, that's why I'm posting this here.
I'm given an 8-bit error code by a device and each bit is a separate flag, so I need to parse them out. I know there is some operation to perform...bit shift or xor or something....but for the life of me I can't remember and google is no help. Anyone?
Thanks
I'm given an 8-bit error code by a device and each bit is a separate flag, so I need to parse them out. I know there is some operation to perform...bit shift or xor or something....but for the life of me I can't remember and google is no help. Anyone?
Thanks