1) Convert a decimal number to hex.
I dont know how to convert decimal to hex. I just input a number but i have no clue how to start next. Any help is appreciated.
TITLE
include irvine32.inc
.data
a dword ?
b dword ?
final dword ?
count dword 0
prompt1 byte ,'Enter a number',0
.code
main PROC
mov edx,offset prompt1
call writestring
call readint
mov a,eax
main ENDP
END main