SUM OF SQUARES OF FIRST ‘N’ NUMBERS
Aim: - To write an assembly language program to find sum of squares of given ‘n’ numbers.
MOV CL, NUM
MOV SUM, 00
L1: MOV AL, CL
, SUM AL
Result: Sum of squares of first ‘n’ natural numbers is obtained.