Ha ha, after 10 years, I dig this thread

I have a problem with my code, need inline assembly on a C program, build with Watcom 10.6 on QNX4.
After a long time have been searching on WWW, I found this work fine. I post them here for someone else (or for me later

)
/*
OS: QNX4.25 with Watcom C Compiler 10.6
Filename: test.c
Make: cc test.c -o test
Code: Cong Ca Chon
*/
#include <stdio.h>
void int10(void);
int Cong(int a, int b);
#pragma aux int10 = \
" mov ax, 13h " \
" int 10h " \
modify [ax];
#pragma aux Cong parm [eax] [ebx] = \
" add eax, ebx " \
value [eax] \
modify [eax ebx];
int main()
{
printf("Inline assembly demo\n");
printf("%d+%d=%d", 5,10,Cong(5,10));
return 0;
}