Niklas Holsti wrote:> basanth wrote: > >>> Can anyone help with how you successfully run SDCC on a Windows XP >>> machine and generate proper hex files?> > Replace the LEDCON declaration as follows: > > __sfr __at (0x91) LEDCON; > > to define an SFR variable.Oh yes, also replace the sbit declarations to be: __sbit __at (0x95) P1_5; __sbit __at (0xB7) P3_7; (I haven't tried these corrections on a real chip, but the disassembly looks ok.) -- Niklas Holsti Tidorum Ltd niklas holsti tidorum fi . @ .
SDCC Compiler problems - HELP!
Started by ●March 15, 2006
Reply by ●February 21, 20082008-02-21