AMD interview question

bit shifting problems and logic gates