28.2.34 __builtin_ed_16

Architecture

dsPIC33A

Description

Compute the partial Euclidean distance of (x-y)2, storing the result in to an accumulator.

Example:

volatile register int Accum asm("A");
int16_t x,y;

Accum = __builtin_ed_16(x,y);

Prototype

int __builtin_ed_16(int16_t x, int16_t y);

Arguments

x - left hand side of subtraction

y - right hand side of subtraction

Return Value

Returns (x-y)2 assigned to an accumulator

Machine Instruction

ed.w

Error Messages

None.