|
|||||||||||||||||||||||||||||||||||||||||||||
Technical Support On-Line Manuals µVision User's Guide ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
ConstantsThe µVision debugger accepts constants of the following type: binary, decimal, HEX, octal, floating-point, character, and string. Binary, Decimal, HEX, and Octal ConstantsBy default, numeric constants are of the type decimal. When entering 10, this is the decimal number ten and not the HEX value 10h. However, the value output in the Command window is steered by the system variable radix. Use the prefixes or suffixes listed in the table to change the meaning of a numeric expression:
About numeric constants:
Floating-Point ConstantsFloating-point numbers must have a digit before the decimal point. Thus, .12 is not allowed, but 0.12 must be entered. Floating-point constants can have the following formats:
Valid floating-point constants: 4.12, 0.1e3, 12.12e–5 Character ConstantsThe C programming language rules for character constants apply to the µVision debugger. Valid character constants: 'a', '1', '\n', '\v', '\x0FE', '\015' Escape-sequences are also supported:
String ConstantsThe C programming language rules for string constants also apply to the µVision debugger. However, contrary to the C-language, successive strings are not concatenated into a single string. For example, "string1"+"string2" is not combined into a single string. Valid string constants: "string\x007\n" "value of %s = %04XH\n" Escape double quotes within nested strings: "printf (\"hello world!\n\")" | ||||||||||||||||||||||||||||||||||||||||||||
|
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.