29.10.2014 Views

ARM Compiler toolchain v4.1 for µVision Using the Compiler

ARM Compiler toolchain v4.1 for µVision Using the Compiler

ARM Compiler toolchain v4.1 for µVision Using the Compiler

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Using</strong> <strong>the</strong> Inline and Embedded Assemblers of <strong>the</strong> <strong>ARM</strong> <strong>Compiler</strong><br />

7.46 Calling nonstatic member functions in embedded assembler<br />

You can use keywords beginning with __mcall and __vcall to call nonvirtual and virtual<br />

functions from __asm functions. There is no __mcall_is_static to detect static member functions<br />

because static member functions have different parameters (that is, no this), so call sites are<br />

likely to already be specific to calling a static member function.<br />

7.46.1 See also<br />

Concepts<br />

• <strong>Compiler</strong>-supported keywords <strong>for</strong> calling class member functions in embedded assembler<br />

on page 7-47<br />

• Calling a nonvirtual member function on page 7-54<br />

• Calling a virtual member function on page 7-55.<br />

<strong>ARM</strong> DUI 0375C Copyright © 2007-2008, 2011 <strong>ARM</strong>. All rights reserved. 7-53<br />

ID061811<br />

Non-Confidential

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!