24.10.2012 Views

J-Link / J-Trace User Guide (UM08001) - Microcontrollers

J-Link / J-Trace User Guide (UM08001) - Microcontrollers

J-Link / J-Trace User Guide (UM08001) - Microcontrollers

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

• ARM1176JFS<br />

• CORTEX_M0<br />

• CORTEX_M1<br />

• CORTEX_M3<br />

• CORTEX_M3R1P0<br />

• CORTEX_M3R1P1<br />

• CORTEX_M3R2P0<br />

• CORTEX_M4<br />

• CORTEX_R4<br />

5.10.5 Script file language<br />

The syntax of the J-<strong>Link</strong> script file language follows the conventions of the C-language,<br />

but it does not support all expresisons and operators which are supported by<br />

the C-language. In the following, the supported operators and expressions are listed.<br />

5.10.5.1 Supported Operators<br />

The following operators are supported by the J-<strong>Link</strong> script file language:<br />

• Multiplicative operators: *, /, %<br />

• Additive operators: +, -<br />

• Bitwise shift operators: )<br />

• Relational operators: , =<br />

• Equality operators: ==, !=<br />

• Bitwise operators: &, |, ^<br />

• Logical operators: &&, ||<br />

• Assignment operators: =, *=, /=, +=, -=, =, &=, ^=, |=<br />

5.10.5.2 Supported type specifiers<br />

The following type specifiers are supported by the J-<strong>Link</strong> script file language:<br />

• void<br />

• char<br />

• int (32-bit)<br />

• __int64<br />

5.10.5.3 Supported type qualifiers<br />

The following type qualifiers are supported by the J-<strong>Link</strong> script file language:<br />

• const<br />

• signed<br />

• unsigned<br />

5.10.5.4 Supported declarators<br />

The following type qualifiers are supported by the J-<strong>Link</strong> script file language:<br />

• Array declarators<br />

5.10.5.5 Supported selection statements<br />

The following selection statements are supported by the J-<strong>Link</strong> script file language:<br />

• if-statements<br />

• if-else-statements<br />

5.10.5.6 Supported iteration statements<br />

The following iteration statements are supported by the J-<strong>Link</strong> script file language:<br />

• while<br />

• do-while<br />

J-<strong>Link</strong> / J-<strong>Trace</strong> (<strong>UM08001</strong>) © 2004-2010 SEGGER Microcontroller GmbH & Co. KG<br />

123

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

Saved successfully!

Ooh no, something went wrong!