Windows.


- 2


//

void main (void)

{

printf ("\nBefore adding third = %d\ third);

Add_Ext();

//

printf("\nAfter adding third = %d",third);

} // main

2.7. .

.MODEL MEDIUM ; MEDIUM

EXTRN first:WORD, second:WORD, third:WORD

.CODE ;

_Add_Ext PROC FAR ; FAR ()

mov AX, first ;

add AX, second ;

mov third, AX ; third

_Add_Ext ENDP ;

END ;

2.6 2.7 - first, second third. Add_Ext, first second third. , .