Colin Constant wrote: > >Sergio Masci wrote: > > XCSB is a structured BASIC and the compiler produces very efficient code. > > > > > >http://www.xcprod.com/titan/XCSB - optimising structured PIC BASIC compiler > > > This looks real good Sergio. Thanks Colin. > I wonder what I would have to do in order to > use it for the 12F PICs? Depends if the 12F is 12 or 14 bit core. With a 12 bit core you would need a lot of hand holding but its do-able. It's very simple with a 14 bit core, you just need to generate a "hwreg" file. This defines the hardware registers, bits names (e.g. RP0, IRP, GIE etc), memory maps and config bits. You can get most of this from the Microchip PIC definition files e.g. p18f84.inc. > > BTW, are you aware that most of the links at the top of the XCSB page go to > IPAD pages :-) Yes. I supposes there should be a better transition between XCSB and the rest of the site. Perhaps it would make more sense to you if I were to point out that XCSB is part of a much bigger set of tools (everything on xcprod.com). > > Colin Regards Sergio http://www.xcprod.com/titan/XCSB - optimising structured PIC BASIC compiler -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads