Added rotate instructions to vm