Part 14 - SHL Instruction

For a complete table of contents of all the lessons please click below as it will give you a brief of each lesson in addition to the topics it will cover. https://github.com/mytechnotalent/Reverse-Engineering-Tutorial

The SHL command stands for shift left.

Let’s assume the register al holds 01010101b which is an 8-bit binary value. Let’s assume the instruction is shl al, 2. Below is what transpires as we see the values move two bits to the left.

   00010101

00010101

Therefore the new value will be:

10100000

Next week we will dive into SHR! Stay tuned!

results matching ""

    No results matching ""