Inline Assemby

Doran, Steve @ OS Steve.Doran@OS.L-3com.com
Tue Mar 20 11:39:00 GMT 2001


Title: Inline Assemby





I am somewhat confused about how to embed inline assembly in a
gcc program. Below is my simple assembly instructions:


    in   al, E0h
    or   al, 01h
    out E0h, al


What is the syntax to insert my assembly instructions in gcc? I have
read the gcc manual and I have tried all sorts of iterations without succcess.


BTW, I have a requirement to port the assembly so I cannot convert it into C.







More information about the Gcc-help mailing list