|ARM Technical Support Knowledge Articles|
Applies to: C166 C Compiler
Information in this article applies to:
When using Optimizer Level 7, the C166 Compiler may generate JMPs to functions instead of CALLs. If the first instruction in the function is a JMP, you may encounter a chip problem (on some devices) with the PEC. This is because the Optimizer creates a JMP to a JMP.
Be sure to read the errata sheets for your part to learn if the chip you use has this problem.
Use the FIXPEC directive to avoid this potential problem and to ensure that a JMP instruction is never used at the beginning of a function.
Article last edited on: 2000-09-07 00:00:00
Did you find this article helpful? Yes No
How can we improve this article?