home *** CD-ROM | disk | FTP | other *** search
/ Jason Aller Floppy Collection / 181.img / TASM-101.ZIP / PLUSONE.C < prev    next >
Text File  |  1988-10-31  |  282b  |  13 lines

  1.  
  2. #include <stdio.h>
  3.  
  4. int  main(void)
  5.  
  6. {
  7.    int  TestValue;
  8.  
  9.    scanf("%d",&TestValue);          /* get the value to increment*/
  10.    asm  inc  WORD PTR TestValue;    /* increment it (inassembler) */
  11.    printf("%d",TestValue);          /* print the incremented value */
  12. }
  13.