HP-42S
HP-42S
Main page
2155373

HP-42S

logo
Community Hub0 subscribers
What are your thoughts?
Be the first to start a discussion here.
Be the first to start a discussion here.
HP-42S

The HP-42S RPN Scientific is a programmable RPN Scientific hand held calculator introduced by Hewlett-Packard in 1988. It is a popular calculator designed for science and engineering students.

Perhaps the HP-42S was to be released as a replacement for the aging HP-41 series as it is designed to be compatible with all programs written for the HP-41. Since it lacked expandability, and lacked any real I/O ability, both key features of the HP-41 series, it was marketed as an HP-15C replacement.

The 42S, however, has a much smaller form factor than the 41, and features many more built-in functions, such as a matrix editor, complex number support, an equation solver, user-defined menus, and basic graphing capabilities (the 42S can draw graphs only by programs). Additionally, it features a two-line dot matrix display, which made stack manipulation easier to understand.

Production of the 42S ended in 1995.

The HP-42S is keystroke-programmable, meaning that it can remember and later execute sequences of keystrokes to solve particular problems of interest to the user. The HP-42S uses a superset of the HP-41CX FOCAL language.

All programs are stored in one continuous program space, and may be created and edited by switching to programming mode, using the PRGM key. Subroutines are enclosed in LBL/Label (name of subroutine) and RTN/Return (halts execution unless it is in a subroutine in which case it returns to the caller). Keystrokes (of functions) are enclosed between LBL and RTN or .END.

In a running program, a GTO label causes program execution to branch to the specified label and continue running at that line. Executing a GTO instruction from the keyboard moves the program pointer to the corresponding label. No program lines are executed.

XEQ is used in much the same way with one important difference: after an XEQ instruction has transferred execution to the specified label, the next RTN (return) or END instruction causes the program to branch back to the instruction that immediately follows the XEQ instruction. Programs/Subroutines can also be executed with the help XEQ label (Execute) key. The important difference between the XEQ and GTO is that XEQ executes the label and returns to previous subroutine and continues execution from the line following XEQ,whereas GTO branches to the label specified and doesn't return.

See all
User Avatar
No comments yet.