View Single Post
Old May 31st, 2007, 3:06 PM   #1
hareshkainth
Newbie
 
Join Date: May 2007
Posts: 2
Rep Power: 0 hareshkainth is on a distinguished road
how does assembly code optimise high level code?

hi all, first time posting.

i program in c++, vb, java, cocoa (objective -c) < mac only.

ive seen some assembly code and im trying my best to learn some parts (dont get me wrong, i would love to learn it properly, but not sure what books to get or resources i need i.e. software etc).

im interested in this subject, for example, in c, i have a simple loop

for(i=0; i<10; i++)
{
// do something
}

in assembly code, what should i be looking for, in order to optimise such code.

the reason im interested in assembly, is that i would like to become a good all-round software developer, i love high level languages but i feel if i can have some understanding of low level stuff, it would greatly help me to write better code (in high level languages).

i hope ive made this post clear, if i havn't i appologies in advance.

thanks for reading, looking forward to your response. harry.
hareshkainth is offline   Reply With Quote