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 Avatar
    akash yogi

    that s good

Leave a Reply

Your email address will not be published. Required fields are marked *