Convert a dword to a hexadecimal ASCIIZ string.
The destination buffer must be at least 9 bytes. 8 for the hexadecimal characters and 1 for the null terminated ASCIIZ string. (range 00000000..FFFFFFFF)
If the destination pointer does not provide a segment register, ES is assumed.
If a Code Label is provided for the destination pointer, then CS is assumed.
Examples:
DWordToHex es:di, dx:ax ; convert dx:ax word pair to hex, store ; at es:di DWordToHex di, cx:bx ; convert cx:bx word pair to hex, store ; at es:di DWordToHex ds:si, dx:ax ; convert dx:ax word pair to hex, store ; at ds:si DWordToHex MY_BUF, bx:cx ; convert bx:cx word pair to hex, store ; at cs:MY_BUF DWordToHex MY_BUF, [si] ; convert dword at [ds:si] to hex, store ; at memory location cs:MY_BUF