Hi, On 12/17/10, Santiago Almenara <almen...@gmail.com> wrote: > > I am making some programs under FreeDOS with OpenWatcom. > > What I want to do is to insert assembly code under in C.
1). pragma aux 2). _asm > Basically insert "int" the assembly code and read AX, BX, CX and DX > registers. You could also use: dos.h -> intdos, intdosx i86.h -> int86, int86x, int386, int386x OpenWatcom has some docs, but I don't know offhand which one has more info regarding this. A quick search didn't reveal anything, but "whelp" is your friend. ;-) ------------------------------------------------------------------------------ Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d _______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user