Keil™, An ARM® Company

Technical Support

C166: _TESTCLEAR_ INTRINSIC FUNCTION

QUESTION

We have C166 V3.13 and the _testclear_ function cannot be used as follows:

if (_testclear_(a) == 1) { something; }

The following code, however, works fine.

if (_testclear_(a)) { something; }

Is there a work-around for this problem?

ANSWER

Yes. Try using the following...

if (_testclear_(a) != 0) { something; }

Last Reviewed: Monday, June 07, 2004


Did this article provide the answer you needed?
 
Yes
No
Not Sure