ARM Technical Support Knowledge Articles

WARNING A130 (AMBIGOUS INSTRUCTION)

Applies to: A166 Macro Assembler

Answer


Information in this article applies to:


QUESTION

In my assembler program, I'm using the following C16x instruction:

MOV [R3+], [R2]

and I receive the following warning:

Warning A130: AMBIGOUS INSTRUCTION, TYPE 'WORD' ASSUMED

What can I do to stop getting this warning?

ANSWER

The assembler can't determine the size of the object to move. That causes this problem. The solution is to use either the MOVB or MOVW instructions. For example:

MOVW [R3+], [R2]

does what you want without generating the error.

Article last edited on: 2005-06-12 11:45:43

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