1. What is single-chip microcomputer programming: that is, the hardware is a single-chip microcomputer, and the program development based on single-chip microcomputer is carried out. In the case of peripheral support, the part controlled by software can be realized through single-chip microcomputer programming.
Single-chip computer can recognize the language is hardware language that assembly, so programming is around assembly to achieve, there is a direct use of assembler to write, but more difficult to debug the writing, especially on the scale is more difficult to achieve, so commonly used high-level language to write and then through the compiler into assembly, such as C or C.
MCU programming will also vary due to its different bits, such as 8-bit MCU programming, 16-bit MCU programming, 32-bit MCU programming, etc., but only a small difference...
2. What is the single chip microcomputer: A single chip computer is an integrated circuit chip, It is the use of very large scale integrated circuit technology to integrate the central processor CPU random access memory RAM, read-only memory ROM, A variety of I\/O ports and interrupt systems, timers\/timers and other functions (may also include display driver circuit, pulse width modulation circuit, analog multiplexer, A\/D converter and other circuits) into a silicon chip A small but perfect computer system.
The Microcontroller can be programmed using a variety of programming languages, and the specific choice depends on the model of the microcontroller and the development tools provided by the manufacturer.
< br >
One of the most commonly used programming languages is C. C language is widely used in embedded system development, because of its high efficiency, small resource occupation, strong portability and so on. Many microcontroller manufacturers provide C compilers and development environments for their products, which is convenient for users to program microcontroller.
< br >
In addition to C language, there are some microcontrollers also support other programming languages, such as Java-based programming languages, Python, and so on. These languages are usually implemented through corresponding toolchains or interpreters.
< br >
In addition, assembly language is also a low-level language commonly used in microcontroller programming. Assembly language operates the hardware directly and has high flexibility, but it is relatively complicated to learn and write.
< br >
All in all, the single chip microcomputer can be programmed using C language, assembly language and other adaptive programming languages, the specific choice needs to be determined according to the single chip microcomputer model, the development environment provided by the manufacturer and personal preferences.