28.2.6 __builtin_clr

Description

Clear the specified accumulator.

For example:

volatile register int result asm("A");

result = __builtin_clr();

will generate:

clr A

Prototype:

nt __builtin_clr(void);

Argument

None

Return Value

Returns the cleared value result to an accumulator.

Assembler Operator/ Machine Instruction

clr

Error Messages

An error message will be displayed if the result is not an accumulator register.