insert asm code



does anyone know how can i insert the below asm code in my C program?
    mov    dx, port
    outp    al,dx
where "port" is a memory address and "al" is a data.
I use gcc for windows.Thanks a lot!!
 Eusebio





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]