How to do a shift on bits

hi guys assalmu alikum

i want to use shift in my program, first i use function de2bi
to change value of variable from decimal to equivalent binary then i must do a shift on bits depends on other variable.
the coomand bitshift doesnt work as i want,

friend of mine adviced me with command namely as wshift,
he said it would serve me in the program very good and well. i searched in help to find explanation about it but i didnt find anything, could anyone tell how to use it? and where can i find little explanation about wshift??

waiting 4 ur reply guys

thank u very much

where is your code by the way

oooooooohhhhhh sorry i 4got it so i will write later thanks 4 ur reply dear friend