Results 1 to 2 of 2
My developing environment is: OS(fedora2), compiler(arm-linux-gcc), target(arm9)
I am doing some work, it does not perform as what I expected. So I want to change some C code to asm ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-14-2005 #1Just Joined!
- Join Date
- Nov 2005
- Posts
- 5
How to add asm code to a '.C' file
My developing environment is: OS(fedora2), compiler(arm-linux-gcc), target(arm9)
I am doing some work, it does not perform as what I expected. So I want to change some C code to asm code to improve the performance. But I have not found any useful article or books. Somebody told me to watch the examples, however, I don't think it is good way.
Any help will be appreciated!
- 11-14-2005 #2
It should just be a case of the following:
Code:main() { asm("... assembly code ") }
Great GNU/Linux references and resources:
The Linux Documentation Project
Rute User's Tutorial and Exposition
GNU/Linux Man Pages


Reply With Quote
