Detailed Explanation of Assembly Language Registers

Overview of Registers Registers are high-speed storage units within the processor, used for temporarily storing data and instructions. Compared to memory access, register operations are extremely fast because data is processed directly within the processor. Classification of Registers 1. General Purpose Registers Data Registers 32-bit Data Registers: EAX, EBX, ECX, EDX Hierarchy: 32-bit 16-bit 8-bit … Read more

How to Directly Control Hardware with C Language? Pointers, Memory, and Registers

How to Directly Control Hardware with C Language? Pointers, Memory, and Registers

In this article, we will explore how the C language controls hardware. The Design Philosophy of C Language The design philosophy of C can be summarized as “trust the programmer“. Unlike many modern programming languages, C imposes very few restrictions on the behavior of the programmer,assuming that the programmer knows what they are doing. Thus, … Read more

Embedded Reading Notes: The Definitive Guide to Cortex-M3 (Part 1)

Embedded Reading Notes: The Definitive Guide to Cortex-M3 (Part 1)

Reading Notes: The Definitive Guide to Cortex-M3 Note: The content of this article is excerpted from the “Cortex-M3” definitive guide. The Cortex-M series is essential in embedded development, and this series will record the key points of knowledge focused on during reading, recommending the original book. The Cortex-M3 is a 32-bit processor core. Its internal … Read more

Struggling with Microcontroller Development? When is the Toughest Time to Learn Microcontrollers?

Struggling with Microcontroller Development? When is the Toughest Time to Learn Microcontrollers?

1. Introduction to Microcontrollers: The Fog and Breakthrough of C Language Entering the world of microcontrollers, many students first face the steep learning curve of the C language. Opening Keil, the screen filled with if, else, for, while statements feels like a secret code, and long variable names like GPIO_InitTypeDef and Delay_ms can be daunting. … Read more

How to Directly Control Hardware with C Language? Pointers, Memory, and Registers

How to Directly Control Hardware with C Language? Pointers, Memory, and Registers

The Design Philosophy of C Language The design philosophy of C language can be summarized as “Trust the Programmer“. Unlike many modern programming languages, C language imposes very few restrictions on the behavior of programmers, assuming that programmers know what they are doing. Thus, C language is actually a language that demands a lot from … Read more

Assembly Language Day 07

Assembly Language Day 07

PrefaceSummer time Establishing a daily learning and note-sharing chapter, here I mainly share some notes I wrote during my learning process. Then I share it with everyone to help with learning. The content of this chapter is not limited to evasion, malicious development, reverse engineering, etc. At the same time, please do not use the … Read more

Basics of Assembly: Hands-On with General-Purpose Registers

Basics of Assembly: Hands-On with General-Purpose Registers

In the previous article, it was mentioned that in assembly, the content of registers is modified through assembly instructions to control the CPU’s operation. Several classifications of registers were also discussed.Understanding the concepts can be a bit dry, so today we will look at several registers through debugging on a PC, and also modify the … Read more

Assembly Language Day 01

Assembly Language Day 01

0x00 This article is dedicated to daily learning and note sharing to help everyone learn assembly language. Why learn assembly language? Because in red-blue confrontations, our tools are often detected and killed by some AV/EDR. Therefore, we need to counter AV, which is the evasion technique. To learn evasion techniques, we must start from the … Read more

How to Directly Control Hardware with C Language? Pointers, Memory, and Registers

How to Directly Control Hardware with C Language? Pointers, Memory, and Registers

Hello everyone, I am Xiao Feng Ge. This will be a series of articles related to the C language. In the previous article, we learned why we should use C language to develop operating systems. In this article, we will look at how C language controls hardware. The Design Philosophy of C Language The design … Read more

How C Language Directly Controls Hardware: Pointers, Memory, and Registers

How C Language Directly Controls Hardware: Pointers, Memory, and Registers

Hello everyone, I am Xiao Feng Ge, and today we will explore how the C language controls hardware. The Design Philosophy of C Language The design philosophy of C can be summarized as “trust the programmer“. Unlike many modern programming languages, C imposes very few restrictions on the behavior of the programmer,it assumes that the … Read more