ARM Technical Support Knowledge Articles

PAGE OVERRIDE OPERATOR GENERATING INCORRECT ADDRESS

Applies to: C166 C Compiler

Answer


Information in this article applies to:


QUESTION

I have written the following code:

mov     DPP1,#pag(jmp_app)
mov     r2,#DPP1:pof(jmp_app)

The result is that the upper two bits of R2 are set to 00 rather than 01. Is this a bug?

ANSWER

Yes. You require:

or a version of the toolset later than 4.03. The newer assembler and linker will solve the problem. You may download the latest updates from the Keil Website.

MORE INFORMATION

ATTACHED FILES

Request the files attached to this knowledgebase article.

Article last edited on: 2006-10-24 14:30:25

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