论文标题
C用于微小系统
C for a tiny system
论文作者
论文摘要
我们已经在小型设备C编译器(SDCC)中实现了对Padauk微控制器,具有60 B至256 B 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.