home *** CD-ROM | disk | FTP | other *** search
-
- Two substitute routines follow:
-
- @@shr: shl edx,10h ; (dx:ax) shr (cl and 31)
- mov dx,ax ; edx now holds operand
- shr edx,cl
- mov ax,dx
- shr edx,10h
- ret
-
-
- @@shl: shl edx,10h ; (dx:ax) shl (cl and 31)
- mov dx,ax ; edx now holds operand
- shl edx,cl
- mov ax,dx
- shr edx,10h
- ret
- ; -----------------------------------------------------
- (Shifts have never been significant to more 32 bits.)
-
-
- Morten Welinder
- terra@diku.dk
-
-
-