hi everyone,
am sorry but i have to bother you again. Here is my question. Firstly I want to know how to include asm programming in C. Secondly, is there a way to convert hex into asm in C.
Thanks for all your responses. :)

If you have small snippets of asm you want to do you can usually inline the ASM. In vc++, for example:

void DoSomething( int parameter )
{
    int localVar;

    __asm
    {
        mov EAX, localVar   // you have access to local vars by name
        mov parameter, EAX // and to parameters
    }
}
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.