__mod_getint16

Retrieve a 16-bit signed value from the modulo buffer and update the modulo pointer.This function returns an integer value from the location pointed to by the modulo pointer. The function then updates the modulo pointer by <amount> integer units ( <amount>*2 bytes). <amount> must be a compile time constant.

Prototype

  int __mod_getint16( int <mod_desc>, int <amount> );

  
Example

Retrieve an integer value from a modulo buffer and update the modulo buffer pointer by one word.


  int y;

  y = __mod_getint16(0, 1);