[fpc-pascal] rotating bits
ppkk at mail.ru
Thu May 25 12:30:47 CEST 2006
> Well, if we're going in that direction anyway:
> Why not include all possible assembler instructions then ?
Because some of them are not designed for calculations. But ror/rol are.
> Let's be serious. You must draw the line somewhere.
> I think these instructions are so exotic, they are pollution of the system unit.
They are widely used in encryption/decryption algorithms. Unfortunately, I don't really know why they were introduced in 8086 assembler.
More information about the fpc-pascal