Professional Documents
Culture Documents
SUM OF CUBES OF FIRST æNÆ NUMBERS
SUM OF CUBES OF FIRST æNÆ NUMBERS
Registers: - AL, CL
Ports:- None.
DATA SEGMENT
NUM DB ?
SUM DB 1 DUP(0)
DATA ENDS
CODE SEGMENT
CODE ENDS
END START
Result: Sum of cubes of first ‘n’ natural numbers is obtained