Michael Schnell schrieb:

IMHO, if the compiler should issue an error message if yo9u give a segment register with LEA, as the result obviously is erroneous. Maybe other compilers in fact do this. I only tested Turbo Delphi.

I had thought that this has been fixed on newer architectures, that use the flat model only. There you don't have to specify a target segment, because the effective address (32 bit offset) is sufficient.

IMO you still think too much about segment registers, as used in 16 bit code...

DoDi

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to