ARM Technical Support Knowledge Articles

CPU.22 ERRATA PROBLEM: Z FLAG AFTER PUSH AND PCALL

Applies to: C166 C Compiler

Answer


Information in this article applies to:


QUESTION

Some Infineon C16x devices contain a chip problem that is documented as CPU.22 problem. The Z Flag in the PSW might be corrupted after execution of PUSH or PCALL. Does the Keil C166 toolchain generate any instruction sequences that might create problems here?

ANSWER

The CPU.22 chip problems do not affect the Keil C16x Toolchain. Note that the Z Flag is the only side-effect of the CPU.22 chip problem. So, you must be careful of where your programs check its status.

In the Keil C16x Toolset, we have checked the following:

SEE ALSO

Article last edited on: 2004-05-10 15:37:45

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