flat assembler
Message board for the users of flat assembler.

Index > Windows > Hex -> Decimal -> Hex

Author
Thread Post new topic Reply to topic
janib4all



Joined: 26 Nov 2004
Posts: 5
Location: Asia
janib4all 05 Dec 2004, 17:29
Hello! Every one!
you all assembly users know that we have to work with hex numbers!
some times we have to get data from user, but the numbers given by use are ASCII and we have to convert them to hex & do our work!
we usually write our own hex to decimal or decimal to hex routines, and it feels odd!
i used to make my own routines, but im bored!
and want to use windows services for this purpos or APIs, so is there any Window API thats convert HEX to DECIMAL or vice versa!
if yes so let me know it!
Post 05 Dec 2004, 17:29
View user's profile Send private message Visit poster's website MSN Messenger Reply with quote
Matrix



Joined: 04 Sep 2004
Posts: 1166
Location: Overflow
Matrix 05 Dec 2004, 19:07
Smile
i think its not a good idea but feel free to do so.
Post 05 Dec 2004, 19:07
View user's profile Send private message Visit poster's website Reply with quote
Madis731



Joined: 25 Sep 2003
Posts: 2139
Location: Estonia
Madis731 05 Dec 2004, 21:20
I strongly recommend you a macro so you can use it as easily as any API or if can't fit it in a macro - try procs - they'll be a lot faster and more convenient.
Try these and see how simple they are:
http://board.flatassembler.net/topic.php?p=15182#15182
http://board.flatassembler.net/topic.php?p=6376#6376
Post 05 Dec 2004, 21:20
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.