Re: [Sdcc-user] Bad code generated having no SP rewind after function call

2022-10-21 Thread Ori Idan
I am not familiar with how SDCC does it but in C calling convention the function does not have to know the number of parameters, therefore can not adjust the stack. Only the caller can do it. -- Ori Idan CEO Helicon Books http://www.heliconbooks.com On Fri, Oct 21, 2022 at 6:00 PM Basil

Re: [Sdcc-user] ucSim STM8 stack pointer wrapping

2022-04-20 Thread Ori Idan
27;t_ have a stack limit. Does anybody > know of any that don't? > All have a stack limit, but some of them may not have the roll-over. -- Ori Idan CEO Helicon Books http://www.heliconbooks.com > ___ Sdcc-user mailing list Sdcc-use

Re: [Sdcc-user] Using SDCC with Linux to program the Silicon Labs EFM8

2016-08-09 Thread Ori Idan
w to program the chip from Linux? > > I did not find any solution neither on google nor on Silicon Labs web > > site. > > > > -- > > Ori Idan > > Hello Ori, > > I'd say use SiLabs Simplicity Studio. Just download the .omf (or .ihx) > file.

[Sdcc-user] Using SDCC with Linux to program the Silicon Labs EFM8

2016-08-09 Thread Ori Idan
Hello, Not directly related to SDCC but I am sure some people here can answer it. I need to use the EFM8 MCU, the software itself will be compiled with SDCC. My question is how to program the chip from Linux? I did not find any solution neither on google nor on Silicon Labs web site. -- Ori

Re: [Sdcc-user] Installing and using SDCC on Windows

2013-06-03 Thread Ori Idan
e PIC libraries are not > deselected? If so, feel free to post a feature request in the > tracker. > I never had a problem on Linux. The problem is only on my poor customer's computer. I say poor since he uses Windows :-) I never u

Re: [Sdcc-user] Installing and using SDCC on Windows

2013-06-03 Thread Ori Idan
n > file > > in the downloads pages. > > However he still gets error that gpasm is not available. > > Does gpasm has to be install separately on windows? > > Yes. Just like on linux. > > > > > -- > > Ori Idan > > Maarten > > > ---

[Sdcc-user] Installing and using SDCC on Windows

2013-06-03 Thread Ori Idan
not available. Does gpasm has to be install separately on windows? -- Ori Idan -- Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to

[Sdcc-user] Programming PIC24FJ64 under Linux

2013-05-27 Thread Ori Idan
Not directly related to SDCC but I guess members of this list may know the answer. I have to program a PIC24FJ64GA from Linux, however I did not find any command line utility to do it. I already have the HEX file for it. -- Ori Idan

[Sdcc-user] Support for PIC18F1320

2013-05-06 Thread Ori Idan
Does SDCC on Linux (3.1.0) support PIC18F1320? -- Ori Idan -- Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibility into your production application - at no cost. Code-level

[Sdcc-user] [Off topic] 8051 core for Altera

2010-04-10 Thread Ori Idan
Does anyone knows where can I get 8051 core to be implemented on Altera FPGA? -- Ori Idan -- Download IntelĀ® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine

Re: [Sdcc-user] OT: programming Silicon Labs C8051F530

2010-02-04 Thread Ori Idan
Thank you very much this seems to be exactly what I need. -- Ori Idan On Thu, Feb 4, 2010 at 5:27 PM, Maarten Brock wrote: > Hi, > > I assume since you ask on the SDCC user list that you don't ask about > writing and compiling the program, but about downloading it to the mcu.

[Sdcc-user] OT: programming Silicon Labs C8051F530

2010-02-04 Thread Ori Idan
I have to write a new project using Silicon Labs C8051F530. Does anyone know how to program it under Linux? -- Ori Idan -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise

Re: [Sdcc-user] LCD library

2009-11-12 Thread Ori Idan
I would be happy if you can send the files to me in private email. (Email: o...@helicontech.co.il) -- Ori Idan On Thu, Nov 12, 2009 at 7:33 PM, Marcos Chaparro wrote: > On Thu, Nov 12, 2009 at 12:02 PM, Ori Idan wrote: > > I would be happy to get this library, I am now in the

Re: [Sdcc-user] LCD library

2009-11-12 Thread Ori Idan
I would be happy to get this library, I am now in the middle of project that needs LCD. Do you interface the LCD as 4 or 8 bites? -- Ori Idan On Thu, Nov 12, 2009 at 2:24 PM, Marcos Chaparro wrote: > Hi, > I have written a little c library to control a hd44780-compatible LCD >

