HP Forums
Casio Pocket Calculator CPU Question - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: Not HP Calculators (/forum-7.html)
+--- Forum: Not remotely HP Calculators (/forum-9.html)
+--- Thread: Casio Pocket Calculator CPU Question (/thread-14323.html)

Casio Pocket Calculator CPU Question - DenverGuy - 01-07-2020 04:08 PM

This is a little nerdy, but I have always wondered what kind of CPUs basic calculators use. There is no way to identify them, as they now just look like a black blob. I use the calculator in the photo a lot and it's pretty good.
I was wondering if the processor really IS a CPU and if it has some of the basics of a computer CPU with an ALU, control unit, etc.
And is there a way to find out more about the cheap units used in basic calculators? I am always interested in what's going on under the hood.

RE: Casio Pocket Calculator CPU Question - David Hayden - 01-07-2020 09:26 PM

The pages on this site for individual calculators all have links labelled "Technology" that take you to a page describing the hardware. Lots of details are known - enough to create high fidelity emulators of all(?) older HP models.

HP used it's own processor which evolved over time. The biggest difference from a general-purpose CPU is that the HP processors generally had 56-bit registers that could store a floating pointer number with mantissa and exponent BCD-encoded. Hardware instructions could do BCD arithmetic.

The address space is generally small, growing from 8 bits in the classics to 20 bits in Saturn CPU (the pioneers and the 48/49 series). Each address accesses a 10-bit value in the classics and in the NUT (41C) also. In the Saturn processor, each address accesses a 4-bit nybble.

Another thing I haven't seen in general purpose CPUs: the CPU registers could be accessed by "fields" - predefined groups of bits within the register. This let you read/write the parts of a number (sign, mantissa, exponent, exponent's sign), or individual nybbles within the number.

Starting in the 49(?), the Saturn CPU is emulated by an ARM processor (a general purpose processor that's very common in small devices). The 39gii and Prime use the ARM processor directly rather than via an emulated Saturn.

I'm sure that some of what I've written is wrong and that others will correct me.

RE: Casio Pocket Calculator CPU Question - Mjim - 01-09-2020 12:13 AM

Not sure if you would find this interesting, but a tear down of the Casio fx-260 Solar 2 as well as looking at the chip under the blob was done here:

I found this reverse engineering integrated circuits video by Ken Shirriff video to be fairly educational (He also has a rather detailed blog as well: http://www.righto.com/):

RE: Casio Pocket Calculator CPU Question - jklsadf - 01-28-2020 08:01 AM

Usually various mask-programmed, extremely low-cost microcontrollers: