#include <cruntime.h>
int16_t __int16_lsl(int16_t arg, int16_t bits);
__int16_asr shifts arg arithmetically right by bits bit positions, replicating the sign bit, and returns the shifted result.
__int16_asr may not be provided on all implementations of CrossWorks.