tb0145.pp 277 B

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