10.10 __INTADDR__

The __INTADDR__ operation treats the enclosed expression as a constant expression, and converts it to an integer constant.

Note

This is used in the offsetof macro.

Syntax

__INTADDR(expr)

Where:

expr

is an integral constant expression.

Return value

__INTADDR__(expr) returns an integer constant equivalent to expr.

Related concepts
7.29 Restrictions on embedded assembly language functions in C and C++ code
Non-Confidential PDF file icon PDF version ARM DUI0472J
Copyright © 2010-2013 ARM. All rights reserved.