The Role of Stack Mechanism in Assembly Language

The Role of Stack Mechanism in Assembly Language

In the field of computer science, the concept of a stack is likely familiar to many. The familiarity and understanding of stacks primarily stem from two aspects. One aspect is that a stack is a type of data structure characterized by the Last In, First Out (LIFO) principle. The other aspect is that a stack … Read more

An Analysis of Cortex-M Stack Mechanism

An Analysis of Cortex-M Stack Mechanism

Hello everyone, I am Pi Zi Heng, a serious technical enthusiast. Today, I will introduce the ARM Cortex-M stack mechanism. This article is a technical document I wrote before 2016, and I have spent some time reorganizing the format. Previously, I discussed the “Principle of Stack in Embedded Systems”; this article serves as an engineering … Read more