flat assembler
Message board for the users of flat assembler.

Index > Main > Binary number to decimal ASCII string conversion

Goto page Previous  1, 2
Author
Thread Post new topic Reply to topic
roboman



Joined: 03 Dec 2006
Posts: 122
Location: USA
roboman
Any program that displays at least one number on the screen and you have more of a need to save a few clock cycles then a few bytes. Coming to mind is nearly any thing that displays changing numbers on the screen in real time (or game time) and will be run on a pc with more ram then you are going to use.

Thanks, very cool code, will have to add that to the collection.
Post 17 Mar 2007, 19:38
View user's profile Send private message Visit poster's website Reply with quote
Madis731



Joined: 25 Sep 2003
Posts: 2141
Location: Estonia
Madis731
Already used it, but I hope to make it use all the 64-bit features so I can save a few bytes Very Happy
Where can it be used is of course outputting numbers for users. Internally you don't need that, but you really need to show decimals to an average person who reads the outcome. My application was converting statistics to number format: A,5, B,3, etc.
the zeros can be removed by simple compare loop which is penalty-hungry when not taken care of, but can be fast.
Post 22 Mar 2007, 12:59
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:  
Goto page Previous  1, 2

< 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-2020, Tomasz Grysztar.

Powered by rwasa.