Corresponding Include File (Test1.inc)

See the following listing for an example Test1.inc include file.

Listing: Separating Code into Modules - Test1.inc

         XREF AddSource
; The AddSource function adds the value stored in the variable

; Source to the contents of the D0 register. The result of the

; computation is stored in the Source variable.

;

; Input Parameter:  The D0 register contains the value that should be

;                   added to the Source variable.

; Output Parameter: Source contains the result of the addition.

         XREF Source

; The Source variable is a 1-byte variable.