How and where can I write ARM assembly codes in Embarcadero Delphi XE5 with Android?

How and where can I write ARM assembly codes in Embarcadero Delphi XE5 with Android? It would be better if I could write it inline.

+4
source share
4 answers

The Delphi mobile compiler does not support blocks asm ... end.

But the "old good way" is still available, as we are talking about the Native compiler.

What you can do is compile your own module using an external assembler (e.g. GNU AS), and then link it to the Delphi XE * application.

, System.RTTI asm :

procedure RawInvoke(CodeAddress: Pointer; ParamBlock: PParamBlock);
  external 'librtlhelper.a' name 'rtti_raw_invoke';

procedure RawIntercept;
  external 'librtlhelper.a' name 'rtti_raw_intercept';

- Google translate - !

+7

Delphi . :

:

  • DCC32.EXE, Delphi
  • DCC64.EXE, 64- Delphi
  • DCCOSX.EXE, Delphi Cross OS X

, Delphi , .

+1

All Articles