clarify the purpose of this project
[nyanglibc.git] / stdlib / div.s
blob7d8a99fa6629fe332176f2dea0764a60f58b3b8a
1 .text
2 .p2align 4,,15
3 .globl div
4 .type div, @function
5 div:
6 movl %edi, %eax
7 cltd
8 idivl %esi
9 salq $32, %rdx
10 movl %eax, %eax
11 orq %rdx, %rax
12 ret
13 .size div, .-div