;Thisprogram adds two positive integer numbers and stores the result. .8087 PAGE 60,132 .MODEL SMALL .STACK 32 ;---------------------------- .DATA ORG 00H INT1 DD -50000 ORG 10H INT2 DD 25000000 ORG 20H SUM DD ? ;---------------------------- .CODE START PROC FAR MOV AX,@DATA MOV DS,AX CALL ADD_INT MOV AH,4CH INT 21H START ENDP ;----------------------------- ;procedure to add two integers ADD_INT PROC NEAR FINIT ;initialize 8087 FILD INT1 ;load integer 1 onto stack FIADD INT2 ;add the second integer FIST SUM ;store result in SUM RET ADD_INT ENDP ;------------------------------ END START