28.2.12 __builtin_clr
Architecture
dsPIC33A, dsPIC33C/E/F, dsPIC30
Description
Clear the specified accumulator.
For example:
volatile register int16_t result asm("A");
result = __builtin_clr();
will generate:
clr A
Prototype:
int __builtin_clr(void);
For dsPIC33A, int
is int32_t
. For dsPIC33C/E/F and
dsPIC30, int
is int16_t
.
Argument
None
Return Value
Returns the cleared value result to an accumulator.
Assembler Operator/ Machine Instruction
clr a
Error Messages
An error message will be displayed if the result is not an accumulator register.