Talk:16-bit BCD: Difference between revisions

From NESdev Wiki
Jump to navigationJump to search
m (forgot ~~~~)
m (Undo revision 7786 by Blargg (talk))
 
(One intermediate revision by the same user not shown)
(No difference)

Latest revision as of 18:11, 25 November 2013

These kind of description of arithmetic stuff is useful. There might be useful to have a category for this. I also asking about a signed version, but I suppose such thing wouldn't be too difficult (print a minus sign and then XOR by 65535 and then add one, and then do it with unsigned). --Zzo38 (talk) 17:07, 24 August 2013 (MDT)

Good idea. I made Category:Arithmetic. You can probably populate it by going through the last week of Special:Contributions/Koitsu. --Tepples (talk) 17:30, 24 August 2013 (MDT)

I seem to remember optimizing this routine way back, at the very least to eliminate that unnecessary sec in the loop. Make it a clc, adjust the low table, and take the clc out of the loop since the bcc ensures it's clear each time through.Blargg (talk) 11:06, 25 November 2013 (MST)