Re: Assy question

From: Robin Harbron (macbeth_at_psw.nu)
Date: 2001-03-17 16:59:36

> > that I saw a program using the decimal mode. Question out of curiousity:
> > does anybody know circumstances where it is better to use the decimal mode
> > above the binary?

I prefer to use the decimal mode whenever the number I'm
working with is meant to be printed out on the screen in
decimal - for example, displaying the score in a game. In
my experiments (of course, someone may be able to code more
efficiently than me ;) it becomes much more efficient to
print out a multi-byte BCD number in decimal than to convert
a multi-byte binary number to decimal.
-- 
Robin Harbron   macbeth@psw.nu
http://www.tbaytel.net/macbeth
      http://www.psw.nu/
-
This message was sent through the cbm-hackers mailing list.
To unsubscribe: echo unsubscribe | mail cbm-hackers-request@dot.tml.hut.fi.

Archive generated by hypermail 2.1.1.