Added new problem - problem 6
parent
e58f763ac4
commit
83a790d4cd
@ -0,0 +1,14 @@
|
|||||||
|
.global func
|
||||||
|
.section .text
|
||||||
|
|
||||||
|
func: @ Find the difference between the sum of the squares and the square of the sum, for the first hundred numbers.
|
||||||
|
@ (a^2+b^2) = a^2 + b^2 + 2ab
|
||||||
|
@ Therefore, the difference must be 2ab
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
.section .data
|
Loading…
Reference in New Issue