Casio FX-502P series

The FX-501P and FX-502P were programmable calculators, manufactured by Casio from 1978/1979. They were the predecessors of the FX-601P and FX-602P.

CASIO FX-501P / FX-502P
A 41-year-old FX-502P in working condition
TypeProgrammable Scientific
ManufacturerCasio
Introduced1978
Calculator
Entry modeInfix
Precision12 digits mantissa, ±99 exponent
Display typeLCD seven-segment display
Display size10 + 3 Digits
Programming
Programming language(s)Keystroke (fully merged, Turing complete)
Memory register11 (FX-501P), 22 (FX-502P)
Program steps128 (FX-501P), 256 (FX-502P)
Interfaces
Portsone vendor specific
Connects toCompact Cassette via:
  • FA-1
Other
Power supply2×"G13" or 2×"LR44"
Power consumption0.0008 W
Weight141 g, 5 oz
Dimensions15.24×7.6×1.2 cm, 6"×3"×½"

It is likely that the FX-501P/502P were the first LCD programmable Calculators to be produced as up until 1979 (and the introduction of the HP-41C) no manufacturer had introduced such a device.

Arithmetic

The FX-502P series use the algebraic logic as was state of the art at the time.

Display

The FX-501P and FX-502P featured a single line 7-segment liquid crystal display with 10 digits as main display. An additional 3 digits 7-segment display used to display exponents and program steps when entering or debugging programs and 10 status indicators. The display was covered with a yellow filter, supposedly to prevent ultra-violet radiation damage to the unstable (at the time) Liquid Crystal compound.

Programming

The programming model employed was key stroke programming by which each key pressed was recorded and later played back. On record multiple key presses were merged into a single programming step. All operations fitted into one program step.[1]

The FX-501P could store 128 steps, with 11 memory registers. The FX-502P had twice that capacity with 256 steps and 22 memory registers.

Conditional and unconditional jumps as well as subroutines were supported. The FX-502P series supported 10 labels for programs and subroutines called P0 .. P9. Each program or subroutine could have up to 10 local labels called LBL0 .. LBL9 for jumps and branches.

The FX-501P and FX-502P supported indirect addressing both for memory access and jumps and therefore the programming model could be considered Turing complete.

Since the FX-501P and FX-502P only employed a seven-segment display each program step was represented by a special 2-digit codes made up of the digits 0 .. 9 and the character C, E, F and P. The calculator came with a special overlay[2] so the user did not need to memorize the mapping between code and actual command.

What differentiated the FX-501 / FX-502P from its competitors was that programming was retained in a battery-buffered memory when the calculator was turned off.

Programming example

Here is a sample program that computes the factorial of an integer number from 2 to 69. For 5!, the user would type 5 P0 and get the result 120. The whole program is only 9 bytes long.

Key-codeDisplay-codeComment
P0P0call the program with the P0 key
Min0C6-00stores the value in register 0
101starts with 1
LBL0F0-00label for the loop
*E1multiply
MR0C7-00with M0
INV DSZFF-01Decrements M0 and skips next command if M0=Zero
GOTO0F1-00Go to LBL0
=E5end of loop, the machine has calculated

Interface

Casio FA-1
Connects toFX-502P series and FX-602P series

Compact Cassette via one of:

  • Line-Out: 3.5 mm TRS connector
  • Mic-In: 3.5 mm TRS connector
ManufacturerCasio
Introduced1979
TypeCompact Cassette Interface

The FX-501P and FX-502P used the FA-1 to store program and data to Compact Cassette using the Kansas City standard. The FA-1 also enabled the calculators to generate musical notes.[2]

The FX-501P was used on the 1981 song Pocket Calculator by electronic music group Kraftwerk.[3]

gollark: Only if you do it badly.
gollark: Tides are bad anyway.
gollark: I agree.
gollark: In which case, you should help me destroy it.
gollark: I think that cancels out to not denying the moon.

References

  1. FX-602P Token list - the FX-502P series only employed the standard plane.
  2. casio fx-501p with programming overlay
  3. "Pocket Calculator by Kraftwerk". Songfacts. Retrieved 1 May 2020.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.