Back to Browse

Sharp PC-1001: Another program

105 views
May 17, 2023
1:08

Programming on the Sharp PC-1001 is done by recording operator steps and can only be done serially; there is no facility for jumps or conditional branching. The clear key cannot be used in programming mode as pressing it exits the programming mode and clears the programming memory. This program implements the Pythagorean Theorem. It takes input from memory locations 1 and 2, squares each one, storing the results in location 3 and 4 respectively. These results are then added together and the square root taken for the final result. The Y^X key cannot be used because this requires both the X and Y registers to be free and the registers have to be cleared before the next operation using the clear key. I had to work around this by multiplying each input number by itself, and on this machine it actually provides better precision due to the odd way it implements raising a number to a power.

Download

0 formats

No download links available.

Sharp PC-1001: Another program | NatokHD