why can’t we covert high level code directly to machine code
Assembly language
Machine language, or machine code, is the only language that is directly understood by the computer, and it does not need to be translated. All instructions use binary notation and are written as a string of 1’s and 0’s. A program instruction in machine language may look something like this:
10010101100101001111101010011011100101
A high-level language is a programming language that uses English and mathematical symbols, like +, -, % and many others, in its instructions.
And, A compiler is a computer program that translates a program written in a high-level language to the machine language of a computer. The high-level program is referred to as ‘the source code.’
If you have any other doubts, please feel free to ask.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.