[fpc-pascal] Question about ror / rordword...

Michael Green myatus at googlemail.com
Mon Oct 5 20:30:19 CEST 2009


Makes perfect sense, thanks for the quick answer :-)

Florian Klaempfl wrote:
> Ror/rol are very sensitive against data type changes so this ensures you
> get always the desired result. While x shr 1 has the same result if the
> value fits in x, ror(x,1) has different results if x is a byte, word or
> dword even if it's value is e.g. 1.
>   




More information about the fpc-pascal mailing list