I hate GCC inline Assembly
2008-03-16 23:01
465 查看
For C & assembly mixed programming, you have two solutions: Seperate src with Link time mixing, and mixing src directly.
The first solution is clearer on src, and you should only notice the linker symbol names(the heading slash). The second, sounds nicer, I'm not sure about the other C compilers, while GCC's assembly inline specification is really UGLY. It has messed & confusing semantics. It'll waste a lot of dev. time~!
I hate it~!
The first solution is clearer on src, and you should only notice the linker symbol names(the heading slash). The second, sounds nicer, I'm not sure about the other C compilers, while GCC's assembly inline specification is really UGLY. It has messed & confusing semantics. It'll waste a lot of dev. time~!
I hate it~!
相关文章推荐
- Using Inline Assembly With gcc
- GCC Inline Assembly 实现互斥锁
- Defining Bytes in GCC Inline Assembly in Dev-C++(.
- GCC内联汇编(inline assembly )的几个例子
- Inline Assembly in VC++ and gcc
- GCC Inline Assembly-HOWTO
- GCC内联汇编(inline assembly)
- Extended Inline Assembly in GCC
- Visual C++ Inline Assembly 简介
- How to inline ASM in C (gcc)
- ARM GCC Inline Assembler Cookbook
- Inline Assembly in GCC Vs VC++
- 专题 18 Inline Assembly(在C语言中嵌套使用汇编)
- An Inline Function is As Fast As a Macro(《Using the GNU Compiler Collection (GCC)》)
- Inline Assembly
- 内联函数——InlineAssembly
- 【Linux学习笔记】Linux C中内联汇编的语法格式及使用方法(Inline Assembly in Linux C)
- [GCC]Inline Assembler Cookbook
- [转]Visual C++ Inline Assembly 简介
- gcc inline