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