Write a program which for a square matrix to calculate the sum of the elements. Assume that the amount can be placed in 16-bit register
Example:
1 1 1
2 2 2
3 3 3
Elements are: 1,1, 2, which are with red color. I had calculate sum of this elements.
Please help me!!!