Arithmetic shift of 16-bit value by a specified shift amount. If the shift count is positive, a left shift is performed. Otherwise, a right shift is performed. Saturation does not occur during a left shift. When an accumulator is the destination, zeroes out the LSP portion.
Word16 shlftNs(Word16 sval2shft, Word16 s_shftamount)
short result; short s1 = 0x1234; short s2 = 1; result = shlftNs(s1,s2); // Expected value of result: 0x2468