Re: asm outport

2005-12-05 Thread Jim Wilson
david pasha wrote: #include conio.h ... outport(0x56,0xf); You didn't mention what gcc error you got. You need to give complete info about a problem if you want a good answer. Since this is a very target dependent issue, you might try sending mail to a cyginw or mingw list. Gcc

asm outport

2005-12-03 Thread david pasha
Hi, i want send word (16 bit) to I/O in borland C V3.0 i write for send 0xf to port address ox56 #include conio.h int main(void) { asm { mov dx,0x56 mov ax,0xf out dx,ax } return 0; } OR #include conio.h int main(void) { outport(0x56,0xf); return 0; } but when write this