Untitled
Posted on March 6, 2010, 9:21 pm UTC anonymously (about 1 year ago)Code (highlighted for ASM)
- dtoa:
- mov bp,sp
- mov ax,[bp+0x02]
- xor ch,ch
- mov cl,10
- xor ax,ax
- dwhile:
- mov dx,0
- div cx
- add dl,0x30
- push ax
- add ax,dx
- pop ax
- cmp ax,0x00
- jne dwhile
- ret 2