325
N:\mkt\MANUALS\HP8924C\APPMOD\BOOK\chapters\amsrq.fb
Chapter 10, Controlling Program Flow
Controlling Program Flow Procedure
Cha
p
te
r 1
0
Contro
lling
Program
Flo
w
6. Define the program branch desired when an enabled interrupt occurs.
To cause the HPBASIC program to branch to a subprogram called "Service_Int" when an interrupt occurs, the
following command must be executed:
"ON INTR 7,15 CALL Service_int"
SUB Service_request! Handles and re-enables interrupt
!
!
ON INTR X, XX CALL Service_request
!
The number 7 is the Interface Select Code, and the
number 15 designates the priority (1-15, with 15
being the highest).
PROGRAM BODY
Содержание HP 8924C
Страница 21: ...Contents 21 N mkt MANUALS HP8924C APPMOD BOOK APPMOD TOC Table of Contents Index 351 ...
Страница 22: ...Contents 22 N mkt MANUALS HP8924C APPMOD BOOK APPMOD TOC ...
Страница 51: ...51 N mkt MANUALS HP8924C APPMOD BOOK chapters amcall fb Chapter 2 Setting Up a Call 2 Setting Up a Call ...
Страница 71: ...71 N mkt MANUALS HP8924C APPMOD BOOK chapters amrcvrt fb Chapter 3 CDMA Receiver Tests 3 CDMA Receiver Tests ...
Страница 139: ...139 N mkt MANUALS HP8924C APPMOD BOOK chapters amtxtst fb Chapter 4 CDMA Transmitter Tests 4 CDMA Transmitter Tests ...
Страница 199: ...199 N mkt MANUALS HP8924C APPMOD BOOK chapters amhoff fb Chapter 5 CDMA to Analog Handoff 5 CDMA to Analog Handoff ...
Страница 317: ...317 N mkt MANUALS HP8924C APPMOD BOOK chapters amsrq fb Chapter 10 Controlling Program Flow 10 Controlling Program Flow ...