tw0893.pp 217 B

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