PG1995
Active Member
Hi
It is said that coding the hardware using machine language can greatly enhance speed, efficiency, and such related parameters. I have been told even now when speed, efficiency, etc., are the concerns of importance, then coding of the hardware with assembly or machine language is preferred. I don't get it. Suppose you write a code using C++ to use with a microcontroller. You compile it using a compiler which would render the code into a hex code (machine code). You see you still end up with machine code. The same can be said about assembly language which also gets assembled into machine code but is a low level language. Why is so? Could you please help me with it? Thank you.
Regards
PG
It is said that coding the hardware using machine language can greatly enhance speed, efficiency, and such related parameters. I have been told even now when speed, efficiency, etc., are the concerns of importance, then coding of the hardware with assembly or machine language is preferred. I don't get it. Suppose you write a code using C++ to use with a microcontroller. You compile it using a compiler which would render the code into a hex code (machine code). You see you still end up with machine code. The same can be said about assembly language which also gets assembled into machine code but is a low level language. Why is so? Could you please help me with it? Thank you.
Regards
PG
Last edited: