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
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
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
>
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
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!
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
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?