Keil Logo

LARM: L138 ERROR USING OPERAND ARITHMETIC IN AN ARRAY INDEX


Information in this article applies to:

  • LARM Version 1.3 and Earlier

SYMPTOM

Indexing an array with an arithmetic expression sometimes results in the following ARM linker error:

*** ERROR L138: CODE GENERATION: PROBLEM WHEN PROCESSING INSTRUCTIONS

CAUSE

Using a constant - variable expression for an array index can cause this error with early versions of the Keil ARM Linker.

RESOLUTION

This problem is corrected in the CARM V1.4 (and later) update. For DKARM versions 1.3 and earlier, you may download the latest updates from the CARM Product Updates on the Keil Website.

FORUM THREADS

The following Discussion Forum threads may provide information related to this topic.

Last Reviewed: Thursday, January 18, 2007


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  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.