Re: Re[4]: [fpc-pascal] rotating bits

2006-05-24 Thread Tomas Hajny
Jonas Maebe wrote: > On 24 mei 2006, at 17:09, ���� �О�а�ов�киК wrote: > >>> function brol(b: byte; c: byte): byte; assembler; inline; >>> asm >>> rolb %cl,%al >>> end; >>> (and similarly for all the other functions). The first parameter >>> goes to >>> eax, the second to ecx, and

Re: Re[4]: [fpc-pascal] rotating bits

2006-05-24 Thread Jonas Maebe
On 24 mei 2006, at 17:09, Пётр Косаревский wrote: function brol(b: byte; c: byte): byte; assembler; inline; asm rolb %cl,%al end; (and similarly for all the other functions). The first parameter goes to eax, the second to ecx, and the result is supposed to be in eax again. Tomas Did y

Re: Re[4]: [fpc-pascal] rotating bits

2006-05-24 Thread Jonas Maebe
On 24 mei 2006, at 16:11, Пётр Косаревский wrote: function brol(b: byte; c: byte): byte; assembler; inline; asm rolb %cl,%al end; (and similarly for all the other functions). The first parameter goes to eax, the second to ecx, and the result is supposed to be in eax again. Tomas Well,