Five Key Considerations in Embedded Microcontroller Programming

Five Key Considerations in Embedded Microcontroller Programming

During the process of microcontroller programming, if a designer can master multiple programming languages simultaneously, then this designer is certainly a very talented individual. However, it is quite challenging to be proficient in Assembly, C, and C++ at the same time. Many beginners encounter obstacles while learning even one of these languages, leading to frustration. … Read more

18 Q&A on Basic Microcontroller Programming Knowledge

18 Q&A on Basic Microcontroller Programming Knowledge

1. What are the advantages and disadvantages of C language and assembly language in microcontroller development? Answer: Assembly language is a symbolic language that uses mnemonic words to represent machine instructions, making it the closest language to machine code. Its main advantages are low resource usage and high execution efficiency. However, assembly languages may differ … Read more

Detailed Explanation of Data, Xdata, and Code in 51 Microcontroller Programming

Detailed Explanation of Data, Xdata, and Code in 51 Microcontroller Programming

dATa: Fixed to the first 128 RAM addresses from 0x00 to 0x7F, can be directly read and written using ACC, fastest speed, and generates the smallest code. iDATa: Fixed to the first 256 RAM addresses from 0x00 to 0xFF, where the first 128 are identical to dATa, but accessed in a different way. iDATa is … Read more

9 Major Challenges in Microcontroller Programming

9 Major Challenges in Microcontroller Programming

1. What are the advantages and disadvantages of using C language and assembly language in microcontroller development? Answer: Assembly language is a symbolic language that uses mnemonic symbols to represent machine instructions, making it the closest language to machine code. Its main advantages are low resource usage and high program execution efficiency. However, assembly languages … Read more

10 Questions and Answers on Microcontroller Programming

10 Questions and Answers on Microcontroller Programming

1. What are the advantages and disadvantages of C language and assembly language in microcontroller development? Answer: Assembly language is a symbolic language that uses mnemonic symbols to represent machine instructions, making it the closest language to machine code. Its main advantages are low resource usage and high program execution efficiency. However, the assembly language … Read more

Why Use C Language for Microcontroller Programming

Why Use C Language for Microcontroller Programming

With the development of technology, there are more and more electronic products, which make our daily lives easier. Most electronic products have microcontrollers, and microcontrollers achieve functionality by executing software logic. The most suitable programming language for microcontroller programming is assembly language, but the most commonly used and widespread is C language. Why should microcontrollers … Read more

Raspberry Pi: Lesson 6 – Screen Control with Assembly

Raspberry Pi: Lesson 6 - Screen Control with Assembly

In this series, you will learn how to control the screen with assembly code on the Raspberry Pi, starting with displaying random data, then learning to display a fixed image and text, and finally formatting numbers as text. — Alex Chadwick Welcome to the screen series course. In this series, you will learn how to … Read more

What Did People Use to Control Robots Before Microcontrollers?

What Did People Use to Control Robots Before Microcontrollers?

Since the advent of microcontrollers, controlling robots has become increasingly easier. However, before such excellent tools were available, how did engineers make robots move? Analog Computers 1 Before digital computers were invented, people built analog computers using vacuum tubes, capacitors, inductors, and resistors, which could perform many simple calculations and control tasks. An analog computer … Read more

Understanding Disassembly Files in Cortex-M Development

Understanding Disassembly Files in Cortex-M Development

Hello everyone, I am Pi Zi Heng, a serious technical guy. Today, I will talk about disassembly files in embedded development (.s, .lst, .dump). In the fourth, fifth, and sixth lessons, I introduced three types of output files generated by the compiler/linker (relocatable, map, executable files). These three files focus on how the compiled/linked code … Read more