You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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