d
a
c
b
10
!
20
!
Figure
6-1.
To
Observe
Printing
30
!
40
ASSIGN
@Hp4396
TO
800
50
!
60
OUTPUT
@Hp4396;"CLES"
70
OUTPUT
@Hp4396;"OSNT
512"
!Catch
High
to
Low
Transition
80
OUTPUT
@Hp4396;"OSPT
0"
!Disable
Low
to
High
Transitions
90
OUTPUT
@Hp4396;"OSE
512"
!Enable
OS
Event
Reg.
100
OUTPUT
@Hp4396;"*SRE
128"
!Enable
OSR
bit
120
ON
INTR
8
GOTO
La1
130
ENABLE
INTR
8;2
140
OUTPUT
@Hp4396;"PRINALL"
150
La1:!
160
GOTO
La1
170
DISP
COMPLETE"
180
!
190
END
Figure
6-1.
Sample
Program
:
T
o
Observe
Printing
6-2
Printing
or
Plotting
the
Analyzer's
Display