6.41 Calling nonstatic member functions in embedded assembler

You can use keywords beginning with __mcall and __vcall to call nonvirtual and virtual functions from __asm functions.

There is no __mcall_is_static to detect static member functions because static member functions have different parameters (that is, no this), so call sites are likely to already be specific to calling a static member function.
Related concepts
6.26 Embedded assembler support in the compiler
6.35 Compiler-supported keywords for calling class member functions in embedded assembler
6.42 Calling a nonvirtual member function
6.43 Calling a virtual member function
Non-ConfidentialPDF file icon PDF versionARM DUI0375F
Copyright © 2007, 2008, 2011, 2012, 2014 ARM. All rights reserved.