tasmread.pp 287 B

1234567891011121314151617181920212223
  1. { Checks for qualified variable support
  2. in assembler reader }
  3. program test;
  4. {$ifdef cpui386}
  5. {$asmmode intel}
  6. {$endif}
  7. var l: longint;
  8. begin
  9. {$ifdef cpui386}
  10. asm
  11. mov test.l, 5
  12. end;
  13. {$endif cpui386}
  14. {$ifdef cpu68k}
  15. asm
  16. move.l test.l,d0
  17. end;
  18. {$endif cpu68k}
  19. end.