04.01.2015 Views

RealView Compilation Tools - ARM Information Center

RealView Compilation Tools - ARM Information Center

RealView Compilation Tools - ARM Information Center

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Compiler-specific Features<br />

4.1.8 __int64<br />

The __int64 keyword is a synonym for the keyword sequence long long.<br />

__int64 is accepted even when using --strict.<br />

See also<br />

• --strict, --no_strict on page 2-119<br />

• long long on page 3-8.<br />

4.1.9 __INTADDR__<br />

The __INTADDR__ operation treats the enclosed expression as a constant expression, and<br />

converts it to an integer constant.<br />

Note<br />

This is used in the offsetof macro.<br />

Syntax<br />

__INTADDR(expr)<br />

Where:<br />

expr<br />

is an integral constant expression.<br />

Return value<br />

__INTADDR__(expr) returns an integer constant equivalent to expr.<br />

See also<br />

• Restrictions on embedded assembly on page 7-19 in the Compiler User Guide.<br />

4.1.10 __irq<br />

The __irq keyword enables a C or C++ function to be used as an interrupt routine.<br />

__irq is a function qualifier. It affects the type of the function.<br />

Restrictions<br />

All corrupted registers except floating-point registers are preserved, not only those that<br />

are normally preserved under the AAPCS. The default AAPCS mode must be used.<br />

4-10 Copyright © 2007-2010 <strong>ARM</strong>. All rights reserved. <strong>ARM</strong> DUI 0348C<br />

Non-Confidential,<br />

ID101213

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

Saved successfully!

Ooh no, something went wrong!