Rahul Sharma (Editor)

HP 16C

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Manufacturer
  
Hewlett-Packard

Discontinued
  
1989

Introduced
  
1982

Entry mode
  
RPN

HP-16C

Type
  
Programmable, Computer science

Cost
  
150 USD (1982) - 120 USD (1989)

The HP-16C is a programmable pocket calculator that was produced by Hewlett-Packard between 1982 and 1989. It was specifically designed for use by computer programmers, to assist in debugging. It is a member of the HP Voyager series of programmable calculators. It was the only programmer's calculator ever produced by HP, though many later HP calculators have incorporated most of the 16C's functions.

Contents

Features

The 16C can display integers in hexadecimal, decimal, octal and binary, and convert numbers from one number base to another. It also deals with floating-point decimal numbers. To accommodate long integers, the display can be 'windowed' by shifting it left and right. For consistency with the computer the programmer is working with, the word size can be set to different values from 1 to 64 bits. Binary-arithmetic operations can be performed as unsigned, one's complement, or two's complement operations. This allows the calculator to emulate the programmer's computer. A number of specialized functions are provided to assist the programmer, including left- and right-shifting, masking, and bitwise logical operations.

Apart from programmer functions, the calculator's abilities are limited to basic arithmetic (and reciprocal and square root), which meant that typical users would also make use of a general scientific calculator. Floating-point numbers are only supported for base 10. However, it is still far more powerful (though also much more expensive) than contemporary competitors such as the non-programmable computer math calculator Casio CM-100 or the TI Programmer, LCD Programmer or Programmer II.

The base of the 16C features a printed reference chart for many of its functions.

The calculator uses the proprietary HP Nut processor produced in a silicon on sapphire process and featured continuous memory, whereby the contents of memory are preserved while the calculator is turned off. Though commonplace now, this was still notable in the early 1980s, and is the origin of the "C" in the model name.

Programming

Appropriately for a programmer's calculator, the 16C, like all other members of the Voyager series, is itself programmable. Keystroke programming is used. Up to 203 program steps are available, and up to 16 program/step labels. Each step and label uses one byte, which consumes register space in 7 byte increments. Here is a sample program that computes the factorial of an integer number from 2 to 69. The program takes up 9 bytes. The codes displayed while entering the program generally correspond to the keypad row/column coordinates of the keys pressed.

To run the program, enter the argument onto the stack, then press the keystrokes GSB F. The result is displayed when the program terminates.

Legacy

HP has never (as of 2016) made another calculator specifically for programmers, but has incorporated most if not all of the HP-16C's functions in later scientific and graphing calculators, for example the HP-42S (1988) and its successors.

Like many other vintage HP calculators, the HP-16C is now highly sought-after by collectors, and several emulators are available for desktop computers, web browsers, smartphones and other calculators. There is also an HP-16C emulator application for Android.

In 2012, SwissMicros (aka RPN-Calc) introduced a miniature clone named DM-16CC approximating the size of an ID-1 credit card (88 mm × 59 mm × 7 mm). It closely emulates the functionality of the original HP-16C by running the original ROM image in an emulator on an ARM Cortex-M0-based NXP LPC1114 processor. Newer DM-16 models feature a better keyboard and more RAM (LPC1115). A DM-16 Silver Edition in a titanium case is available as well in three color variants (metal, brown, blue). Deviating from the original, these calculators feature a dot-matrix display, switchable fonts and clock speeds, and they come with an USB serial interface to exchange data with a PC etc. for backup purposes (and possibly to communicate with applications like PC-based HP-16C emulators) or to update the firmware. In December 2015, SwissMicros introduced the DM-16L, a version of the calculator about the same size as the original HP-16C.

References

HP-16C Wikipedia