coa-lab/assignment-1/supporting_files/program_templates/prime_template.asm

9 lines
177 B
NASM
Raw Normal View History

.data
a:
10
.text
// your code here to check if the number 'a' is prime. If yes, write 1 to x10. Else write -1.
// you may change the value of 'a'
// remove these comments!