coa-lab/assignment-1/supporting_files/program_templates/even-odd_template.asm

9 lines
183 B
NASM
Raw Normal View History

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