Keil Logo

Error A1

Summary
*** Error A1

Illegal Character in Numeric Constant

Description

This error indicates that an invalid character was found in a numeric constant. Numeric constants must begin with a decimal digit and are delimited by the first non–numeric character with the exception of the dollar sign ('$'). The base of the number determines which characters are valid.

  • Base 2: 0, 1, and the base indicator B
  • Base 8: 0–7 and the base indicator O or Q
  • Base 10: 0–9 and the base indicator D (or no indicator)
  • Base 16: 0–9, A–F, and the base indicator H
  • Base 16: 0xhhhh where h is a hexadecimal digit (0–9 and A–F)
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

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.