Sharp PC-1500A Compiler
|
11-30-2024, 06:31 PM
(This post was last modified: 12-01-2024 12:57 PM by Josef.)
Post: #5
|
|||
|
|||
RE: Sharp PC-1500A Compiler
Version 1.4 is ready, SIN, COS, TAN, LOG and ABS functions are added. Instructions and program is attached. This is how the solution of the Kepler equation looks like. Assembler tends to be much faster, especially in common mathematical operations. A bin file is basically a text file that can be converted to WAV, for example, or uploaded using the CE-158 (X) interface from a computer using RS232. The program after translation by the compiler occupies 391 Bytes in RAM.
*L=(M+180*I/pi* SIN(E) - E)/(1-I*COS (E)) IF ABS(L) > 1E-3 THEN E = E + L: GOTO * 0 M=E 1*F=ESX 2 F=F*I 3 F=F*D 4 F=F-E 5 F=F+M 6 C=ECX 7 C=C*I 8 C=K-C 9 L=F/C 10 E=E+L 11 L=LAX 12 IFL>RGO* 13 PRE 14 WE 15 STOP 16 END M= Mean Anomaly, I= Eccentricity, D= 180/3.14, K=1, R=0.0001 |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Sharp PC-1500A Compiler - Josef - 11-21-2024, 06:05 AM
RE: Sharp PC-1500A Compiler - Jeff_Birt - 11-21-2024, 03:34 PM
RE: Sharp PC-1500A Compiler - Josef - 11-22-2024, 05:49 AM
RE: Sharp PC-1500A Compiler - Josef - 11-27-2024, 08:25 PM
RE: Sharp PC-1500A Compiler - Josef - 11-30-2024 06:31 PM
RE: Sharp PC-1500A Compiler - Josef - 12-03-2024, 07:45 PM
RE: Sharp PC-1500A Compiler - Josef - 12-01-2024, 12:32 PM
RE: Sharp PC-1500A Compiler - Thomas Klemm - 12-02-2024, 08:41 PM
RE: Sharp PC-1500A Compiler - toml_12953 - 12-02-2024, 11:49 PM
RE: Sharp PC-1500A Compiler - Josef - 12-02-2024, 10:35 PM
RE: Sharp PC-1500A Compiler - Thomas Klemm - 12-03-2024, 03:09 AM
RE: Sharp PC-1500A Compiler - toml_12953 - 12-03-2024, 03:41 AM
RE: Sharp PC-1500A Compiler - Thomas Klemm - 12-03-2024, 04:55 AM
RE: Sharp PC-1500A Compiler - Josef - 12-03-2024, 08:00 PM
RE: Sharp PC-1500A Compiler - Josef - 12-04-2024, 06:57 AM
|
User(s) browsing this thread: 1 Guest(s)