Apprentice coder

It shifts left 16 bits - then it falls off the end, test becomes 0,
the for:next loop ends,
and loop can start over with test = 1.

There's only something displayed while test is 00000001, 00000010, 00000100, 00001000, 00010000, 00100000, 01000000, 10000000.
While test is an int, there is no display while test is 000000010000000, out to 1000000000000000.

I don't see any shifting to the right.