L_deposit_l

Deposits the 16-bit integer or fractional value into the lower 16 bits of a 32-bit value, and sign extends the upper 16 bits of a 32-bit value.

Prototype

  Word32 L_deposit_l(Word16 ssrc)

  

  
Example
short s1 = 0x7FFF;

long result;



result = L_deposit_l(s1);

// Expected value of result: 0x00007FFF