The official release for SDCC 4.1.0 is available in our SourceForge
File release system:
https://sourceforge.net/projects/sdcc/files/
In addition to the source package, binaries are available for 32- and
64-bit Windows, 64-bit macOS, and x86_64 GNU/Linux.
In addition to various bug fixes, notable
The first release candidate (RC1) for SDCC 4.1.0 is available in our
SourceForge File release system:
https://sourceforge.net/projects/sdcc/files/
In addition to the source package, binaries are available for 32- and
64-bit Windows, 64-bit macOS, and x86_64 GNU/Linux.
If you have time, please ver
On Sat, 15 Jun 2019, Philipp Klaus Krause wrote:
Is anyone still using the old register allocator for a z80-related backend?
If not, we could just remove it.
Philipp
I believe the 8bitworkshop IDE, which integrates an editor, several
toolchains (including SDCC), and several emulators into
On Thu, 29 Mar 2018, Philipp Klaus Krause wrote:
Full support for function pointers would need:
1) A way to get individual bytes of 24-bit symbols
2) A way to get the upper 16 bits of 24-bit symbols
Philipp
If that is true, then the ds390 target is totally broken and the huge
model for mcs5
On Fri, 30 Jun 2017, Maxwell Leiter via Sdcc-user wrote:
Hi,On OS X, Apple has decided to symlink `gcc` to `clang` (and all related
tools to their clang equivalents). So, I need to use `gcc-7` specifically to
use `gcc`. Is there a way to pass options to sdcc to use `gcc-7` instead of
`gcc`? Sp
On Fri, 16 Dec 2016, Délisson Gonçalves wrote:
I'm currently trying to use SDCC to generate an Intel Hex file for a PIC16
device (pic18f452). I'm using a Makefile and multiple source files, to be
compiled separately and linked at the end. This is my Makefile setup:
CFLAGS=--std-c99 --use-non-f
On Sat, 30 Jul 2016, Philipp Klaus Krause wrote:
> On 30.07.2016 10:02, Erik Petrich wrote:
>>
>>
>> On Sat, 30 Jul 2016, alvin albrecht wrote:
>>
>>>
>>>
>>> Sometime after #9676 and up to and including #9682, I am seeing an
>>>
On Sat, 30 Jul 2016, alvin albrecht wrote:
Sometime after #9676 and up to and including #9682, I am seeing an increase
in z80 binary sizes of 25% in some compiles. It seems to be connected to
increase spill to the stack and higher use of index registers in accessing
stack variables. I wil
On Sat, 7 Feb 2015, Georg Icking-Konert wrote:
> hi Maarten, hi Erik,
>
> thanks a lot by your feedback! Below I got 2 contradicting opinions: if I
> understand Erik right, there is no easy fix to this problem and I should
> just skip the declaration in the interrupt header file (like for
> Rai
On Fri, 30 Jan 2015, Georg Icking-Konert wrote:
hello all,
thanks a lot for your feedback! As for your mails see my comments below
You forgot the option to modify SDCC so it accepts the __interrupt keyword
either before or after the function :)
w I figured that is not really an o
On Mon, 26 Jan 2015, Georg Icking-Konert wrote:
hello all,
as mentioned elsewhere I am trying to port the STM8-SPL library by STM to SDCC.
Currently I got stuck at a seemingly simple problem.
Here’s the technical background:
1) my target is to modify only the common headers, not the projec
On Mon, 26 Jan 2015, Georg Icking-Konert wrote:
On Thu, 22 Jan 2015, Philipp Klaus Krause wrote:
On 21.01.2015 19:36, Georg Icking-Konert wrote:
1) how do I declare and implement the trap handler? According
to http://sourceforge.net/p/sdcc/patches/224/ the keyword "__trap? is
available v
On Thu, 22 Jan 2015, Philipp Klaus Krause wrote:
> On 21.01.2015 19:36, Georg Icking-Konert wrote:
>>
>> 1) how do I declare and implement the trap handler? According
>> to http://sourceforge.net/p/sdcc/patches/224/ the keyword "__trap? is
>> available via patch (2014-02-22). Is this already par
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 between this ( A and B ) :
>
> I have _lcdchar declared by :
>
> .area OSEG
> _varOne:
> .ds 1
> _lcdchar:
> .db 1
>
> .area CSEG
>
> .
> .which seems not working
On Fri, 18 Apr 2014, Georg Icking-Konert wrote:
> Hello Maarten,
>
> so far I observed it only for the ADC result register (ADC_DR) for read,
> and timer 3 compare register (TIM3_CCR) for write. The way I realized
> was simple: the ADC the result was skewed, and the TIM3 period was
> wrong. How
On Thu, 13 Feb 2014, Jacques Pelletier wrote:
> Hi,
>
> I'm trying to use the macros (.macro/.endm) in the SDCC assembler for
> the Z80. However, it doesn't seem to work, and neither the latest
> version of ASZ80 (5.06).
>
> For both, the macro is not expanded and give the same main.lst
>
> Here
On Tue, 21 Jan 2014, Ben Shi wrote:
> Hello,
>
> According to Microchip's website,
> http://www.microchip.com/pagehandler/en-us/products/picmicrocontrollers,
> 8-bit PIC has 4 serials, pic-10, pic12, pic16, pic18.
>
> So what is the pic14 port in SDCC ?
>
> Quite strange about that.
>
> Ben
On Fri, 20 Dec 2013, Ben Shi wrote:
> And the for.c is in the standard regression test of SDCC
>
> http://sourceforge.net/p/sdcc/code/HEAD/tree/trunk/sdcc/src/regression/for.
> c
>
> sdcc for.c -mmcs51
> for.asm:175: Error: missing or improper operators, terminators, or
> delimiters
> for.asm:
On Tue, 6 Aug 2013, Erik Petrich wrote:
> There used to be a link on the SDCC web page that described the .cdb file
> format that has debugging information, including the line/address
> relationships. I'm not sure what happened to it, but I'll tell you the
> part you n
On Tue, 6 Aug 2013, Stefan Falk wrote:
Hey guys, it's me again!
Trying to get rid of the need of Keil I am trying to be able to debug a
program that was compiled under the SDCC.
The program runs on a eval-board which communicates with a server.
I can communicate with this server by bridgei
On Mon, 18 Feb 2013, Daniel Michalik wrote:
> When comparing the asm outputs I see that the first example does not call
> ___fs2uint, why does it not need to do this to cast the value of x?
> void main(void) {
> float x = 6116.0;
> debug = x;
> //debug is 6116.
> }
> unsigned
On Fri, 8 Feb 2013, roelof 't Hooft wrote:
> Hi guys,
>
> I am using a #define to do a calculation during compile
> time and load the result in an (8 bit) uart register so
> that I can set the baudrate.
>
> I am using the following in a header file :
>
> #define crystal 11059200
> #define bd4800
On Fri, 18 Jan 2013, Vincent Pelletier wrote:
> Hi.
>
> I'm looking at asm generated for the following loop (8051, a CYCFX2LP
> actually) with sdcc 3.1.0#7066:
>
> __sbit __at 0x98+1 TI;
> void main() {
> while (!TI);
> TI = 0;
> }
>
> I get this:
>
> 00101$:
> jbc _TI,00115$
>
On Thu, 19 Jan 2012, Butuza Tamas wrote:
> Dear SDCC developers,
>
> I found a bug when I tried to compile a code for pic16F1938. (14 bit
> enhanced core)
>
> The problem is: The optimizer breaks the code. Makes part of the code
> unreachable.
> Error message is:
> test.c:51: warning 110: cond
On Fri, 4 Nov 2011, Borut Razem wrote:
> Dear sdcc developers,
>
> are we ready for the sdcc 3.1.0 RC1 planned for tomorrow?
>
> Borut
I'm done with my pre-release bug stomping (unless, of course, something
turns up in the release candidates that I've broken).
Erik
-
On Wed, 4 May 2011, Kevin Bailey wrote:
On Wed, May 4, 2011 at 7:31 PM, Erik Petrich
wrote:
long_counter = (unsigned int)(char_counter[0] | (char_counter[1] << 8)) |
((unsigned long)(char_counter[2] | (char_counter[3] << 8)) << 16);
I hope the first (unsign
On Thu, 5 May 2011, Kristoffer Ek wrote:
>
> On 4.5.2011, at 6:20, Erik Petrich wrote:
>
>> long_counter = (char_counter[0] | (char_counter[1] << 8)) |
>> ((unsigned long)(char_counter[2] | (char_counter[3] << 8)) << 16);
>
>
> This overfl
On Wed, 4 May 2011, stof...@skulp.net wrote:
> Hi, I have to transmit an unsigned long as four bytes, so I split them up
> and join them again, but with the folowing example code, I get overflow at
> long_counter>32767 - can any of you give me a clue how to do it right?
> // split long_co
On Sun, 30 Jan 2011, Bin Shi wrote:
http://sdcc.svn.sourceforge.net/viewvc/sdcc/trunk/sdcc/
seems a bad link.
There has been an attack on several of SourceForge's servers and so they
have taken some services temporarily offline (including ViewVC noted in
the link above).
Another side e
On Mon, 3 Aug 2009, roelof 't Hooft wrote:
> Hi guys,
>
> This is driving me nuts, I have been searching in all the
> obvious places for information on this but still can not
> find what is wrong :
>
> utilities.h:15: error 7: Old style C declaration. IGNORED 'Delay'
> utilities.h:15: error 141
On Sat, 14 Apr 2007, Dheya Ghazi Mustafa wrote:
> Hi,
> I am trying to pass a pointer of struct to function.
> I received the following error.
>
> C:/plansw_006_doc/CoordinateMapper.c:59:
> error 52: Actual Argument type different from declaration 1 from type 'struct
> piccolodatastruct generi
On Thu, 4 Jan 2007, Mr.Cashe wrote:
> But I have found this draft:
> http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1124.pdf
>
> Page 59, $6.3.2.3.1 says: "A pointer to void may be converted to or from a
> pointer to any incomplete or object type. A pointer to any incomplete or
> object typ
On Mon, 11 Dec 2006, Greg Mann wrote:
> I am beyond myself tring to find the problem with the attached code.
> It is giving me a error on a ";". I have been able to get this code
> to run on other demo compiler. If anyone could find the problem it
> would make me very happy.
>
> Greg Man
33 matches
Mail list logo