摘要
随着嵌入式系统复杂性的提高 ,嵌入式系统软件代码的压缩变得非常重要。目前已经有几种代码压缩方法 ,它们将程序编译后的目标代码中多次出现的代码加以合并 ,有效地缩短了程序代码的长度。其中 ,尤以纯软件方法应用最为方便 ,但该方法不适用于数据堆栈和子程序调用堆栈合一的嵌入式系统。本文将这种纯软件方法推广到单一堆栈的体系结构 ,有效地解决了堆栈结构改变对公用块代码语义的影响问题。
With the complexity growth of embedded systems, the compression of embedded applications' code become more and more important. Several code compression methods have been presented nowadays. They all merge the same code sequences in binary code to increase code density. Among them, the pure software method can be used most widely and easily. However, it is not compatible with the architecture that has only one stack used for both data and subroutine calling. In this paper, we improve this method to make it compatible with that architecture.
出处
《计算机工程与科学》
CSCD
2004年第3期102-109,共8页
Computer Engineering & Science