FPCspecs topic
FPC specialities.
Declaration
FPCspecsDescription
The %ds and %es selector MUST always contain the same value or some system routines may crash when called. The %fs selector is preloaded with the DOSMEMSELECTOR variable at startup, and it MUST be restored after use, because again FPC relies on this for some functions. Luckily we asm programmers can still use the %gs selector for our own purposes, but for how long ?
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
