tw0932.pp 167 B

12345678910111213141516
  1. program test;
  2. {$ASMMODE Intel }
  3. procedure TestProc;
  4. const
  5. TestConst: String = 'Test';
  6. begin
  7. asm
  8. mov edi, offset TestConst
  9. end;
  10. end;
  11. begin
  12. TestProc;
  13. end.