tb0145.pp 292 B

1234567891011121314
  1. { %CPU=i386 }
  2. { Old file: tbs0175.pp }
  3. { Asm, mov word,%eax should not be allowed without casting emits a warning (or error with range checking enabled) OK 0.99.11 (PM) }
  4. { this will just give out a warning }
  5. {$asmmode att}
  6. {$R-}
  7. var
  8. w : word;
  9. begin
  10. asm
  11. movl w,%ecx
  12. end;
  13. end.