Displaying 1 result from an estimated 1 matches for "hexify_loop".
Did you mean:
hexify_loop1
2002 Aug 14
0
re: using mac-addr for selecting configfile now working
...,[MyIP]
+ mov cx,6 ; 6 nibbles in vendor part
of MAC
+ mov eax,[MyMAC1] ; 3 bytes vendor part of
MAC
+ xchg ah,al ; Convert to host byte
order
+ ror eax,16
+ xchg ah,al
+.hexify_loop1: rol eax,4
+ push eax
+ and al,0Fh
+ cmp al,10
+ jae .high1
+.low1: add al,'0'
+ jmp short .char1
+.high1: add al,'A'-10
+.char1: stosb
+ pop eax
+...