[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: Inline assembly syntax in gcc...



>>>>> On Mon, 5 Jun 2000 15:20:22 +0530 (IST), Kedar Patankar <kedar@xxxxxxxxxx> said:

    Kedar>     asm volatile ("movl %%cr4, %0\n\t" "movl %0, %1\n\t"
    Kedar> "andb $0x7f, %b1\n\t" "movl %1, %%cr4\n\t" : "=r"
    Kedar> (ctxt->cr4val), "=q" (tmp) : : "memory");

hi Kedar, 
Have you looked at the inline_assembly.txt file which comes with the
gcc docs. That should help you in understading what these means.
Let me know if you need it, I can send it to you as an attachment.
Bye
regards
        - Khader
-- 
Linux poses a real challenge for those with a taste for late-night
hacking (and/or conversations with God).

Syed Khader Vali (Siddiq)                          sid@xxxxxxxxxxxxx
Debian GNU/Linux (Woody)                    http://www.sidcarter.com