[fpc-pascal]Fwd: Inline assembler FPU bug

Ingmar Tulva juss_it at ut.ee
Wed May 29 09:14:33 CEST 2002


On Tue, 28 May 2002, Vit Kavan wrote:

}I've just encountered a problem with FPU code in BASM:
}
}source line:
}
}fsub st(1),st(0)
}
}delphi compiles:
}
}fsub st(1),st(0)      opcode: DC E9
}
}fpc compiles:
}
}fsubr st(1),st(0)     opcode: DC E1
}
}
}I'm quite sure that the fpc way is wrong. (version 1.0.6)
}

Which assembler style did you use, Intel or ATT?

Ingmar

------

"Salamanders can survive up to six hours outside a fire if regularly fed
pepper" (Scamander 1927).





More information about the fpc-pascal mailing list