Category : Assembly Language Source Code
Archive   : CODE32.ZIP
Filename : STRHTN.RT

 
Output of file : STRHTN.RT contained in archive : CODE32.ZIP
public _strhtn
;°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
; Get number from mem
; In:
; EDX -> ASCIIZ hex number string
; Out:
; EAX - number
;°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
_strhtn:
push bx
push edx
xor eax,eax
strhtnml:
mov bl,[edx]
inc edx
sub bl,'0'
jc short strhtnmld
cmp bl,0ah
jb short strhtnmlc
sub bl,('A'-'0')-10
strhtnmlc:
shl eax,4
or al,bl
jmp strhtnml
strhtnmld:
pop edx
pop bx
ret



  3 Responses to “Category : Assembly Language Source Code
Archive   : CODE32.ZIP
Filename : STRHTN.RT

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/