function A=getnfo(B)


if numel(B)==2;
    A(1)=bitshift(B(1),-2);
    if A(1)>3 || A(1)<1
        A(1)=1;
    end
    A(2)=bitand(B(1),3)+1;
    if A(2) >2 || A(2)<1
        A(2)=1;
    end
    A(3)=bitshift(B(2),-6);
end