For the instant, I am learning for how GCC work, and for the definition of machines descriptor. I founded the GCC port for PIC30, but it 's very far of the PIC18. I also seen the IP2022 port, and it will be helpfull.
In the Microchip PIC, there is only one Work register, but all the RAM memory access takes only one Tcy. Another problem is the RAM memory, witch is fragmented in some "banks" (due to the fact that the PIC is a 8 bit processor). Le lundi 30 janvier 2006 à 17:37 -0600, Lucas (a.k.a T-Bird or bsdfan3) a écrit : > I'm sorry about my e-mail client mangling your name in the To: field. > > I don't know about the Microchip source, but I'd be happy to help with > the GCC->PIC18Fxxx port...however, PIC's have 1 true accumulator (W) and > everything else in data memory (which they use in the manner of a > register file)...IDK how well GCC's register allocator would handle such > a thing... > > François Poulain wrote: > > >Hello, > > > >I am talking about porting GCC on PIC18Fxxx, by Microchip. > >I found some source code from Microchip to support the PIC30F. Anyone > >can tell me why this code isn't in the gcc tree ? Is it dirty code ? > > > >I ask this question, cause I maybe re-use that source code for testing. > > > >Best Regards, > > > > > > >