home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
listings
/
v_10_06
/
1006057b
< prev
next >
Wrap
Text File
|
1992-04-10
|
295b
|
13 lines
#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);
}