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 - !