tasmread.pp 344 B

12345678910111213141516171819202122232425262728
  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. {$ifdef arm}
  20. asm
  21. ld r0,test.l
  22. end;
  23. {$endif arm}
  24. end.