[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: Inline assembly syntax in gcc...
- To: linux-india-programmers@xxxxxxxxxxxxxxxxxxxxx
- Subject: Re: Inline assembly syntax in gcc...
- From: Syed Khader Vali <sidgeek@xxxxxxxxxxxxxx>
- Date: 05 Jun 2000 15:25:49 +0530
- Copyright: Copyright 2000 Syed Khader Vali - All Rights Reserved
- Disclaimer: Not speaking for anyone in any way, shape, or form.
- In-reply-to: Kedar Patankar's message of "Mon, 5 Jun 2000 15:20:22 +0530 (IST)"
- Operating-system: Turing OS XCVII
- Organization: IBM Global Services - India
- Reply-to: sidgeek@xxxxxxxxxxxxxx
- Url: http://www.sidcarter.com/
>>>>> 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