Embedded System Notes

ASL (Arithmetic Shift Left)

Signed multiplication, zero bit is set to 0

ASR (Arithmetic Shift Right)

Division by 2, bit 7 is not changed

LSL (Logical Shift Left)

Move bits to the left and replace the spaces by 0. The bit which falls off disappears.

LSR (Logical Shift Right)

Move bits to the right and replace the spaces by 0. The bit which falls off disappears.

Comments

One Response to “ Embedded System Notes ”
  1. akash yogi

    that s good

Leave a Reply



Notify me of followup comments via e-mail. You can also subscribe without commenting.