tbug893.pp 203 B

1234567891011121314151617
  1. {$asmmode intel}
  2. type
  3. BugObject = object
  4. Fld: word;
  5. procedure WontCompile;
  6. end;
  7. procedure BugObject.WontCompile;
  8. begin
  9. asm
  10. xor ax, ax
  11. mov fld, ax
  12. end;
  13. end;
  14. begin
  15. end.