Simple Programming Language or Set of Programming Commands
|
10-15-2019, 07:11 AM
Post: #11
|
|||
|
|||
RE: Simple Programming Language or Set of Programming Commands
Thanks for your further hints and advices - that helps me a lot.
I like uBasic and TerminalBasic, which are worth to examine in another project. But that seems to be far beyond my resources for my calculator project. And it's a shame that I'm not familiar with my HP-15c - and it's 12 conditions. So far I implemented jumping to subroutines (XEQ) and 4 conditions similar to the HP-25 (X=Y, X!=Y, X<Y and X>=Y) which seems to be sufficient. By the way comparing double values costs more code space than I expected - that's why I don't compare with 0 additionally. What I'm not sure about is whether doing without GOTO is acceptable (regarding "completeness" and comfort). GOTO (even if GOTO LABEL or GOTO LINENUMBER) costs much code space (because it's the only 2 byte command so far). Regards deetee |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)