05.02.2013 Views

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

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.

I.6 Statements <strong>and</strong> program structure<br />

This section describes the control statements used in the pseudocode.<br />

I.6.1 Simple statements<br />

The following simple statements must all be terminated with a semicolon, as shown.<br />

Assignments<br />

An assignment statement takes the form:<br />

= ;<br />

Procedure calls<br />

A procedure call takes the form:<br />

();<br />

Return statements<br />

A procedure return takes the form:<br />

return;<br />

<strong>and</strong> a function return takes the form:<br />

return ;<br />

where is of the type the function prototype line declared.<br />

UNDEFINED<br />

The statement:<br />

UNDEFINED;<br />

Pseudocode Definition<br />

indicates a special case that replaces the behavior defined by the current pseudocode (apart from behavior<br />

required to determine that the special case applies). The replacement behavior is that the Undefined<br />

Instruction exception is taken.<br />

<strong>ARM</strong> DDI 0406B Copyright © 1996-1998, 2000, 2004-2008 <strong>ARM</strong> Limited. All rights reserved. AppxI-17

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

Saved successfully!

Ooh no, something went wrong!