A problem that has plagued me for a long time ~~

Source: Internet
Author: User
A problem that has plagued me for a long time ~~ -- Linux general technology-Linux programming and kernel information. The following is a detailed description. I am studying electronics. when learning SCM. I know that single-chip microcomputer recognizes binary code. we use the assembler software provided by keil or intel to write programs in their prescribed assembly language or C language. then, the writer is written into the memory of the microcontroller. even if it is done.

Now I have a lot of questions that I can switch from windows to linux, but it still cannot be well solved. because windows does not expose source code, linux can learn the kernel. however, after reading the kernel, I found that it was basically written in C or assembly, which I still understand very well. but here is my question. Any hardware recognizes only binary numbers. single-Chip Microcomputer with special software to convert the Assembly into a binary code. how can I identify C Programs and assembler programs on a bare metal machine? That is to say, linux uses C and assembly when writing, but how does it enable machine identification and become an operating system?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.