By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,799 Members | 1,349 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,799 IT Pros & Developers. It's quick & easy.

Why some code is in assembly

P: 3
Why some code files in u-boot, kernel will be in assembly , cannot we have the same thing in c. as the compiler will finally convert it to assembly.
Jun 2 '08 #1
Share this Question
Share on Google+
1 Reply

micmast
100+
P: 144
Why some code files in u-boot, kernel will be in assembly , cannot we have the same thing in c. as the compiler will finally convert it to assembly.
I believe they did that so the code is as performent as possible. Even tho C will convert its code to assembly it is actually better to write that part in assembly. if you want more info you can find some interesting links on os development on google
Jun 2 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.