Post Reply 
RPN scientific calculator firmware for $13 calculator kit
10-22-2019, 11:04 AM (This post was last modified: 10-22-2019 11:05 AM by toml_12953.)
Post: #23
RE: RPN scientific calculator firmware for $13 calculator kit
(10-22-2019 05:46 AM)jklsadf Wrote:  What version of Ubuntu/SDCC are you using to build? On Ubuntu 18.04LTS with SDCC 3.5.0 doing "make clean" and then "make" gives a binary 12,212 bytes in size, which is a bit tight (but still 1K free). I think newer versions of SDCC might be less efficient at code generation. If you do want to build it, SDCC has few dependencies, so I think it is possible to install older versions of the package. Other compilers (e.g. Keil) are probably even more efficient, but I don't have a license for the 8051, and also it's not free.

I found sdcc 3.5.0 and now make works but I get the following:

PHP Code:
Name                 Start    End      Size     Max     
   
---------------- -------- -------- -------- --------
   
ROM/EPROM/FLASH  0x0000   0x2fb7   12216    13312 

I guess you won't have room for any trigonometric functions like sine, cosine, etc., eh?

Tom L
Cui bono?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: RPN scientific calculator firmware for $13 calculator kit - toml_12953 - 10-22-2019 11:04 AM



User(s) browsing this thread: 1 Guest(s)