Professional Documents
Culture Documents
82143A Printer Owner's Handbook
82143A Printer Owner's Handbook
82143A
PRINTER
OWNER'S HANDBOOK
''The success and prosperity of our company will be assured only if we
offer our customers superior products that fill real needs and provide lasting
value, and that are supported by a wide variety of useful services, both
before and after sale."
HP82143A
Printer Owner's Handbook
November 1979
3
Section i
Printer Controls
OFF~ON Switch. This switch controls the power to the printer.
In order for the printer to operate in the system, the power must be on.
Procedures for ac line operation and charging the batteries are given
later in this section.
TRACE
MAN _ NORM Print Mode Switch. The printer has three modes of
operation, which are cont rolled by the position of this switch. This
switch controls what and how information is printed .
• In the MAN (manual) position, the printer is idle and does not
print unless you or a program executes a print function. Listings
of programs are printed left-justified when the printer is set to
MAN .
• In the NORM (normal) position, the printer prints numbers and
ALPHAs that are keyed in, function names as they are executed
from the keyboard, and output from print functions. Running
programs print only output from print functions and I~I ou t-
put. Listings of programs are printed right-justified when the
printer is set to NORM.
• In the TRACE position, the printer prints numbers and ALPHAs
that are keyed in, function names , intermediate and final answers,
and output from print functions. Program listings are printed in a
special "packed" or condensed form when the printer is in
TRACE.
5
6 Using the HP 82143A Printer
Above each example printer listing in this handbook , the position of the
print mode switch is shown like this: Printer: MANumm. . This lets
you know how you should set the print mode switch to obtain the printed
output shown in the example.
Print Intensity Switch. This is a five. position switch that controls the
intensity of the characters be ing printed .
Print Key. When the HPAIC is in normal mode (with no program
running), you can print the contents of the X. register by simply pressing
I PRINT I • In ALPHA mode. when you press IPRINTI , the contents of the
ALPHA register are printed . Pressing I PRINT I while the HPAI C is set to
PROM mode inserts a I P!1X I (print X) as a line in the program , or while
the HP·41 C is also in ALPHA mode , inserts a I P!1A I (print ALPHA)
into the program.
Paper Advance Key. The paper advance key, I ADV I. on the printer is
used to advance the paper in the printer . When the HP·41 C is in normal
mode , pressing the paper advance key simply advances the paper one
line . Holding the key down produces multiple advances. When the
Hp·41 C is in PROM mode and you are keying in a program, pressing the
paper advance key inserts an I AOV I (advance) into the program. (If you
hold the paper advance key down for longer than a second , the IADVI is
not inserted into the program and the paper is immediately advanced.)
When the calculator executes the I ADV I in the program. the paper is
advanced one line.
Power Light. This light is on when the power to the printer is turned on.
If the battery power is not sufficient to run the printer. the power light is
off.
Bat Light. The bat light tells you the status of the rechargeable batteries
in the printer . When the bat light is on, battery power is low. This means
that the printer has about 10 to 15 minutes of power remaining. To con·
tinue operation you should immediately turn the printer OFF and inse rt a
fully charged battery pack or connect the AC adapter/recharger and
recharge the batteries for a few minutes before you resume printing.
CAUTION
Continued printing with the bat light on may damage the
rechargeable batteries.
Using the HP 82143A Printer 7
The AC Adapter/Recharger and Rechargeable
Battery Pack
The complete AC adapter/recharger and rechargeable battery pack are
important parts of your printer system. The rechargeable battery pack
supplies the printer with su'fficient power for sustained portable printing
for 4000 to 5000 printed lines. When plugged in, the AC adapter/
recharger supplies operating powe r for the printer and recharges the
battery pack.
AC Line Operation
To operate the printer using the ac adapterfrecharger, imply turn the
printer off, plug the ac adapterlrecharger into the proper power source
and then into the printer, and turn the printer on. It is normal for the
underside of the printer and the ac adapterlrecharger to be warm when
connected.
CAUTION
The battery pack must be in the printer while the AC adapterl
recharger is connected. Failure to do so could damage the
printer.
Battery Operation
When not being used, the rechargeable batteries have a self-discharge
rate of approximately one percent of available charge per day. [f you
have not used the printer for an extended period of time , connect the ac
adapter/recharger and charge the battery pack . The rechargeable batter-
ies are being charged while you operate the printer from the ac adapter!
recharger. The battery pack will charge with the printer on or off.
Normal charging time from fully discharged battery pack to full charge is
(time depends on ac line voltage value):
Shorter charging periods will reduce the operating time you can expect
from a single battery charge. Whether the printer is off or on, the bat-
tery pack is never in danger of becoming overcharged.
Do not attempt to incinerate, puncture or disassemble the battery pack-
it may burst or release toxic materials . Do not connect together or other-
8 Using the HP 82 143A Pri nter
wise short-circuit the battery pack terminals-the pack may melt or
cause serious burns.
CAUTION
To prevent damage to your HP 82143A Printer use only
Hewlett-Packard thermal paper.
Printer Operations
The HP 82143A Printer is an easy to use but very capable additi on to the
HP-41C. To use the .printer all you do is follow the directions given in
section I for plugging in the printer and then tum the printer on. The
syste m is instantly integrated and ready to use. This section and the
following three sectio ns show you how to use the printer from its most
simple operations to the more specialized applicat ions in plotting , special
character output and graphics.
To begin using your new printer, press the following key s to print a list
of all of the functions in the printer.
TRACE
Keystrokes Printer: _
•
ICATALOGI2 -PRINTER-
ReB
CAT 2
ACCHR
IlCCOL
ACSPEC
ACX
BLDSPEC
LIST
PRA
'PRAXiS
PRBUF
PRFLAGS
PRKEYS
PRP
'PRPLOT
'PRPLOTP
PRREG
PRREGX
PRE
PRSTK
PRX
REGPLOT
SKPCHR
SKPCOL
STKPLOT
15
16 Printer Operations
All of these functions can be executed or assigned to keys for execution
just as any other HP-4IC function. These functions are available only
while the printer is plugged in. Refer to section 4 in theHP-4JC Owner's
Handbook and Programming Guide for information about executing and
assigning functions.
[AlPHA I PRIHT IT
PRINT IT_ PRINT rr _
_ ["vIEwl PRINT IT
[AlPHA )
Printer Operations 17
Prompting IPROMPTI
Executed from the keyboard , [PROMPTI simply displays the contents of the
ALPHA regi ster while the printer is set to NORM or TRACE. The
example here shows how [PROMPTI prints when executed from the
keyboard (the example assumes that the contents of the ALPHA regi ster
are intact from the previous example).
To advance the printer paper , press the Paper Advance key, ["'CN I, on the
printer. Pressing this key once advances the paper a single line. Holding
the key down continues advancing the paper until you release the key.
Another way to advance the paper in normal and USER modes is to
execute the ["'0'1 [ functions from the keyboard. Each execution of ["'0'1 [,
either in a program or from the keyboard, advances the paper a single
line. Pressing the advance key on the printer while the HP-4IC is set to
PRGM mode inserts an I "'CN I function into program memory .
18 Pri nter Operations
HP 82143A Printer Functions
All of the rest of the functions covered in this section are available only
while the printer is plugged into the HP-41 C . Two of these functions are
avaiJable by pressing the IPRINTI key on the printer.
123,456,789
123,456,789.8 .• u
IPRINTI
I ALPHA I
ABCDE SlBCDE
IPRINT I
I ALPHA I
[ ALPHA I
ABCDEFGH RBCDEFGH
I ALPHA I
[xEa II ALPHA I PRA
[ ALPHA I
Printing Registers IPRR£GI IPRREGxl IPR~ I IPRSTKI
There are three printer functions that allow you to print the contents of
data storage registers: [PRREGI , [PRREGX I, and [ PRE I. The fourth register
printing fu nction prints the contents of the automatic memory stack
registers ( [PRSTKI) . All of these functions are programmable , that is ,
they can be keyed in as lines in programs that you store in program
memory.
Using [PRAEGI (print registers) . When you execute IPRAEGI , the contents of
all currently allocated data storage registers beginning with Roo are
printed. Each printed register is labeled with the register num ber on the
left (Rnnn = ) and the contents of the register (up to 15 characters) on the
right. When a register contains ALPHA characters, its contents are
enclosed in quotes when printed, like this ROf = "ABC". The listing can
be terminated at any time by pressing @) .
For use in a program, key in the [PRREGI function j ust as you would any
other function. Allocation of registers in example below is I SIZE I 017 .
R86= USS9
R97= 9.8998
RIl8= 8.9889
R89= 9.8888
R18= 8.8989
RIl= 8.8888
R12= 8.8888
R13= 8.8989
R14= 8.8888
R15= 8.8888
R16= 9.8998
bbb.eee
prints only the register specified by bbb. So, the number 20.000
would print just Rzo . If eee is larger than the number of currently
existi ng registers. the calc ul ator prints from bbb to the first non-
ex istent register encountered ( NONEXISTENT ) . If bbb is larger
than the number of currentl y allocated registers, the display will
show NONEXISTENT .
2. Execute IP!1REGX I. In a program, key the control number into the
X-register (as a line in the program), and follow it with the IPRREGX I
function. The control number can also be calculated by the
program .
3. The printer no w uses the control number to determine which
registers to print. You can terminate the print session at any time
by pressing IRlsl.
Here is an example showing how IP!1REGX Ican be used to print the contents
of registers Ro, through R o~. The control number is 1.005.
1.005 1. 68S8
I xEol PRREGX
I ALPHA I PRREGX
I ALPHA I R9!= 27. 9388
R82= 8.8888
R83= 8.8888.
R8~= 8.8898
R85= 0.8808
Using I PRl: I(prillt statistics registers). The I PRl: I function enables you
to print the contents of the currently defined statistics registers (refer to
section 6 in the HP-41C Owner's Handbook and Programming Guide
for information abo ut Il:REG I and how statistics registers are defined).
Executed in a program or from the key board , I PRl: Iprints the contents of
all six statistics registers.
22 Printer Operations
Keystrokes Printer: .uJ NORM
I XEol m
I ALPHA I PR:l I ALPHA ]
;;:x : usee
LXf2:9.9iJB0
£v : a.8eee
m2: e .0888
l:XV : U088
II 8.088.e
There are two printer functions that print programs that you store in
program memory: I PRP 1 (print program) and I LIST 1 (list program).
Both of these functions are non-programmable (cannot be keyed in as
part of program).
Using I PRP 1 (print program). To print a specific program that is
presently stored in program memory , follow this procedure:
I. Execute I PRP I·
2. The calculator prompts you for the name of the program you wish
to print. Simply key in the name of the program (press I ALPHA 1
name I ALPHA J) and printing will begin at the first line of the named
program. If you press I ALPHA II ALPHA I (do not speci fy a program
name) in response to the prompt , the printer will print the program
to which the calculator is presently positioned beginning at its flTst
line.
Printer Operations 23
You can tenninate the printing operation at any time by pressing IR I S I.
I LIST I and I PRP I format program lines depe nding upon the position of the
print mode switch. Followin g is a listing of a program printed using
I PAP I showing the three formattin g options. The program name is
CHARS . (You may wish to key in and run thi s program- it prod uces a
list of all printer characters . You will learn more about the pri nter
functions used in thi s program later.)
Keystrokes
IXEO )
-
I ALPHA I PRP I ALPHA I
I ALPHA ICHARS I ALPHA I
TRACE
MAN~ IIlJlID[] NOR M
81tL8L 'CHARS' PRP 'CHRRS ' PRP 'CHARS "'
92 1.127
93 STO 88 81.LBL •CHARS" 91+LBL ' CHARS'
94 FIX a 1.127 STO 98 FI X 9
e2 l. J27
8S+lBl a9 83 STO 98
86ReL 99 8S+LBL 08 84 FIX e
'97ACX ReL 89 AeX ACCHR ADY
8SACCH~ ISG 88 GTO oe FIX 4 9S+LBl 06
89ADV ~6 Rel 96
EHD
· 19ISG 88 97 flex
11GTO 88 88 flCCiiR
12 FIX 4 89 ADY
13 EHD 19 ISG 90
II GTO &8
12 FI1. 4
13 EHD
Using ILIST I. Usin g ILIST I, you can specify a number of lines of a program
to print. Here is the I LIST ) procedure:
I. Position the calc ul ator to the desired program and then to the line
where yo u wish printing to begi n.
2. Execute ILIST I·
3. T he calc ulator prompts you fo r a three-digit num ber of lines.
After you key in the num ber, print ing begi ns . You can termin ate
the printing opera tion at any time by press ing ~.
24 Printer Operations
Here is an example showing how to print only lines 5 through 10 of the
CHARS program (printed in the example under I PflP I) . The listing is
shown printed in NORM print mode, (right justified).
Since the HP-41C system has many flags and a reassignable keyboard,
you may wish to review this information. Using IPRflAGSl and IPRKEYSI, you
can print this information at any time.
I xEol PRFLAGS
I ALPHA I PRFLAGS I ALPHA I
STATlJS :
SIZE= e!7
L= 11
DEG
FI X 4
FLAGS:
F 88 CLEAR
F 81 CLEAR
F 92 CLEAR
F83 CLEO'
~ 0'
cLEAR
F 49 CLEAR
F 59 CLEAR
F"51 CLEAR
F S2 CLEAR
F JJ
~~
CLEI1R
F 54 CLEAR
F 55 SET
Using I-EYS I (p rim key assignments). When executed from the key-
board or in a program, I_EVS I prints the keycode of the reassigned key
followed by the name of the program or function ass igned to that key.
Keycodes are a row-column identification of a key location. The key -
codes for shifted key locations are prefi xed with a - (minus sign). This
example assumes that no key ass ignments have been made.
IXEOI PRKEYS
I ALPHA I PRKEYS USER KEYS: HONE
I ALPHA I
You can termin ate the printing operati on at any time by pressing ~.
26 Printer Operations
Printing the Catalogs
The information in any of the function catalogs can be printed by simply
setting the print mode switch to TRACE , pressing _ ICATALOGI and the
number of the catalog you wish to print (1 , 2 , or 3). As the display and
printing of iCATAlOOI 1 progresses , the calculator is automatically posi-
tioned to the program in program memory that is currently displayed . In
addition, when you print ICATAlOOI 1, the number of "bytes" (refer to
appendix D in the HP-41 C Owner's Handbook and Programming Guide
for an explanation of " bytes") that each program occupies in program
memory is printed next to the END of each program printed . Refer to the
example below.
The iCATALOGI function is not programmable (cannot be recorded as a line in
program memory).
Print the contents of [CATAlOOI 1:
TRACE
Keystrokes Printer: _
_ [CATALOGI 1 CAT
LBl 'CHARS
EHD 33 SYTES
.EHD. ~9 ems
• The HP·41 C interacts with the printer during program execution, even if the program does
not contain printing operations. When the printer is turned on , program execution will be
slightly slower than if the printer is turned off or removed .
28 Printer Operations
Programs co ntaining these functions have the following XROM numbers
when the printer is removed.
Function XROM Number
XROM 29, 01
XROM 29,02
XROM 29,03
XROM 29,04
XROM 29,05
XROM 29,06
Not programmable
XROM 29,08
XROM 29,09
XROM 29,10
XROM 29,11
XROM 29,12
Not programmable
XROM 29,14
XROM 29,15
XROM 29,16
XROM 29,17
XROM 29,18
XROM 29,19
XROM 29,20
XROM 29,21
XROM 29,22
XROM 29,23
XROM 29,24
Press I PRINTI .
The maxi mum number of characters in one line of single-wide print is 24,
and the maximum number of characters in one line of double-wide print
is 12. If you print more than 12 double-wide characters, the additional
characters will be printed on the next line.
Remember that all special purpose user flags (flags 11 through 20) are
cleared each lime the HP-41 C is turned on.
Lower Case Flag (Flag 13). Flag 13 is another special purpose use r
flag that is used to control the way characters are printed. While flag 13
is set, all letters printed appear in a lower case format. All other charac-
fers other than alphabetic letters are not· affected by flag 13.
Try this example to see how the printer and this flag work.
Printer Operations 31
Keystrokes Printer: MAN [n.
I ALPHA ) LOWER CASE
LOWER CASE Key in the letters in
ALPHA mode. lower case
I ALPHA)
. (013 Set the lower case flag,
[ ALPHA [
[PRINT ) Press I PRIN T j
I ALPHA I
. @l]13 Return to normal
printing.
Notice that the display shows the letters in upper case, The lower case
flag only changes the way letters are printed , not displayed.
The printer will continue to print all letters in lower case as long as flag
13 is set . The flag is cleared each time the HP-4l C is turned on , resulting
in upper case printing until the flag is again sel.
Error Ignore Flag (Flag 25). This flag can be used in programs to
control how the calculator reacts to errors. While set, the HP-4IC will
ignore the firs! error it encounters , The error automatically clears the
flag. A list of all errors and messages is given in appendix B,
For more information about flag 25 and errors , refer to section 14 in the
HP-41C Owner's Handbook and Programming Guide.
.-
.1, XI.
r,
>-~ ~ 11_... :
.:;. ,.
J ~:? !",,""c
-::~ 11- .•
t:.., t:.,~ )".-"
--f'
~,..,
r.... .
..
.~ ~~'i
~'f"t"_
.. . ~
..,
.:'
"'.,.;.:'
~
~r
.'"' ~.., ...
4"
-- ,,
-:)
~
-- !lSI
Section 3
For example, use the following keystrokes to accu mul ate ALPHA
characters into the buffer. So that 1 ACA I is easy to execute, firs t ass ign it
to a key for USER mode exec uti on. The first keystroke. I ADV I prints
anything that is already in the print buffer. (The (PRBUf] functio n also
prints the buffer. Both (ADV] and (PRBUf] and their relationship to the
print· buffer are cove red later in this sectio n. ) Be sure to set the printer to
MAN before you begin .
33
34 Accumulated Printer Output
Keystrokes Display
I ADV I 0.0000 This advances the paper and
prints whatever is in the
print buffer. (X-register is
. IASNI shown cleared.)
I ALPHA IACA I ALPHA I ASN ACA _
~ 0.0000 I ACA I is now assigned to the
~ key location ...
0.0000 ... and can now be executed
by pressing ~ in USER
mode.
I ALPHA IABCDE This places the ALPHA
I ALPHA I 0.0000 letters ABCDE in the
ALPHA register.
0.0000 The contents of the ALPHA
register (ABCDE) are now
copied into the print buffer
but are not printed.
I ALPHA IFGHIJ This places the ALPHA
I ALPHA I 0.0000 letters FOHTJ into the
ALPHA register.
0.0000 The contents of the ALPHA
register (FGHTJ) are now
added to the print buffer
after the first letters. So the
print buffer now has the
letters ABCDEFGHTJ
accumulated in it. Nothing
has been printed yet.
Print the contents of the print buffer by pressing the I ADY I key on the
printer. You will learn more about printing the buffer later.
A
B
C
o
E
FGHIJ - - I N:.A I -----+- F A8CDEFGHU
G
H
I
J
Notice that the character position for the sig n of the number ("bla nk " for
positive numbers and " -" for negative numbers) and the decimal point
are also accumulated.
Here is what happened to the print buffer:
Contents of The Print ButTer Printer: MANumm.
X-Register
-123.0000 - IACXI ---I.~ 1
2
3
o
o
o
o
Character-by-Character Accumulations
There are a total of 127 stand ard characters that can be printed on the
HP 82143 Printer. Fifty-nine of these characters are on the ALPHA mode
keyboard and can be accumulared into the print buffer using I ACA I.
Using I ACCHR I (accum ulate characte r) you can accumulate any of the
127 characters, one at a time , into the print buffer.
Each of the 127 c haracters is assigned a number from I through J 27.
To accumulate a character, you specify the number that corresponds to
the desired character and exec ute I ACCHR I. Here is a lis ting of each charac-
ter and its corresponding number. (The program in the example on page
23 produces this list of characters and numbers.)
Accumulated Printer Output 37
I ACCHR I uses the absolute va lue of the integer portion of the number in
the X-register, and does not alter the sign or the number.
Keystrokes Display
. IASN J
I ALPHA I PRBUF ASN PRBUF _
I ALPHA I
ITAN J 15.0000 IPRBUFJ is now assigned to the
I TAN I key location for USER
mode execution. The dis-
played number remains from
the previous example.
• The print buffer is 44 registers long . Depend ing upon the chamcters printed and operations
perfoml~d during the buffer filling process. the buffer will hold fewer actual printing
characters_
40 Accumulated Printer Output
Now accumulate characters using ! ACA I, I ACX I, and ! ACCHR I to print this
output : t 25.4 HK/ IH I . (This example assumes that ! ACA I is assigned
to the ~ location , ! ACX I is assigned to I LOG I, and IPI1BUFI is assigned to
ITAN I for USER mode exec ution .)
The contents of the print buffer are printed left-justified and the buffer is
now empty. To see how I ADV I prints the print buffer, repeat the above
keystrokes and press ! ADV I rather than [I'RBUFI when yo u print the buffer.
-: : -----------..:: :-~ I:
4
Keystrokes Display
• !£:ill 4 33.0000 Return to (£DJ 4 .
_ IAsNI
I ALPHA I SKPCHR ASN SKPCHR _
I ALf'HA I
Icosl 33.0000 ISI(~I is now assigned to
the Icos l location and is
ready for execution in
USER mode.
Keystrokes Display
I ALf'HA I TIME: TIME:_
I ALf'HA I
I /lCA I (@)) 33.0000 The ALPHA string TIME:
is now in the print buffer.
Keystrokes Display
12 12.0000 The number of spaces to be
skipped is placed in the
X-register.
12.0000 The print buffer now con-
tains the string TIME:
follow ed by 12 spaces.
Accumulated Printer Output 43
To complete the line , accumulate the string 4:35 AM into the print
buffer.
Keystrokes Display
( ALPHA
. 4:
( ALPHA
IACAJ(~)
.3
I
I
. 5AM 4:35AM_
12.0000
12.0000
The buffer was printed and is now empty. Note that ISKPCKII uses the
absolute value of the integer portion of the number in X to define the
skip value.
HP-41C flags 12 and 13 control how the actual characters are printed. (A
complete de scri ption of these flags is given on pages 28 through 31.)
Flag 12, which is the double wide flag, controls the width of the charac-
ters printed . When set, flag 12 instructs the printer to print all charac-
ters double their normal width. Flag 13 is the lower-case flag , and when
it is set, all alphabetic characters are printed lower case. When flags 12
and 13 are clear, printing is normal width (24 characters per line) and
upper-case (exce pt in the case of the actual lower-case characters on the
ALPHA keyboard , a through e).
By setting and clearing these two flags, you can accumulate different
width characters and upper/lower-case letters into the print buffer for
later printing. Here is a simple example: (This example assumes that
(ACA I and (PRBUFI are still assigned to the ~ and ITANI key locations,
respectively, and that the HP-41C is in USER mode.)
44 Accumulated P ri nter O utpu t
Keystrokes Display
I ALPHA I
MY NAME IS MY NAME IS_ This string is in the ALPHA
I ALPHA I register, ready for accumu-
lation into the print buffer.
The number remains from a
previous example .
. tm 12
. tm 13 Return to normal print
IUSERI settings.
Accumulated Printer Output 45
Programming With the Accumulation
Functions
All of the acc umul ation fun ction s covered in this section ca n be keyed in
as instructio ns in programs that you write. Usi ng these functions. you can
construc t special formats for your o utput and control all phases of the
program print operations.
Programs that contain accumulation functions should not be executed
with the print mode switch set to TRACE or NORM. The TRACE and
NORM printing operations use the same special buffer registers that are
used for acc umulatin g printed o utput . The result s of executing a program
wi th the print mode switch set to TRACE or NORM is that information
that the program accumulates in the print buffer will print prematurely
with the TRACE o r NORM printing information.
Section 4
Plotting
I PRPLOT I prompts you for all of the information necessary to construct the
axes of the plot and the values to be used to plot your function . Then , it
uses a program that you have already stored in program memory to plot
the actual values .
Before we get into the specifics of how I PRPLOT I works , try this simple
example.
y = SIN(x)
This example assumes that program memory is c leared and the allocation
of data storage registers is I SIZE I 017. In additio n, ensure that the HP-4l C
is set to degrees mode for this example and clear storage register R03
before you begin-you will learn how R03 is used in plotting later.
47
48 Plotting
Keystrokes Display
o I STOI03 0.0000
[PRGM I
. (GTOI c:J c:J 00 REG 46
. [LB L I
[ ALPHA I WIGGLE 01 LBL WIGGLE The name of the program .
I ALPHA I
WE] 02 SIN This computes the si ne of
the number in the X-register,
or SIN(x) . The result is
placed back into the
X-register.
00 REG 44 Ends the program .
0.0000
ow exec ute IPRPlOT I. Since the fun ction you are plotting is SIN(x), it
would be useful to plot the values of x from 0 to 360, and the resultant
values will be between -1 .0000 and 1.0000 . These values should be
spec ified as YMfN = - 1. . 1 and YMAX = 1.1 to provide room to ade -
quately plot the values close to -1 and I. For this example, the values
of x should be in increments of 10. So x will be 0 , 10, 20, . .. , 360 ,
and y will be SIN(O) , SIN(lO), SlN(20) , ... , SIN(360). The x-axis
should be set to ze ro .
Here are all of the values we have defined and the words th at (PRPloT I
uses to prom pt for those values .
Note that IPRPlOT I uses registers Roo through RII to construct the plOI.
Be sure that the function you are plotting does not use these registers.
Any values stored in these registers prior to plotting will be lost. Refer
to page 55 for additional information.
Plotting 49
Keystrokes Display Printer: MAN mrnr.
IXEO I PLO T OF Wi(~L E
I ALPHA I PRPLOT X WH ITS" L} J.
I ALPHA I NAME? i" <UN iTS" l.i +
WIG GLE WIGGLE -Li e 1. Ie
[ill) YMIN? 0.8 ~
J.6~ .
50 Plotting
You can see how simple the I PRPlor l operation is to use . You key a
program into program memory, execute I PRPlOT 1 and supply the
information requested by 1PRPlOT I·
Now let ' s cover how 1PRPlOT 1works and how you can take ad vantage of
its powerful plotting capabilities .
Programs for 1PRPlOT I. The program or function that you wish to plot can
be any program that takes a value in the X-register and returns a result to
the X-register. * IPRPlOT 1 supplies the x-value to the program, runs the
program , and then uses the result in the X-register to plot a point.
Pl Gl OF WI '::';Lt
x <uHFS= I. , . "
y ,~ Hi TS = I. ) •
- i. !l) I. IB
~ 01 LBL WIGGLE
6. a&
1--------+ -------..; ~o --cD 102 SIN
e. ....... 1PIlPlOT 1"- 0.0000.....;:;!03 END
I~ , : 1
CD (1) \V
20 .
la. 0.1736
'" 20
0.3420
30
0.5000
·m .
. 346.
m. ,: 360
366 • 0.0000
• When executed from a program, IPI1PLOT 1 uses a minimum of three subroutine le vels
and up 10 two more than the number of subroutine levels in the function you are plotting.
P lotting 51
360 0.0000
This input/output scheme allows you to plot even the most compl icated
of functions. All you do is key in the function as a program so that it uses
the x-values (supplied by IPRl'LOT I ) in the X-reg ister, and places each
resultant back into the X- register . I PRl'LOT 1does the plotting and execution
of the program automatically .
IPRPlOTI uses the Y, Z, and T stack registers for plotting. Any data placed
in those registers will be destroyed by the executio n of I PRPlOT I·
Specifying t he X- a nd Y ·Axes. When you run 1PRl'LOT I, it prompts you
for all of the data it needs to construct a plot. Three of these values (X
MIN, X MAX and X INC) determine what x-values are to be supplied to
the function and how the x-ax is is to be pri nted . The value specified for
X MAX must be larger than X MIN. If incorrect values are entered, the
calculator will continue to prompt for that value until a correct value is
entered. The X INC will not plot x beyond X MAX .
Here are some examples of X MIN, X MAX and X INC values and their
effects on the values supplied to our example function (SIN(x»:
52 Plotting
X MIN °
X MAX 360
0, 10, 20, 30, 40, 50, 60 •...• 360
X INC -36
If you specify X INC as - 10, the calculator supplies a starting value and
10 increments from 0 to 360:
Y MIN -1 .1 Y MIN - 2
YMAX 1.1 YMAX 2
AXIS 0 AXIS -2
X MIN 0 X MIN 0
X MAX 90 X MAX 90
X INC 10 X INC 10
Y MIN 0 Y MIN .5
Y MAX 1.1 Y MAX 1.1
AXIS .5 AXIS 1.1
XMIN 0 X MIN 30
X MAX 90 X MAX 90
X INC 10 X INC 10
The AXIS? prompt is asking where you wish to plot the x-axis. The
value specified for AXIS should be between (inclusive) YMIN and
YMAX. If it is not, the calculator will continue to prompt you for the
AXIS value until a valid value is specified . Keying in NONE (or any
other ALPHA characters) will suppress the printing of the X-axis.
Look at the a bove examples to see how you can vary the position of the
axis.
Plot Labels. Each printed plot is labeled with five lines of information.
The first line is the name of the program you are plotting. The second and
third lines are the x- and y-axis units. The last two lines are the actual
y-axis labels .
Since the width of the printer tape is limited, many-digit labels on the
axes are not possible to print. Instead, I PAPLOT I determines a unit value
that will allow the labels to be printed in a shorter form . The format is:
X <UHITS= 1.1 •
Y (UNITS= 1. > ~
Plotting 55
The arrow pointing down in the X-row is a reminder that the unit value
applies to the labels on the x-axis down the left side of the plot. The
arrow pointing to the right in the Y -row reminds you th at the Y unit
value applies to the numbers in the y-axis across the top of the plOt.
For example, the unit values below indicate that the x-label units are 10 4 ,
and the y-label units are 103.
PLOT OF WIGGLE
1. < liN ITS= E'. > ~
Y <UNi TS: E 3. ) ~
The next line in the plot label is the minimum and maximum Y-ax is
values. Directly under these numbers is the label for the vertical X-axis ,
which is positioned and labeled according to the value that you specified
for the ax is.
Registers Used By 1PRPLOT I. 1PRPLOT 1uses registers Roo through R II to
hold the plotting information. Before IPRPlOT will execute properly , the
1
Roo YMIN
Ro, YMAX
Ro, Plotting Character
R04 AX IS
ROB XMIN
RD. XMAX
R, o XINC
R" NAME
Plotting a V-Axis
IPRAXIS Iis the part of the I PRPlOT 1program that detem1ines w hat the Y-axis
is to look like. It uses the values in the following registers to construct and
.Iabel an axis , as well as determine the y unit value. IPRAXIS I is program-
mable, or it can be executed from the keyboard.
Plotting 57
Roo YMIN
R 01 YMAX
R02 nnn'
R04 AXIS
This operation can be used for your special applications where yo u wish
to construct your own plotting routi nes. I PRAXIS I does the axis labeling
and scaling computati ons for you. When yo u copy IPAPl.OT lor IPRPlOTPI
into program memory using Icopv ), the I PRAXIS ) su broutine is included
with that program. A complete annotated listing of IPAPl.OT ), including
I PRAXIS) is given in appendix C.
Y <UfiliS" L> ~
-'. Be 5. &3
-B. 7.5
}-- -i------- ---------1
The I PRAXIS) program uses two subrout ine levels in its execution. If you
wish to execute I PRAXIS ) in a program or subroutine, be sure th at the
program has at least two subroutine levels available. When the top axis
has been printed, you again have the full six subroutine levels available.
I PRAXIS) clears flag 12 and leaves the display format set to !£:j1)4 when
the plot is completed.
The DATA ERROR display will re ult if the absolute value of /Ifill (R02 ) is
greater than 168.
• The nnll parameter defines the width of the plouing fie ld in columns. Each printed
character is seven columns wide and there is a maximum of 24 characters on a line so the
maximum width is 7 x 24 or 168 columns wide. In the execution of \ PRAXIS I. the nnn
input is changed to a form Ihat is suitable for use by IREGPlOTI and \STKPIOTI. Thi s form .
f/lln .aaa is explained laler in Single·Line Plotting. I PRAXIS) uses only Ihe IInll portion
of the number.
58 Plotting
Single-Line Plotting
The IREGPlOTI ope ration (register plot) prints a vertical and one plot
val ue . IREGPlOTI is used by IPRPlOT I and IPRPlOTPI for plotting. The plotting
parameters for IREGPlOTI are:
where nnn is the column width of the plot (refer to footnote on page 57).
and aaa is the col umn number of the x-axis. If aaa == O the axis is auto-
matically positioned on the col umn closest to Y=O. If nnn.aaa is nega-
tive , only the x-value is plotted, not the axis. You can execute the I PRAXIS I
function covered on page 56 to automatic ally determine the nnn.aaa
values.
uses R03 to specify the plotting character. Refer to Plotting With
IR£GPlOTI
Special Characters on page 59 for more information . T he IR£GPlOTI pro-
gram does not use any subroutine levels and does not change the display
format or any of the values you store in the registers.
Here is a sample of IREGPlOTI input and output:
X-register 3
Roo -2
R Ol 5
R 02 14().OOO
;.;
An addit ional plot operati on ISTlIPlOTI (stack plot) also enables you to do
single-line plots just as you would with IREGPlOTI except that ISTlIPlOTI
req uires that the va lue and parameters be placed into the stack registe rs.
The use of stack registers for plotting removes the possible conflicts that
may arrise between your program' s use of Roo and R01 ' The ISTlIPlOTI
ope ration always plots the x, y value with a small x.
T-register 5
Z-register -10
V-register 10
X-register 140.000
:.:
The tREGPlOTI and tSTXPlOTI operations enable you to easily set up your own
labeled plots. You first accumulate the X-label for a line of the plot with
I N:;X 1and then execute tREGPlOTlor ISTXPlOTI. The X-label will automatic-
ally be positioned in the correct column. This procedure can be repeated
in a program for each line you wish to plot. Because the labels are posi-
tioned automatically, they can vary in length , providing they fall into the
number of columns not used for plotting .
In both tREGPlOTI and ISTXPlOTI the DATA ERROR message will result if
YMIN ~ YMAX, nnn=OOO, nnn J > 168. I
The 1PRPlOT I, IPRPlOTPI and IR£GPlOTI operations all use R03 to specify the
character to be used for plotting. By using a special function (IBLDSPI'cl,
covered in section 5) you can specify the plotting character that you wish
to use in your plots. Each of these operations uses tbe data in R0 3 to
determine which character to plot with. If the contents of R03 is numeric ,
the plot character used is the small x. But if the contents of ROJ is output
generated by IBlOSPEcl, that information is used to determine the plot
character. To ensure that the plot will be made using the small x, and not
some unwanted character, clear RO:l (press 0 15TOI03).
""',,~.,
L.,j.\_.'i.-!
Section 5
Graphics
The HP 82143A Printer has operations that allow you to control precisely
what is printed , even the exact shape of what is printed. You can build
your own character fonts, special characters, even print non-character
graphics. Using the graphics operations discussed in this section, you can
specify the plotting character used in l-"oT I, IPRPloTPI, and IRf:GPl.OTI·
All standard characters printed by the HP 82143A Printer are composed
of dots in a five-by-seven matrix. If you look very closely at a printed
character, you will be able to see how the dots make up the characters . In
order to provide spaces between characters, each character sits in a
seven-by-seven matrix. To print a specific character, the printer prints
the dots that make up that character.
0 . 0 . 0 00 . 0 . 00
. 000 • 0 . 000 . 0
• 000 . 0 . 000 . 0
Using the graphics operations, you can actually tell the printer which dots
are to be printed in each column of the seven-by-seven dot matrix.
··.--.
.- 1
Print Values Number Print Values Number
1 . ~ 1 1
V 2 . ---.. 2 V 2 2
a 4 0 99 a 4 --... 4 127
1 8 0 1 8 ------.. 8
------..
u 16 0
e 32 . -
64 . - -
32
64
99
u 16
e 32
64 .--.
------..
16
32
64
127
To use IIICCOlI, place a column print number into the X-register and
execute IlICcOlI. The column print number is converted by {IICCOlI and is
placed into the print buffer. Each converted column print number occu-
pies one register in the print buffer. (Refer to section 3 for more informa-
tion about the print buffer.) The IIICCOlloperation should be executed only
while the print mode switch is set to MAN. The TRACE and NORM
settings cause the print buffer to be printed prematurely.
The following example accumulates nine column print numbers into the
print buffer and then prints the buffer.'
2 3456 789
1 0 ••••••• 0
2 0 . 00000 . 0
4 0 . 0 ••• 0 . 0
8 o. 0 . 0 . 0 . 0
16 o . 0 ••• 0 . 0
32 o . 00000 . 0
64 o . •••••• 0
Column Print Numbers = 0 127659385 93 65 127 0
Graphics 63
You may wish to assign jPR8UFI and jACCOLI to the keyboard for USER
mode execution. The example below assumes that these operations have
been assigned to the keyboard for USER mode execution.
[ACCOLI uses the absolute value of the integer portion of the number in the
X-register for the column print number specification.
You can accumulate columns until the print buffer is filled. When
filled, the print buffer is automatically printed.
Skipping Columns
As you are accumulating columns into the print buffer, you may find that
you need to skip columns to obtain the desired output. The [SKPCOLI
(skip column) operation allows you to do just that. To use [SKPCOLI,
simply place the number of columns that you wish to skip into the X-
register and then execute [SKPCOLI. The skip value is accumulated into the
print buffer. As with [ACCOLI, [SKPCOLI should be executed with the print
mode switch set to MAN .
64 Graphics
The largest number of columns that you can specify is 167 (skipping 168
columns would be the same as a paper advance) . The DATA ERROR
message will result if the absolute value of the integer portion of the
skip value is larger than 167. The smallest valid skip value is O.
If yo u are skipping a large number of columns, you may wish to use
ISKPCHllrather than [SKPCOLI. For example , if you wish to sk ip 63 columns,
that is the same as 9 characters (one character is seven columns wide). In
programs, this technique will save program memory space by allowing
smaller skip num bers.
Notice that the width of the printer paper is wider than the maximum-
width printing . You can print up to 24 characters wide, or 168 columns
wide on the printer.
Here is a simple example showing how ISKPCOLlcan be used with [ACCOLI.
The example assumes that [SKPCOL I, [ACCOLI and IPRSUFI are all assigned to
the keyboard for USER mode execution. The characters acc umulated are
two vertical lines, one is placed on the right margin , one on the left.
Column Numbers
1 2 3 4 56 7
V 00 • • • 0 0
a 2 00 0 . 00 0
I
u
4 o . ••••
0
8 o . 0 . 0 . 0
e 16 o •
32 00 0 . 00 0
••••
0
64 00 • • • 0 0
Column Print Numbers = o 28 851278528 0
From left to right, the colum n print numbers are now "built" into a
spec ial character using [BlDSPEC[.
Keystrokes
o IENTER_[ Clears the X- and Y-
registers.
o [BlDSPEC[ The first column print
number.
28 IBlDSPEC[ The second .
85 [BlDSPEC[ The third.
127 IBlDSPECj The fourth.
85 IBlOSPEcl The fifth.
28 IBlOSPEC I The sixth .
o [BlosPEC[ The seventh .
66 Graphics
ow that all of the column print numbers have been built into a special
character you can accumulate and print it. The character can also be
stored into a register and recalled for later accumu lation.
Printer: MAN~
iACSPEcl The seven-column special
character is accumulated
into the print buffer.
The character is printed .
The complete character is
stored into register Rot
and also remains in X.
The character is recalled,
accumulated into the print
buffer, and printed .
Maintenance
The HP 82 143A Printe r has bee n des igned witl). the utmost attentio n to
detail and quality. Afte r co nstructio n , eac h printer is thoroughly
inspected for elec trical, mechanical, and cosmet ic fl aws.
Temperature Specifications
• Operating: 0° to 45°C 32° to 113°F
• Storage: _40° to 55°C _40° to 13 1°F
• Charging: 15° to 40°C 59° to 104°F
Printer Maintenance
CAUTION
Always turn the HP-41 C off before inserting or removing any
plug-in extensions or accessories. Failure to turn the HP-41 C
off could damage both the calculator and the accessory.
1. Keep the contact area on the printer plug free of obstructio ns.
Should the contacts become dirt y, carefu lly brush or blow the di rt
out of the contac t area. Do not use any liquid to clean the
co ntacts or the printer.
68
Accessories, Maintenance and Service 69
2. Store the printer in a clean dry p lace.
3. Always turn the HP-4 1C off before inse rting or removing any
plug-in extension. Failure to do so co uld damage both the
calc ulator and the exten sion.
CAUTION
Do not insert your fingers or any other objects other than an
HP module or plug-in accessory into any port. Doing so could
alter the Continuous Memory or could even damage the port
or the calculator. Always keep the port caps in place over any
HP-41C ports that are not in use.
Service
Repair Policy
Hewlett-Packard calculators and accessories are normally repaired and
reshipped within five (5) working days of receipt at any repair center.
This is an average time and could possibly vary depending upon the time
of year and work load at the repair center.
Shipping Instructions
Should your printer require service, the unit including battery pack and ac
adapter/recharger, should be returned with the following items:
The printer, Service Card, and (ifrequired) the proof of purchase should
be packaged in its origina.l shipping case or other adequate packaging to
prevent in-transit damage. Such damage is not covered by the one-year
limited warranty; Hewlett-Packard suggests that you insure the shipment
to the repair center. The packaged printer should be shipped to the
address shown on the Service Card.
Whether the unit is under warranty or not, it is your responsibility to pay
shipping charges for delivery to the Hewlett-Packard repair center.
Accessories, Maintenance and Service 71
After warranty repairs are completed , the repair center returns the unit
with postage prepaid. On out-of-warranty repairs, the unit is returned
C.O.D. (covering shipping costs and the service charge) .
What We Will Do. The HP 82143A and its accessories are warranted
by Hewlett-Packard against defects in materials and workmanship for
one year from the date of original purchase. If you sell your HP 82143A
or give it as a gift, the warranty is automatically transferred to the new
owner and remains in effect for the original one-year period. During the
warranty period we will repair, or at our option, replace at no charge
a product that proves to be defecti ve provided that you return the product,
shipped prepaid , to a Hewlett-Packard repair center.
HEWLETT-PACKARD COMPANY
CORVALLIS DIVISION SERVICE DEPT.
P.O. BOX 999
CORVALLIS, OREGON 97330
HEWLETT-PACKARD COMPANY
1000 N.E. CIRCLE BOULEVARD
CORVALLIS, OREGON 97330
U.S.A.
All shipping and reimportation arra ngements are your responsi bility .
What Is Not Covered. This warranty does not apply if the product has
been damaged by accident or misuse , or as a result of service or modi-
fication by other than an authorized Hewlett-Packard repair center.
No other express warranty is given. The repair or replacement of a
product is your exclusive remedy. ANY IMPLIED WARRANTY OF
MERCHANTABILITY OR FITNESS IS LIMITED TO THE ONE·
YEAR DURATION OF TIDS WRITTEN WARRANTY. Some
states do not allow limitations on how long an implied warranty lasts, so
the above limitation may not apply to you. IN NO EVENT SHALL
HEWLETT-PACKARD COMPANY BE LIABLE FOR CONSE·
QUENTIAL DAMAGES. Some states do not allow the exclusion or
limitation of incidental or consequential damages , so the above
limitation or exclusion may not apply to you.
This warranty gives you specific legal rights , and you may also have
other rights which vary from state to state.
HEWLETT-PACKARD
CORVALLIS DIVISION CUSTOMER SUPPORT
1000 N.E. CIRCLE BOULEVARD
CORVALLIS, OR 97330
Further Information
Service contracts are not available. Circuitry and design are proprietary
to Hewlett-Packard. Service manuals are not available.
Should other problems or questions arise regarding repairs , please call
your nearest Hewlett-Packard sales office or repair center.
Appendix B
Display Meaning
ALPHA DATA ALPHA characters are in a regis.ter where a
number was required. The following print func-
tions may result in this display (refer to appendix
E of the HP -4/C Owner' s Handbook and
Programming Guide for more information) :
IREGPlOTI, [ST1<PlOTI, [PRREGxl, ISKJ>Q4lI, [SKPCOL],
[ ACCHR 1,IACCOlI , IBlDSPEcl , [PRPLOT I, IPRPlOTPI , 1PRAXIS I·
8i*LBi.. "PRPLOT"
~2 HO~
e3 "HA"E ?"
~~ PROMPT
&5 AOFF
86 Am 11
87*lBL 11
8S .y ~IH ~ ..
89 PRO~PT
18 m ee
i1 ., y HAX ? "
12 PRO~P T
j3 STO 6:
Prompts for inputs . checks data . and 14 X< =\'?
stores the input values. 15 GiO 11
16t L8L 12
17 "AxIS ?"
18 CF 23
19 PROMPT
26 STO 84
21 FS ? 23
22 ASTO 84
23 RC" 01
24 X{Y?
25 GTO 12
26 CL:~
27 RCL ee
76
Annotated I PRPLOT I Program Listing 77
2B xm
2$ GTO 12
38+LBl 13
31 "x HIll 1"
32 PROMP,
33 SiD 88
34 ' X "~ ~ ?'
35 PROMPT
35 SiO 89
37 X{=Y?
38 Gi il 13
39 ' ;~ IKC ?"
40 PRO"PT
41 STn Ie
42.LBL •PRPLO,F'"
43 CF 12
44 AD ~
4:) 6
Prints the name of the function 46 SKPCH?
being plotted . 47 "PLOT OF •
4S ~ R CL 11
49 IlCA
5(1 PRBUF
51 m as
52 RCL 09
53 "x"
Calculates and prints the X-units. 54 XEQ Q9
5S STC 67
5' 7
57 ACCHR
58 PR8lJF
65 ReI. 99
66 RCl as
I
67 -
Calculates X increment value if 68 RCL 1&
X LNC is negative (number of 69 Aes
increments). 7~ ,.
71 STu Ie
72+LiiL 80
73 RCL e9
74 RCL 08
75 ~8S
76 ~m
77 XOY
Determines print format for 78 RCl 87
X-labels. 79 I
80 LGG
81 IWT
32 2
83 -
84 SID es
87+LBL 14
88 FiX lHD 85
31 RCL 07
Sets print format and accum ulates 98 I
X-label. 91 RHD
92 AC)(
933
~4 SKPCOL
Annotated I PRPLOT I Program Listing 79
95 RCL 86
Calculates and prints one point.
{ % XEQ HiD II
97 REGFLOT
98 !tel 16
I
.,9 SIt 96
Increments X-value and checks for I&B RCL 69
completion of plot. 181 RCL 96
162 X{=Y?
183 GHl 14
195 RTH
ie6+L8L -PRAXIS'
197 CF 12
198 RCL 60
199 RCL 01
Calculates and prints Y -units label. m "yo
111 XEQ 139
i 12 STO e6
113 125
114 I1CCliR
i 15 PRBO'
llf, RCL 82
117 INT
I
l1S AIlS
Converts nnn.aaa to nnn and checks 119 STO 82
nnn . 128 168
121 X{ 'f?
122 GTC 10
123 RCl 88
124 RCl 86
Formats and accumulates YMIN
label. { 125 I
126 RND
127 ACX
80 Annotated I PRl'LOT I Program Listing
128 XEQ 85
i29 lit
1313 RCL 81
131 XEQ 84
Calculates and skips number of 132 Rt
columns between the YMIN and :33 +
YMAX labels. 134 -
13~ 7
136 X{ =Y?
m RDH
138 SKPCOL
i29 RCl e:
I
14e RCl 86
Accumulates the YMAX label and 141 ,.
prints the Y -labels. 142 RHD
143 ReX
144 ADY
14:i RCL B4
146 SIGN
147 X=8?
148 biG 83
149 LASTX
150 RCL 86
151 X)n
152 m 16
lS3 -
154 RCL ~1
155 RCL oe
Calculates axis column location (if 156 -
printed). 157 ¥om
15S GTG Ie
159 ,.
166 RCL 82
161 1
162 -
163 t
i ~4 . 5
165 +
166 INT
167 sro Y
Annotated I PRl'LOT I Program Li sting 81
168 RCL 94
169 RCL 81i
178 I
171 RIm
172 Rex
173 XEQ 95
Ii4 2
1;'5 i
17& Xi V?
177 GTO ea
178 +
179 RCL 82
Positions and prints axis label.
Ise 1
181 -
132 X{ Y?
183 EHTER't
184 -
185 Gi'O ~1
136tLBL Be
187 EHTERt
ISS +
189 RCL 112
1% -
!91 t LBL 91
192 SKPCGL
193 ADV
82 Annotated I PRPlOT I Program Listi ng
194 XEi.l as
195 STO 95
196 X:C?
197 GTO ee
198 RCL 82
i 99 i
28B -
291 X="O
282 GTO a8
203 ;.:< >,
2M 1
2~5 -
Calculates position of axis mark and 286 iiEe 96
207 RCL es
prints Y axis. 208 I
28~ +
m GTO 01
2l! tLBL 83
m XtO as
2i3tL8L sa
214 RCL 82
2i5 2
216tLBL 91
217 -
Z13 xt:Q e~
21, HDii
22e RCl 82
221 RCL 05
222 1
223 +
224 I U
225 J
226 t
237 RTN
23StLBL 84
Formats label value into actual label.
{ m RCL 86
2.8 /
241 RHD
242tLBL 95
243 ASS
244 lin
245 x-a?
246 GTO 88
247 RDN
248 5
Calculates number of columns 249tLBL 88
required for a label. 258 LOG
251 IHi
252 RCL 05
253 +
254 3
255 +
256 7
257 *
258 RTH
84 Annotated I PRPlOT I Program Listing
259.LBL 86
268 EHTERt
261 EHTERt
262 7
263 "OD
264 2
265 /
266 IHT
267 SKPCOL
268 -
Fills in axis with dashes between 269 . _"
label marks. 278.LBL 87
271 7
272 X>Y?
273 GTO 80
274 -
275 RCA
276 GTO 87
m.LBl 88
278 RDN
279 SKPCOL
288.lBL 88
{
281 127
Accumulates a label mark. 282 ACCOL
283 Rt
2S. RiM
28StLBl 89
286 "~ <UNITS:"
287 X(=Y?
288 CTO 19
289 WY
298 IIBS
291 X{Y?
292 X{)Y
293 LOG
294 >:(8?
295 GTO 98
296 IHT
297 2
298 XOV
299 lOY?
Annotated t PRPlOT I Program listing 85
399 GTO 91
391 -
382 SIO 95
38H
~ GTO 82
39StlBL 88
386 FRC
387 X'8?
388 I
389 LASTX
Calculates multiplier value and 319 INT
places that value into X. Accumu- 311 WY
lates " units" line. 312 -
313tLBL SI
3i4 "~ E"
31StL8L 82
316 4
317 SKPCHR
318 ACil
319 FIX e
329 RDH
321 X=9?
322 GrO 8e
323 ReX
324 10tX
325 2
326 SIO 8S
327 FIX 2
32& RDH
329 GTO &1
33&tLBL ~8
331 1
332 ACX
333 FIX ItID 95
334tLBL 81
335 "> •
33& ileA
m RT~
I
33StLBL 10
GeneratesDATAERROR message for m8
bad inputs. 349 I
341 END
Appendix 0
nn a two-digit number.
IND nn indirect ( . ) followed by a two-digit
number.
X, Y, Z, T, or L a stack address: 8 followed by X, Y, Z,
T, or L.
IND X, Y, Z, T, or L indirect stack: • 8 followed by X, Y,
Z, T, or L.
86
Reading and Keying in Programs From Printer Listings 87
Indirect addresses are specified by pressing • and then the
indirect address. Stack addresses are specified by pressing 8
followed by X, Y, Z, T, or L. Indirect stack addresses are
specified by pressing . 8 and X, Y, Z, T, or L.
Here is a sample program listing that illustrates how you can key in
programs.
.1
Bi' -2 I ALPHA I . IAPPENDI
9S I
SAMPLE 03 TSAMPLE
B9 R6S
AVIEW II ALPHA I 04 AViEW
18 no IHD l
6
!I "R3=" 055
12 ARCL 63 IENTERt l 06 ENTER
13 AYIEW 2 ICHsl 07 - 2
14 END G 08 /
I XEO II ALPHA I ASS
I ALPHA I 09ABS
.1
ISTO I . 8 L
.1
I ALPHA I R . 3=
ARCL I 03
AVIEW II ALPHA I
10 STO INO L
l1TR3 =
12 ARCL 03
13 AViEW
. IGToI88 14ENO
HP 82143A Printer Function Index
While the HP 82143A Printer is plugged into the HP-4IC, these opera-
tions become active in the system. These operations, and programs
containing these operations are only executable while the printer is
plugged in and turned on. You can print these functions as well as
functions in other plug-in accessories by executing lCATALOGI2 while the
printer is set to TRACE. or only view them in the displ ay by executing
iCATALOGI2 while the printer is set to MAN or NORM .
88
rkOW HEWL,E TT
~~ PACKA~D