|
|||||||||||||||||||||||||||||||||||||||||||||||||||
Technical Support On-Line Manuals Ax51 User's Guide ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
ExpressionsThe MPL macro processor interprets balanced text strings as numeric expressions when they are used arguments to the following MPL functions: Numeric expressions are processed as follows:
The following operators may be used in numeric expressions:
Arithmetic on MPL numeric expressions is performed using signed 16-bit integers. The result of relational operators is either 0 (FALSE) or 1 (TRUE). Numeric ConstantsNumbers may be specified in hexadecimal (base 16), decimal (base 10), octal (base 8), and binary (base 2) using the suffix and character specified in the following table:
A number with no explicit base is interpreted as a decimal number. The first character of a number must always be a digit (0-9). Hexadecimal numbers that do not have a digit as the first character — that is, if they have A-F in that position — must be prefixed with a 0. Dollar sign characters ('$') may be used within numbers to make them more readable. However, the dollar sign may not be the first or last character of a number. For example:
Hexadecimal numbers may be entered using C language conventions.
Character ConstantsThe MPL macro processor supports ASCII character strings which may consist of one or two characters enclosed in single quotes ("'"). For example:
Note
| ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.