Assembly language-shl and shr instructions

       shl and shr are logical shift instructions

       shl is a logical left shift instruction, its function is:

       Shift the data in a register or memory unit to the left;

       Write the last bit shifted out into CF;

       The lowest bit is supplemented with 0.

       shr is a logical right shift instruction

Guess you like

Origin blog.csdn.net/ma2595162349/article/details/108564389