ARM Technical Support Knowledge Articles

L138 ERROR USING OPERAND ARITHMETIC IN AN ARRAY INDEX

Applies to: LARM Linker/Locator

Answer


Information in this article applies to:


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.

Article last edited on: 2007-01-18 12:09:20

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential