Geofra,
from what I see on the doc file, the shift right has been executed. The only question left is: what's in the other networks? Because you don't show us all of the program, we can't give you an answer about what you problem could be. It could well be the other networks have instructions which make this program work incorrectly.
Remember: giving only partial data can't result in a complete answer. Only complete data may result in a complete and correct answer.
Kind regards,