Sample Program (continued) INTDSR . entry of interrupt routine: . IF interrupt request from this peripheral = true THEN begin interrupt service; reset interrupt request; GOTO INTEND f END i ELSE GOTO INTEND INTEND B *R11 return to console software through R1i, j if it is not destroyed i * : * *** Main Device Service Routine. Assuming three devices, i a *** with names UEViCE, DEVICE/1, DEVICE/2, are * *** supported in this peripheral. * OSRLNK DATA DSRLK2 linkage to next device field i DATA ENTRY1 entry point of Ist device i BYTE 6 name length of Ist device ‘ TEXT ‘DEVICE! name nf ist device EVEN DSRLK2 DATA DSRLK3 linkage to next device field DATA ENTRY2 entry point of 2nd device ~ i BYTE 8 name length of 2nd device TEXT 'DEVICE/1' name of 2nd device 4 EVEN 4 DSRLK3 DATA 0 linkaye Lu next device Tieid (none) i DATA ENTRY3 entry point of 3rd device i BYTE 8 neme length of 3rd device : TEXT "DFVIC/2# name of 3rd device | EVEN ) ENIRYL : entry of Ist device servicing i i} ENTRY2 : entry of 2nd device servicing ENTRY3 : entry of 3rd device serviciny EXIT INCT R11 return tn cansole software through B *RIL * Ril, if it is not destroyed 55