i am reading the book some assembly required and i'm reading
"The left shift instruction is written “LSL Rd” and its machine code is 0000 11dd dddd dddd (the bold d’s are replaced by the binary code for the register and the other d’s are replaced by the same five bits). How can this be? Interpret this instruction as an ADD instruction and see what it really does. Compare this to the effect of a logical shift left. Is there a problem?"
if this is an AND mask it will not be the same for all registers duo to other nbr i mean r16 is 10000 and r17 is 10001 unless it means something else can please someone help me?
"The left shift instruction is written “LSL Rd” and its machine code is 0000 11dd dddd dddd (the bold d’s are replaced by the binary code for the register and the other d’s are replaced by the same five bits). How can this be? Interpret this instruction as an ADD instruction and see what it really does. Compare this to the effect of a logical shift left. Is there a problem?"
if this is an AND mask it will not be the same for all registers duo to other nbr i mean r16 is 10000 and r17 is 10001 unless it means something else can please someone help me?