Re: [Sdcc-user] How to compile now for AVR?

2009-03-22 Thread Ori Idan
To compile for AVR use gcc-avr. use apt-get install gcc-avr (I guess you can find it on debian repositories. I use Ubuntu and found it on Ubuntu repositories. -- Ori Idan On Sun, Mar 22, 2009 at 2:07 PM, Michelle Konzack < linux4miche...@tamay-dogan.net> wrote: > Hello, > > l

[Sdcc-user] [OT] Equipment for amateur robotics

2009-01-18 Thread Ori Idan
I would like as a hobby to build a small Robot. I am a programmer with little experience in mechanics. Does someone on this list knows where I can buy servomotrs etc.? -- Ori Idan -- This SF.net email is sponsored by

Re: [Sdcc-user] i2c algorithms

2008-10-20 Thread Ori Idan
gt; Thanks for helping noobs! > Dennis > If I recall correctly, you should use option a. set a timer and then start over at step 1. -- Ori Idan - This SF.Net email is sponsored by the Moblin Your Move Developer's cha

Re: [Sdcc-user] Emergency help... linker memory error with DSEG

2008-09-09 Thread Ori Idan
Try to move some global variables to external RAM if possible. Or maybe locating few arrays in idata. -- Ori Idan On Tue, Sep 9, 2008 at 1:02 PM, Jesse Lackey <[EMAIL PROTECTED]>wrote: > Hello all, until today I've been happily developing a sizable project > with the TI

Re: [Sdcc-user] documentation & open source generally

2008-09-02 Thread Ori Idan
. But, remember SDCC is a free software so if one would like a better documentation, one should consider contributing to the existing documentation and not wait for someone else to do the job, since nobody will. -- Ori Idan On Tue, Sep 2, 2008 at 7:43 PM, Dave McGuire <[EMAIL PROTECTED]> w

[Sdcc-user] [OT] Programming P89LPC930 under Linux

2008-05-19 Thread Ori Idan
This is a little off topic, but I guess some people of this list might know the answer. I am using SDCC under UBUNTU Linux and I need to program the NXP P89LPC930 Can someone point me to a Linux software for this task? -- Ori Idan

Re: [Sdcc-user] internal ram usage.... 8051

2007-11-11 Thread Ori Idan
No, there are only 256 bytes. The upper 128 when accessed as direct access are the SFR's (Port, Peripheral Registers, etc.) When accessed in indirect mode you get the RAM. SDCC knows how to access it depending on what you use (Register or variable). -- Ori Idan On Nov 12, 2007 8:22 AM,

[Sdcc-user] NXP P89LPC938 Programming

2007-08-07 Thread Ori Idan
This is not exactly a SDCC question but I guess people on this list might help me. I need a utility to program a hex file I generated using SDCC on a NXP P89LPC938 Can someone point me to such a utility? -- Ori Idan - This

Re: [Sdcc-user] Some sdcc warnings

2007-03-22 Thread Ori Idan
When a variable is marked as volatile (SFR are volatile by definition) the compiler will never optimize by assuming a given value for this variable. -- Ori Idan On 3/22/07, Raphael Neider <[EMAIL PROTECTED]> wrote: Hi, > TR0 = 0;// reset the timer > whi

Re: [Sdcc-user] Newbie: sdcc for Atmel AT89c55wd

2007-02-22 Thread Ori Idan
It should be even simpler: #define light P2_0 When you write just use: light = val; -- Ori Idan On 2/22/07, Raphael Neider <[EMAIL PROTECTED]> wrote: Hi, > 2. sbit light = P2_0 (instead of P2^0 for keil) This line creates a new sbit variable, initialized with P2_0, you prob

Re: [Sdcc-user] PIC16 libc libraries

2007-02-06 Thread Ori Idan
What do you mean work properly? -- Ori Idan On 2/6/07, Luit van Drongelen <[EMAIL PROTECTED]> wrote: Hello, I just started using SDCC, and got nearly everything to work, eventually. But one thing still won't do what I want. I can't get the default libraries (like libc and ma

Re: [Sdcc-user] ERROR

2007-01-20 Thread Ori Idan
OR and AND operators are supported without a need for a header files, these are built in language operators. However registers like TRISD, PORTC etc. are defined in a header file. -- Ori Idan On 1/20/07, george john <[EMAIL PROTECTED]> wrote: Is OR and AND operation is supported i