EasyManua.ls Logo

HP 8153A - Page 200

HP 8153A
282 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
10
Example
5
Description
Line
No.
10
to
50
Declarations
and
Initializations.
i
60
Set
up
the
status
enable
registers.
i
70
to
250
Set
up
the
display.
260
Set
up
for
the
main
program
loop.
^
270
Enable
the
interrupt.
280
to
330
The
main
program
loop,
take
in
a
command
and
send
it
to
the
instrument.
340
to
680
The
interrupt
service
routine.
340
Make
a
serial
poll
to
get
the
contents
of
the
Status
Byte.
390
to
560
Look
at
each
bit
of
the
register.
410
to
500
This
part
looks
after
a
bit
if
it
is
set.
420
to
430
Display
the
set
bit.
440
to
500
Check
to
see
if
it
is
the
MAV
bit,
and
if
it
is,
get
the
contents
of
the
output
queue
and
display
them.
520
Display
the
bit
if
it
is
not
set.
530
to
550
Set
up
for
the
next
bit.
1
570
to
590
Read
the
Standard
Event
Status
register
and
set
up
to
display
its
contents.
610
to
660
Read
a
value
from
the
error
queue
and
display
it,
until
the
queue
is
empty.
660
to
670
Clear
the
status
and
enable
the
interrupt
again.
10-12
Remote
Operation
-
Programming
Examples