Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- section .text
- global _start
- _start:
- mov edx, 1
- mov ecx, liczby-1
- mov esi, 10
- loo:
- inc ecx
- dec esi
- cmp esi, 0
- je koniec
- mov dil, byte[ecx]
- and dil, 1
- cmp dil, 1
- jne loo
- mov ebx, 1
- mov eax, 4
- int 0x80
- jmp loo
- koniec:
- mov eax, 1
- int 0x80
- section .data
- liczby db '1', '2', '3', '4', '5', '6', '7', '8', '9'
Advertisement
Add Comment
Please, Sign In to add comment