[Sdcc-user] About SDCC AVR

2010-10-12 Thread Bin Shi
Hello, I would like to use SDCC in my project and the MCU of my board is AVR(ATmega8). I notice that the avr branch and z80 branch would not be maintained. But how is the quality of code generated by avr branch now?

Re: [Sdcc-user] About SDCC AVR

2010-10-12 Thread Bin Shi
But why AVR was abandoned? It is a polular kind of MCU. > On 10/12/10 9:13 AM, Claude Sylvain wrote: > > >I notice that the avr branch and z80 branch would not be > > maintained. > > > > > > > - Refering to the SDCC web page, this is the AVR and gbz80 ports that are no > > longer m

[Sdcc-user] Why SVN repository can not be accessed ?

2011-01-29 Thread Bin Shi
http://sdcc.svn.sourceforge.net/viewvc/sdcc/trunk/sdcc/ seems a bad link. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free!

Re: [Sdcc-user] stm8 sdas : variable problem

2014-09-05 Thread Bin Shi
STM8's compiler make a function puts its all local & temp vars on its stack. However, it seems the only reason is the var is overwritten. Erik Petrich 编写: > > >On Fri, 5 Sep 2014, r...@remi.lu wrote: > >> Hello >> >> SDCC : stm8 3.4.1 #9068 (Sep 5 2014) (Linux) >> >> I dont see the difference b

Re: [Sdcc-user] About memset/memcpy on stm8

2014-09-13 Thread Bin Shi
in src/stm8/main.c, should the global variable stm8_port.linker.libs be changed from null to something like {"stm8", null} ? Philipp Klaus Krause 编写: >On 10.09.2014 12:10, Ben Shi wrote: >> I tried the following c code with command "sdcc a.c -mstm8", >> >> #include >> #include >> #include >

Re: [Sdcc-user] full assembly help

2014-09-26 Thread Bin Shi
the _pointer is a 16-bit variable, and stm8 is big endian. you might need ld y, _pointer addw y, #1 ld _pointer, y to replace inc _pointer r...@remi.lu编写: > > >hello > >with this code i get printed : "t333" > >you think the X register gets polluted by the delay fonction ? > >Regard

Re: [Sdcc-user] full assembly help

2014-09-28 Thread Bin Shi
s mailing list is not dedicated to the STM8 assembly... >> >> >> >> >> ldw X,#string_0 >> ldw _charptr, X >> >> main_loop: >> >> LDW X, #0d50 >> CALLdelay_m >> CALLledon