Logical Left Shifting

It is recommended that you use an addition instead of a shift on newer processors for optimization.

 A +  A = 2A = A << 1 2A + 2A = 4A = A << 2 

SHL/SAL Shift (Logical/Arithmetic) Left

SHL destination , count

image from book

Mnemonic

P

PII

K6

3D!

3Mx+

SSE

SSE2

A64

SSE3

E64T

SAL



32.64-Bit 80X86 Assembly Language Architecture
32/64-Bit 80x86 Assembly Language Architecture
ISBN: 1598220020
EAN: 2147483647
Year: 2003
Pages: 191

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net