07-14-2010, 06:36 AM
they said c could add inline asm in the code,tcc support it? :?:
Could use inline asm in _Tcc?
|
07-14-2010, 06:36 AM
they said c could add inline asm in the code,tcc support it? :?:
07-14-2010, 06:46 AM
looks like there are some words "asm.__asm...mov" in tcc.dll...how to use it?
![]()
07-14-2010, 07:16 AM
Look in tcc website.
http://bellard.org/tcc/tcc-doc.html#TOC10 example from there static inline void * my_memcpy(void * to, const void * from, size_t n) test in qm Macro tcc asm __Tcc x.Compile("" "my_memcpy") More examples: download tcc source code, find file tcctest.c, and find text __asm__.
07-14-2010, 08:38 AM
great! but have to read more docs... :roll:
|
« Next Oldest | Next Newest »
|