Listing 2

#include <stdio.h>
int main(void)
   {
   int TestValue;
   /* get the value to increment */
   scanf("%d",&TestValue);
   /* increment it (in assembler) */
   #asm inc WORD PTR TestValue
   /* print the incremented value */
   printf("%d",TestValue);
   }
/* End of File */