arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2010.04633cs.PLcs.AR
收藏

面向微型系统的C语言

C for a tiny system

Philipp Klaus Krause, Nicolas Lesser

AI总结:

本研究在SDCC中实现了对仅60B-256B RAM的Padauk 8位微型微控制器的C语言支持,验证了标准C编程的可行性,梳理了硬件多线程支持难点,提出架构优化方案并评估其对代码体积的影响。

摘要:

我们在Small Device C Compiler(SDCC,小型设备C编译器)中实现了对Padauk微控制器的支持——这类控制器是仅配备60B至256B RAM的微型8位器件,证明了使用(基本)标准C语言为此类极简器件编程是可行的。我们汇报了实践经验,以及支持部分此类器件上的硬件多线程功能时遇到的难点。为让这些器件更适配C语言,我们提出了多项架构增强方案,并通过实验评估了它们对代码体积的影响。

英文摘要:

We have implemented support for Padauk microcontrollers, tiny 8-Bit devices with 60 B to 256 B of RAM, in the Small Device C Compiler (SDCC), showing that the use of (mostly) standard C to program such minimal devices is feasible. We report on our experience and on the difficulties in supporting the hardware multithreading present on some of these devices. To make the devices a better target for C, we propose various enhancements of the architecture, and empirically evaluated their impact on code size.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