%0 Journal Article %T 移植Cortex-M程序到RV32中的问题
Problems in Program Porting from Cortex-M to RV32 Programs %A 林金龙 %J Embedded Technoloy and Intelligent Systems %P 23-30 %D 2024 %I Hans Publishing %R 10.12677/etis.2024.11003 %X 具有开源、简单和灵活等特点,RISC-V架构受到业界广泛关注。近年来,市场上相继出现了多款RISC-V架构微处理器,32位RISC-V架构MCU正逐步进入Cortex-M MCU应用领域。本文针对将应用程序从RV32移植到Cortex-M的需求,分析RV32与Cortex-M结构、编程模型和过程调用规范等方面的不同之处,提出程序移植过程中遇到的问题,提出方法和建议,并进行相关性能分析和比较。
As a simplicityand flexibilityopen source microprocessor architecture, RISC-V has received widespread attention in the industry. In recent years, a lot of RISC-V microprocessors have been emerging in the market. The MCUs with the core of RV32 core are gradually entering into the ap-plication fields of Cortex-M MCUs. This article introduces the differences between RV32 and Cor-tex-M in terms of structure, programmer’s model, and procedure call convention, discusses the problems during the program porting processfromCortex-MtoRV32, proposes some suggestions, and conducts relevant performance comparison. %K RISC-V, %K RV32, %K Cortex-M, %K 程序移植
RISC-V %K RV32 %K Cortex-M %K Program Porting %U http://www.hanspub.org/journal/PaperInformation.aspx?PaperID=93109