ARM Technical Support Knowledge Articles

PSW NOT UPDATED USING BMOV INSTRUCTION

Applies to: uVision Debugger

Answer


Information in this article applies to:


SYMPTOMS

When using the uVision Simulator, the PSW is not updated when using the BMOV instruction. Specifically, the ZR and N flags are not updated. This can be illustrated by the following code example:

BSET    R1.0
BMOV    USR0,R1.0       ; ZR = 0 , N = 1 <- Does not occurr.

An effect of this problem is that branch instructions that test ZR after a BMOV instruction are not executed as they should be.

CAUSE

We have confirmed that this is a problem in uVision V2.06.

RESOLUTION

This problem is corrected in uVision V2.11. You may download the latest updates from the following URL:

http://www.keil.com/update/

Article last edited on: 2004-06-28 10:31: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