Sample Programs
Appendix C
GPIB-1014P User Manual
C-8
© National Instruments Corporation
|
| * * * * * * * * * * * * * * * * * * * *
*
| * REMOTE ENABLE - REN*
| * * * * * * * * * * * * * * * * * * * *
*
|
| Summary:
|
- Set or clear GPIB Remote Enable signal
|
| Assumptions on entry:
|
- User specified sre is non-zero if REN is to be
|
asserted and is zero if REN is to be unasserted
|
- GPIB-1014P is System Controller and Active
|
Controller
|
| Actions:
|
- Check sre flag.
|
if non-zero (true) send REN else send clear REN
|
| Status on return:
|
- REN is asserted or unasserted
|
68000 Code
| Comments
-----------------------------------------------------------------------------------------------------------------------------------------------
|
REN:
tstb sre.L
| Turn on the REN signal if sre is non-zero
beq
REN1
|
movb #SREN,AUXMR.L
|
bra REN2
|
|
REN1: movb #CREN,AUXMR.L
| Else, turn off REN if sre is zero
|
REN2: rts |
|