Detailed Explanation of Keil MDK Compiler Warnings and Errors

Detailed Explanation of Keil MDK Compiler Warnings and Errors

After working with microcontrollers, I transitioned to ARM and initially used the ADS 1.2 compiler. I used it for a while because the old program of the project I took over was compiled with ADS, and most of the department was using it. When learning about microcontrollers, I used the Keil C51 compiler, and the … Read more

How Programming Languages Are Implemented

How Programming Languages Are Implemented

Do you know how the programming languages you often use are implemented? Today, let’s talk about this question. Smart humans discovered that by combining simple switches, they could express complex boolean logic. Based on this, they built the CPU, which can only understand switches in a simple way, represented numerically as 0 and 1. The … Read more

Understanding Compiler Principles for Everyone

Understanding Compiler Principles for Everyone

Mathematics Algorithm Club Date : December 25, 2021 Total Words : 4255 words Source : Job Online Understanding the internal principles of compilers can help you utilize them more efficiently. Gradually delve into how programming languages and compilers work according to the order of compilation. This article contains numerous links, sample code, and charts to … Read more

Switching from C++ to Rust: A Significant Improvement in Work Experience!

Switching from C++ to Rust: A Significant Improvement in Work Experience!

Follow us丨Book giveaway at the end of the article I have been working professionally in C++ programming for over four years, but three months ago I found a new job that requires using Rust. I want to share my personal experiences and thoughts on switching between the two languages in this article. Disclaimer: This article … Read more

Dead Loop Hidden in Assembly Code

Dead Loop Hidden in Assembly Code

New User Registration for June Breadboard Community Get a Free IoT Learning Package The package includes: 1. 500 copies of “RT-Thread Device Driver Development Guide” 2. 16 lectures of RT-Thread online teaching courses 3. 10GB of IoT data downloads 👇 Scan to register and receive the package 👇 1 Introduction In my previous article, I … Read more

C Language and Assembly Correspondence Analysis Revealing Function Call Essence

C Language and Assembly Correspondence Analysis Revealing Function Call Essence

Recently, NetEase Cloud Classroom opened a course called Linux Kernel Analysis. I have always been interested in operating systems and the essence of computers, so I took a look. In the first class, the teacher asked students to write a blog about the first lesson as an assignment. I was quite surprised by this novel … Read more

Fundamentals of Language Processors

Fundamentals of Language Processors

2.2 Fundamentals of Language Processors A language processor is a type of system software that translates programs written in high-level languages or assembly languages into machine language programs so that they can run on computers. Language processors are mainly divided into three basic types: assemblers, compilers, and interpreters. 2.2.1 Basic Principles of Assemblers 1. Assembly … Read more

Understanding ARM Assembly and ARM GNU Assembly

Understanding ARM Assembly and ARM GNU Assembly

1. Two Ways of ARM Assembly Development ARM assembly development refers to the use of ARM-provided assembly instructions for ARM program development. There are two ways of ARM assembly development: one is using ARM assembly, and the other is using ARM GNU assembly. The assembly instructions used in both development methods are exactly the same; … Read more

Mastering C Language: Become an Excellent Programmer

Mastering C Language: Become an Excellent Programmer

Basic Knowledge Computer Language: The language used for communication between humans and computers is called computer language. Computer languages are divided into high-level languages and low-level languages. High-level languages: Far from hardware. Low-level languages: Close to hardware. Instruction: A command for the computer to perform a certain operation, consisting of a series of binary codes. … Read more

What Happens After the Microcontroller Program Ends?

What Happens After the Microcontroller Program Ends?

For embedded systems, if there is no RTOS running, the main function main() in program development needs to use some mechanism to keep running happily forever, it has no endpoint. If you want to exit from the main function, what happens specifically is determined by the C language compiler used. 1. Introduction to the Problem … Read more