		***  Moderator's README ***

This directory contains the source code for the smallC compiler:

part1 part2 part3 are the original source code. 

The original source has been modified in various ways to generate
code for the PIC16C84.


The files 16c84.h and libpic.h are used by pasmx.exe as needed


To compile compiler: 
    compile all of the *.c files (except test.c) and link to pic_cc.exe

(warning: files contain ^M character (DOS files), remove them
if you are using a UNIX system...ie. dos2unix)


To compile c source <c_file.c> to pic code <output file: c_file.s>: 

   pic_cc c_file.c

Assemble code:

   pasmx c_file.s /L

Simulate code:

   psim c_file


(special thanks to Parallax for their PIC tools)


Try the compiler on test.c!






