Brian McCloud un giorno parlo' di Extended Registers....
BM> you would consider the "best" way... Here's a few ideas for moving the
BM> high word of EAX into AX:
BM> 1. SHR EAX, 16
BM> 5. SHRD EAX, EDX, 16 ; EDX can be changed to another
[+ others..]
What can be the meaning of 'best' ? I say the best is the fastest,
or the one which uses less registers...
In the first case we can count the cycles of every method...
Saluti,
RaaS / RiTUAL
... Warning! Too Many Bugs! Call BugMaN for more infos. 144-RTL-1997
--- Blue Wave/DOS v2.30 [NR]
---------------
* Origin: Rage BBS: jumpin' into the Italian Demo Scene! (2:335/354)
|