Hi, I have a vector of 18 bits (3 blocks of 6 bits each ), X = 010110 101011 111011, and I want to store for each block the first bit and the last bit (reading from left to right) in one variable, and from second bit to fifth bit in other variable. For example the first block, 010110, the first bit is 0 and the last bit is 0, so I will like to store in a variable A the number 0, for the other variable, the bit from two to five are 1011, so I will like to store in a variable B the number 11 (decimal), which is the same as 1011 (Binary). Thank you very much.