28.2.146 __builtin_write_ACCU

Architecture

dsPIC33A

Description

Write a value to the upper part of an accumulator.  If loading the entire accumulator, __builtin_write_ACCH  or __builtin_lac should be executed first.

Example:

volatile register int Accum asm("A");
int value;
 
Accum = __builtin_write_ACCU(value);

Protoype

int __buitltin_write_ACCU(int value);

Arguments

value - value to write

Return Value

Accumulator is updated by writing to the upper part of the accumulator.

Machine Instruction

luac.l

Error Messages

None.