SDCC: Difference between revisions
Jump to navigation
Jump to search
RafaelOrtiz (talk | contribs) |
RafaelOrtiz (talk | contribs) (category) |
||
Line 24: | Line 24: | ||
* http://sdccokr.dl9sec.de/ |
* http://sdccokr.dl9sec.de/ |
||
* http://www.pjrc.com/tech/8051/. |
* http://www.pjrc.com/tech/8051/. |
||
[[Category:SoC Project]] |
|||
[[Category:Software development]] |
|||
[[Category:Software]] |
Revision as of 22:30, 31 May 2007
SDCC is a small Device C Compiler that was specifically designed to the needs of 8 Bit Micros like Intel 8051, Maxim 80DS390, Zilog Z80 among others. SDCC comes with SDCDB a source level debugger and ucSim a free open source simulator for Intel 8051 and other micro-controllers
Installation
Debian
apt-get install sdcc
Working with SDCC
Compiling a program
Write this in an ASCII editor and call the archive test.c:
char test; void main(void) { test=0; }
Then:
sdcc -c test.c