ArticleslgStudy

computer science

HP-41C

HP-41C is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand HP-41C rather than just read about it. In short: The HP-41C series are programmable, expandable, continuous-memory handheld RPN calculators made by Hewlett-Packard from 1979 to 1990. The original model, HP-41C, was the first of its kind to offer alphanumeric display capabilities.

HP-41C — main illustration
HP-41C — illustration

Key takeaways

  • HP-41C belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect HP-41C to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of HP-41C from memory before moving on to harder problems.

Reference excerpt

The HP-41C series are programmable, expandable, continuous-memory handheld RPN calculators made by Hewlett-Packard from 1979 to 1990. The original model, HP-41C, was the first of its kind to offer alphanumeric display capabilities. Later came the HP-41CV and HP-41CX, offering more memory and functionality.

The alphanumeric "revolution"

The alphanumeric LCD screen of the HP-41C revolutionized the way a pocket calculator could be used, providing user friendliness (for its time) and expandability (keyboard-unassigned functions could be spelled out alphabetically). By using an alphanumeric display, the calculator could tell the user what was going on: it could display error messages, such as showing ("DATA ERROR") upon attempting to divide by zero instead of simply displaying a blinking zero; it could also specifically prompt the user for arguments ("ENTER RADIUS") instead of just displaying a question mark. Earlier calculators needed a key, or key combination, for every available function. The HP-67 had three shift keys (gold "f", blue "g" and black "h" prefix keys); the competing Texas Instruments calculators had two (2nd and INV) and close to 50 keys (the TI-59 had 45). Hewlett-Packard were constrained by their one byte only instruction format. The more flexible storage format for programs in the TI-59 allowed combining more keys into one instruction. The longest instruction required eleven keypresses, re-using the shift keys four times. The TI-59 also made use of the Op key followed by two digits to access another 40 different functions, but the user had to remember the codes for them. Clearly, a more convenient and flexible method of executing the calculator's instructions was needed. The HP-41C had a relatively small keyboard, and only one shift key, but provided hundreds of functions. Every function that was not assigned to a key could be invoked through the XEQ key (pronounced EXEQTE — "execute") and spelled out in full, e.g. XEQ FACT for the factorial function. The calculator had a special user mode where the user could assign any function to any key if the default assignments provided by HP were not suited to a specific application. For this mode, the HP-41C came with blank keyboard templates; i.e. plastic covers with holes for the keys, so the user could annotate customized keys. Hewlett-Packard even sold a version of the calculator where hardly any keys had function names printed on them, meant for users who would be using the HP-41C for custom calculations only (thus not needing the standard key layout at all); this version of the calculator was colloquially known, within HP's Corvallis calculator team, as a "Blanknut" (because the development code name for the HP-41C's processor was known as the "coconut"). Alphanumeric display also greatly eased editing programs, as functions were spelled out in full. Numeric-only calculators displayed programming steps as a list of numbers, each number generally mapped to a key on the keyboard, often via row and column coordinates. Encoding functions to the corresponding numeric codes, and vice versa, was left to the user, having to look up the function–code combinations in a reference guide. The busy programmer quickly learned most of the codes, but having to learn the codes intimidated the beginners. In addition to this, the user had to mentally keep function codes separate from numeric constants in the program listing. The HP-41C displayed each character in a block consisting of 14 segments that could be turned on or off; a so-called fourteen segment display (similar to the much more common seven segment displays, which can be used to display digits only). The HP-41C used a liquid-crystal display instead of the ubiquitous LED displays of the era, to reduce power consumption. While this allowed the display of uppercase letters, digits, and a few punctuation characters (the FOCAL character set), some designs needed to be twisted arbitrarily (e.g. to distinguish S from 5) and lowercase letters were unreadable (HP only provided display of lowercase letters a through e). HP's competitor Sharp, when introducing the PC-1211, used a dot matrix of 5×7 dots and displayed the characters in principle as we see them today on computer screens (and, in fact, many LCD screens on various embedded systems); this was later used by HP with the HP-71B handheld computer.

The HP-41CV and CX Many users had used all four ports for memory expansion, leaving no room for other modules. HP designed the Quad Memory Module with four times the amount of memory, providing the maximum available memory and leaving three empty ports available. The HP-41CV (V being the Roman numeral for 5) included this memory module on the main board, thus providing five times the memory of the HP-41C, and four available slots. The internal architecture prohibited the addition of more memory, so HP designed an extended memory module that could be seen as secondary storage. The data could not be accessed directly, but it was possible to transfer data to and from main memory. To the calculator (and the user), data located in the extended memory looked like files on a modern hard disk do for a PC (user). The final HP-41 model, the HP-41CX, included extended memory, a built-in time module, and extended functions. It was introduced in 1983 and discontinued in 1990.

Programming The HP-41C is keystroke programmable meaning that it can remember and later execute sequences of keystrokes to solve particular problems of interest to the user. These keystroke programs, in addition to performing any operation normally available on the keyboard, can also make use of conditional and unconditional branching and looping instructions, allowing programs to perform repetitive operations and make decisions. The HP-41C also supports indirect addressing (computed goto) with which it is possible to implement a universal Turing machine and therefore the programming model of the HP-41C can be considered Turing-complete. The combination of indirect addressing and gotos easily led to spaghetti code. Program steps are numbered starting from 1, but this numbering has no intrinsic meaning and changes as new instructions are added or removed in the middle of a program. A special LBL instruction is used to create a label that is then referenced by the user to invoke the program, or by the program itself as target of a GTO (unconditional goto) or XEQ (execute) instruction.

… excerpt ends here. Continue reading the full article.

Illustrations

HP-41C illustration
HP-41C: The HP-41C's alphanumeric display allowed it to display numbers, characters, and symbols.
The HP-41C's alphanumeric display allowed it to display numbers, characters, and symbols.
HP-41C: The HP-41CV had a memory five times larger than that of the first model HP-41C. On the lower, inclined flank of the keys, the alphanumeric characters are printed in blue, which are accessible after pressing the "ALPHA" key top right.
The HP-41CV had a memory five times larger than that of the first model HP-41C. On the lower, inclined flank of the keys, the alphanumeric characters are printed in blue, which are accessible after pressing the "ALPHA" key top right.
HP-41C: The box (top) in which the HP-41CV was sold with most of the manuals, programming handbooks and accessories; the power supply is not depicted
The box (top) in which the HP-41CV was sold with most of the manuals, programming handbooks and accessories; the power supply is not depicted
HP-41C: NASA HP-41CV with Velcro to hold it in carrying case, 1983
NASA HP-41CV with Velcro to hold it in carrying case, 1983

Worked examples

Example 1 — a first encounter with HP-41C

Start with the simplest possible case. Write down what HP-41C claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to HP-41C before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about HP-41C ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of HP-41C

In research
HP-41C appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses HP-41C in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
HP-41C is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computer-related introductions in 1979, HP programmable calculators, so understanding it makes those chapters shorter.
In everyday life
Look for HP-41C outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “HP-41C” →

How to study HP-41C in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what HP-41C means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain HP-41C out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is HP-41C in simple terms?

The HP-41C series are programmable, expandable, continuous-memory handheld RPN calculators made by Hewlett-Packard from 1979 to 1990. The original model, HP-41C, was the first of its kind to offer alphanumeric display capabilities.

Why does HP-41C matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study HP-41C?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on HP-41C.

Tags

  • Computer-related introductions in 1979
  • HP programmable calculators

Keep exploring