#include <cruntime.h>
int16_t __int16_asr_asgn(int16_t *arg, int16_t bits);
__int16_asr_asgn updates the 16-bit signed integer pointed to by arg by arithmetically shifting it right by bits bit positions, replicating the sign bit. The shifted value is returned as the result.
__int16_asr_asgn may not be provided on all implementations of CrossWorks.