Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;--------------------------------
- ;isodd(1)/1
- ;Check if odd number
- ;--------------------------------
- ;push1 : Number to check
- ;--------------------------------
- ;Ret : 0 if no. 1 if yes
- ;Note :
- ;--------------------------------
- align 4
- isodd:
- mov eax,[esp+4]
- and eax, 1
- ret 4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement