How can I convert string to decimal then to hex or directly to hex?

e.g.
"22" => 22 => 016h  or  "22" => 016h
"8" => 8 => 08h  or  "8" = 8h

Any ideas?
Posted on 2005-05-03 09:05:35 by audioman
Did you search the board? Tsk, tsk, tsk... :roll:
Posted on 2005-05-03 18:57:05 by QvasiModo
A couple of links - the first one from the FAQ, the second from the board search...

http://www.asmcommunity.net/board/index.php?topic=2358
http://www.asmcommunity.net/board/index.php?topic=17763
Posted on 2005-05-04 10:35:25 by f0dder