please dont rip this site

With leading zero removal

	push eax
	push ebx
	push esi
	sub	esp, 24h
	mov	eax, edx	; value
	mov	ebx, 10		; radix
	mov	esi, esp
		xor	edx, edx
		div	ebx
		mov	[esi], dl
		inc	esi
		.until eax==0
		dec	esi
		mov	al, [esi]
		add	al, '0'
		.until esi==esp
	add	esp, 24h
	pop	esi
	pop	ebx
	pop	eax
;OutBufDXasDecimal	ends

Without leading zero removal

dw2asc proc hnum:dword, strmem:ptr
;from electro_m23 at via Iczelion's Win32 Assembly Forum

	push edi
	mov edi,strmem
	mov ecx,28

	mov eax,hnum
	shr eax,ecx
	and al,0fh
	cmp al,10
	jb noneedforalpha
		add al,'a'-'0'-10
	add al,'0'
	sub ecx,4
	mov [edi],al
	inc edi
	cmp ecx,-4
	jg l1l1
	mov eax,strmem
	pop edi

file: /Techref/intel/32bit/math/b2a-32b10d.htm, 0KB, , updated: 2000/5/1 10:02, local time: 2024/4/21 17:54,

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF=""> intel 32bit math b2a-32b10d</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.

Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?


Welcome to!


Welcome to!