(%25) Write an assembly language program, which uses the data segment below to perform the calculation of C according to the following formula.
$\frac{max(X)^2 + min(X)^2}{max(X) - min(X)}$
Note that, $max(X)$ and $min(X)$ are the maximum and minimum signed numbers in the array X respectively. Ignore the remainder in division operation.
.DATA
S DB 10 ; array size
X DB -47, +65, -38, +42, -19, +40, -82, -83, +17, -38
C DB ? ; ignore the remainder