At 19:04 1997-12-18 -0500, you wrote:
>
>>To multiply/divide with a power of two you shift left/right!
>>
>>To multiply with 256 you use:
>>
>>mov eax, SOURCE
>>mov cl, 8
>>shl eax, cl
>
>But wouldn't you agree that this also multiplies by 256 (if less than 256)?:
>mov eax,0
>mov bl,source
>mov ah,bl
Sure I agree!
Regards,
-/- David Eriksson -/-
2 G o o D P r o d u c t i o n s -> http://www.2goodsoft.com/