وو

وحید آنلاین . آرشیو وبلاگ وحیدمی دات آی آر . شرکت بیان. vahidmy.blog.ir

وو

وحید آنلاین . آرشیو وبلاگ وحیدمی دات آی آر . شرکت بیان. vahidmy.blog.ir

LSL

LSL 

Usage:  LSL     dest,src                            Modifies flags: ZF

Loads the segment limit of a selector into the 'dest' register if the selector is valid and visible at the current privilege level. If loading is successful the Zero Flag is set, otherwise it is cleared.

Load Segment Limit


LSL reg16,r/m16               ; o16 0F 03 /r         [286,PRIV]

LSL reg32,r/m32               ; o32 0F 03 /r         [286,PRIV]


LSL is given a segment selector in its source (second) operand; it computes the segment limit value by loading the segment limit field from the associated segment descriptor in the GDT or LDT. (This involves shifting left by 12 bits if the segment limit is page-granular, and not if it is byte-granular; so you end up with a byte limit in either case.) The segment limit obtained is then loaded into the destination (first) operand.


EXAMPLE:

lsl ecx Label


LSL