Remeber that a compiler generates the machine language (i.e. op codes with data) for the target processor. So you would need to learn the PIC opcodes and such so that you can compile the C code into PIC opcodes. Since you are suppose to wrate a compiler I woulde assume that your free to design it as you wish. Giorgio Alboni wrote: > > I'm a engineer student, for the next exam i have to make a C compiler for > the PIC microcontroller. I know the C language for Unix, Dos, windows, ecc. > but I don't now the characteristic of a C for a microcontroller. > There are some special instruction? I had read some source of PIC C > program, what is the content of ? and ? > Any suggestion is welcome. > Thanks in advance. > Giorgio Alboni. > > =================================================== > Alboni Giorgio > Faenza (Ra) ITALY > E-Mail: rac1337@racine.ravenna.it > > http://www.geocities.com/SiliconValley/Heights/5444 > (Last Update: 29/09/97) > ===================================================