C/C++
rcsc.txt
Associated article: Retargetable Concurrent Small C
Tags: C/C++
Published source code accompanying the article by Andy Yuen in which he implements "Retargetable CSC" (RCSC), a retargetable version of his Concurrent Small C. This port targets the 8051 microcontroller. See the subdirectory RCSC for uncompressed source code and related files, and RCSC.ZIP for compressed versions
_Retargetable Concurrent Small C_ by Andy Yuen Example 1: (a) macroname(arg1, arg2,..., argn) (b) define(`OPxy', `MOV A,$3 ifelse(len($5), 0, `$1 A', `$1 A,$5') MOV $3,A MOV A,$4 ifelse(len($6), 0, `$1 A', `$2 A,$6') MOV $4,A') Example 2: (a) OPxy(ADD, ADDC, R3, ...


