Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- xor rax,rax;
- mov eax, 6 ;
- mov ecx, 1 ;
- loop:
- cmp ecx, 6
- jbe end_loop ; ecx >= bufor
- xor edx ,edx ;
- mov eax, 6
- div ecx ; div dla edi
- cmp edx, 0
- je not_prime
- inc ecx ; i++
- jmp loop_for
- mov ecx, 1 ;
- loop:
- cmp ecx, 6
- jbe end_loop ; ecx >= bufor
- ecx = 1;
- do {
- if (ecx <= 6) goto end_loop;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement