Introduction to Assembly Language: Underlying Principles

Introduction to Assembly Language: Underlying Principles

Author: Ruan Yifeng Link:http://www.ruanyifeng.com/blog/2018/01/ Code Farmer’s Way High-Quality Technical Article Directory of Code Farmer’s Way (Click Me) About Code Farmer’s Way (Click Me) Learning programming is essentially learning high-level languages, which are designed for humans. However, computers do not understand high-level languages; they must be converted into binary code through a compiler to run. Knowing … Read more

Accurate Delay Methods for 51 Microcontroller

Accurate Delay Methods for 51 Microcontroller

There are generally two methods for implementing precise delays in the 51 microcontroller: one is hardware delay, which requires the use of timers/counters. This method can improve CPU efficiency and achieve precise delays; the other is software delay, which mainly uses loops. 1 Using Timer/Counter for Precise Delay The microcontroller system typically selects an 11.0592 … Read more

What Is the Function of the Microcontroller Startup File?

What Is the Function of the Microcontroller Startup File?

Author: Lao Ma Shi Tu Microcontroller When we create a 51 microcontroller project using Keil C51, we will see a prompt as shown in the following image: Keil prompts whether to add a startup file when creating a new project Generally, you need to choose “Yes”. Of course, you can also choose not to add … Read more

Analysis of the Chain of Line Control Braking Technology in the ADAS Market

Analysis of the Chain of Line Control Braking Technology in the ADAS Market

“Introduction“: Line control braking: the foundation of autonomous driving, the technological high ground of automotive execution layers. Focusing on core technologies of the execution layer, increasing investment in the trillion-yuan ADAS market. As L3+ level autonomous driving regulations gradually take effect, local ADAS solutions are moving to the forefront (with a share close to 40% … Read more

Key Considerations for Mixed C and Assembly Programming in Keil

Key Considerations for Mixed C and Assembly Programming in Keil

Click the above “Chuangxue Electronics” to follow and easily learn electronic knowledge. Chuangxue Electronics Subscription Daily updates of technical articles in the electronics industry and the latest news on microcontrollers, learn easily anytime, anywhere. Here are some issues encountered in mixed programming of C language and assembly language in Keil, written down for future reference. … Read more

Analysis of ARM Assembly and C/C++ Interoperability

Analysis of ARM Assembly and C/C++ Interoperability

Interoperability Between C Language and ARM Assembly Language 1. Accessing C Language Global Variables from Assembly Global variables can only be accessed indirectly through their addresses. To access global variables in C, you must first introduce the global variable using the extern directive, and then load its address into a register. For unsigned char type, … Read more

Comprehensive Summary of ARM Basics

Comprehensive Summary of ARM Basics

One ARM Assembly Generally, our computers are X86 architecture machines. Here we use clang to compile our files. Compiling files by ourselves and using IDA to learn alongside makes it easier to understand. Two Some instructions about clang: Using clang to directly compile into an executable file // Compile our file into ARMv5 architecture file … Read more

Essential Assembly Language for Beginner Programmers

Essential Assembly Language for Beginner Programmers

Some rankings can remain unchanged for centuries, like the eight masters of the Tang and Song dynasties. The names of Han Yu, Liu Zongyuan, Ouyang Xiu, Su Xun, Su Shi, Su Zhe, Zeng Gong, and Wang Anshi will never be replaced. Some rankings change annually, such as the annual box office rankings for movies. There … Read more

Free Course on Assembly Language and Binary Vulnerabilities

Free Course on Assembly Language and Binary Vulnerabilities

I don’t know when learning programming became a headache. There are always those late nights when I look up at the bright moon, wondering when I can fully grasp assembly language and become the dream of countless girls. But reality always hits hard…. There are many moments when I feel the urge to smash my … Read more