I am attempting to check the values of the various bits in an 8-bit field and struggle as I might, success seems to elude me. Please help.
I need to check each bit for the following values:
bit 7 - x'80'
bit 6 - x'40'
bit 5 - x'20'
bit 4 - x'10'
bit 3 - x'08'
bit 2 - x'04'
bit 1 - x'02'
bit 0 - x'01'
Many thanks !