Binary bit analysis
Here's my situation, I need to be able to get this sort of response:
I have a 32 bit binary word, each bit corresponds to a certain alarm. So if
a certain bit in the word is 1 then that alarm is flagged, however if several
bits are 1 then all the corresponding alarms are flagged.
Is there some way to use some sort of lookup table which will show which
alarms have been triggered?
|