中文English
单片机语音芯片ichaiyang 2024-05-10 2:51 56
MCU language has C language, assembly language, BASIC language and so on. Among them, C language is the most commonly used high-level language in the development of single chip mic...

What is the language of MCU?

MCU language has C language, assembly language, BASIC language and so on. Among them, C language is the most commonly used high-level language in the development of single chip microcomputer, because its syntax is simple and easy to learn, the code is good readability, suitable for rapid development, and can directly call many low-level hardware interfaces. Although the
assembly language is complicated in syntax, it can control the hardware more intuitively, and is an efficient programming language.
BASIC is mainly used for education and small embedded systems.
It should be noted that different microcontrollers may differ in the supported languages, and developers need to understand the supported programming languages before choosing a microcontroller.
At the same time, different application scenarios will also affect the developer's choice of programming language.


Single-chip language can use assembly language and high-level language programming assembly language closer to the underlying hardware, but the programming efficiency is low, high-level language is relatively efficient, but the need for compiler conversion
For example, C language and C language can be used to write single-chip computer programs, and has high programming efficiency and cross-platform