Project euler #1 in assembly