D.4.2.1 A Sample Program for Header and Linkage Block This section gives an example uf Uhe Header and Linkage Block in a typical DSR. The syntax of DX10 Assembler is obeyed in this program. DX10 Assembler Language is similar to, but not identical with, the TI Editor/Assembler. Infurmation on the language can be found in the 9900 Family Design Book. Sample Program Showing DSR Header Format RORG >4000 start of DSR BYTE >AA telling console this is a valid DSR BYTE 1 version number, always 1 DAIA U not used in DSR calls; leave it 0 DATA PWRLNK Power-up Routines* Link. PWRLNK is replaced by 0 if power-up set is not necessary DATA 0 not used in DSR calls; leave it 0 DATA DSRLNK DSR tink; can't be 0 here DATA 0 not used in DSR calls; leave it 0 DATA INTLNK Interrupt Routine's Link. INTLNK 1s replaced by 0 if interrupt is not used DATA 0 not used in DSR calls; leave it 0 * *k* This Power-up Routine can be omitted if power-up * *** initialization is not necessary for this peripheral 6 o PWRLNK DATA 0 linkage, set to 0 DATA PWRUP entry point of power-up routine BYTE 0 name lenaths set to 0 EVEN PWRUP . entry of power-up rouline B *R11 return to console software through R11, if it is not destroyed * eek This Interrupt Routine can be omitted if Interrupt * xk Request is never issued by this peripheral * INTLNK DATA 0 linkage; set to U DATA INTDSR entry point of the Interrupt Routine BYTE 0 name length; set to 0 EVEN 5A —_— ——