[fpc-devel] Math.DivMod results should be signed

Daniël Mantione daniel.mantione at freepascal.org
Thu Nov 9 11:50:17 CET 2006



Op Thu, 9 Nov 2006, schreef Kai Olav Fredriksen:

> It might be that it could be a lot better, I hope someone could tell me how.

asm
  push ebx
  mov ebx,edx
  cdq
  idiv ebx
  mov [ecx],edx
  pop ebx
end;

Daniël


More information about the fpc-devel mailing list