Thanks for your quick answer! Actually I tried to simulate the sdcc .cod file with gpsim and it worked ok. I also tried to compare .hex files with gpdasm but couldn't find what can be wrong with the sdcc's one. I guess I should give it another try.
Is there any tools that simulate PIC's behaviour from .hex files ? I mean a tool that shows content of registers and memory at a particular point of the program, and the flow of executed instructions ? For my simple program i'll try to do it by hand, but for larger program it could be usefull. thx ! Le 22 janv. 2014 à 22:11, Bodo Wenzel a écrit : > Hi Ael, > > Assuming that you are trying to gain some experience, I'd recommend to > look into the assembler listings of both programs. If there is no > listing you have to disassemble. > > Armed with the datasheet you will be able to investigate the problem. > > Good luck! > Bodo > > ------------------------------------------------------------------------------ > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > Learn Why More Businesses Are Choosing CenturyLink Cloud For > Critical Workloads, Development Environments & Everything In Between. > Get a Quote or Start a Free Trial Today. > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk > _______________________________________________ > Sdcc-user mailing list > Sdcc-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sdcc-user ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user