Keil Logo

µVISION DEBUGGER: PSW NOT UPDATED USING BMOV INSTRUCTION


Information in this article applies to:

  • C166 Version 4.06
  • µVision Version 2.06

SYMPTOMS

When using the µVision 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 µVision V2.06.

RESOLUTION

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

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

Last Reviewed: Monday, June 28, 2004


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.