Files
projectEuler/sumSquareDifference/main.s

15 lines
240 B
ArmAsm

.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