home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Piper's Pit BBS/FTP: ibm 0000 - 0009
/
ibm0000-0009
/
ibm0003.tar
/
ibm0003
/
TDBPRO3.ZIP
/
CHAPXMPL.ZIP
/
PLUSONE.C
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1988-08-29
|
282 b
|
13 lines
#include <stdio.h>
int main(void)
{
int TestValue;
scanf("%d",&TestValue); /* get the value to increment*/
asm inc WORD PTR TestValue; /* increment it (inassembler) */
printf("%d",TestValue); /* print the incremented value */
}