[fpc-devel]Assembly reader bug

Ingmar Tulva ingmar at zbi.ee
Thu Dec 7 19:04:59 CET 2000


Hi,

a nice bug of assembly reader (ver. 1.1, 03/12/2000 but it also appears
in official 1.0.2): _scale_ in memory references is treated as
_displacement_, e. g.

  {$asmmode intel}
  asm
    mov EAX,[EBX+4*EDX]
  end;

becomes (-Anasmcoff)

  mov eax,[ebx+edx+4]
                  ^
----

Ingmar Tulva,
ingmar at zbi.ee





More information about the fpc-devel mailing list