Keithley IE-488 Manual page 40

Table of Contents

Advertisement

GPIB
IEEE488
MANUAL
ASSEMBLY
LANGUAGE
LINK
;------------------
SET"P
STACK
AND
EXECUTE
COMMAND
------------
IE488:
MOV SI,OFFSET VARIABLE 1
-
PUSH [SII
PUSH [SI+21
PUSH [SI+41
PUSH [SI+6]
CALL DWORD IE488-ROM-SEG
i
get pointers
i
put on stack
i'
var'#2
i
ready
to exec
call
device
driver
RETURN:
CMP RTN FLAG,00
;any errors
on return
?
JNE ERRSR HANDLER
;exit
to error
handler
. . . . continue
iisers
program
. . . . . .
There
is
also
available
an assembly
language
macro
library
for
the
IEEE488
interface
board
which
allows
the
use
of
MACRO's
similar
to the
Basic
CALL statement
for
all
the commands.
This
IEEE488
MACRO library
allows
the
user
to
link
to
fortran
and
assembly
language
with
simple
easy
to
understand
english
language.
Page 34

Advertisement

Table of Contents
loading

Table of Contents