28.2.73 __builtin_max_16 __builtin_max_32

Architecture

dsPIC33A

Description

Compare the two arguments and return the largest.

Prototype

int16_t __builtin_max(int16_t value1, int16_t value2);
int32_t __builtin_max(int32_t value1, int32_t value2);

Arguments

value1 – Data value

value2 – Maximum limit value

Return Value

Returns the largest argument between value1 and value2 .

Machine Instruction

max.w
max.l

Error Messages

None