Hi,
 yes, the RTlinux support asm inside code ... more precisely, gcc
support asm in C source.
This means that you can use asm like that :

func(...)
{
  [...]

  __asm(
  " instructions ...\n"
  " ...             \n"
  : out_register/memory
  : in_registers/memory
  : modified registers/memory (constraints)
  ) ;

  [...]
}

I suggest you to look at gcc compiler doc to see how using it.
The asm inlined is usefull to do optimizations with mmx or others
specific processors functions ...
I use these inlined asm code in my rt modules without any pb.

Chris.

crzhang wrote:
> 
> Hi, all
> Does RTLinux support asm? If so, how to use asm in it?
> Thanx a lot
> Wang Heng
> Shandong University
> 2000.9.22
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> ---
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/rtlinux/

-- 
don't forget to remove NOSPAM_ for reply
Kumsta Christophe <[EMAIL PROTECTED]>
Real-Time image processing developper
RT-Linux/RTAI ( Use the Source Luck !)

-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to