Talk:16-bit BCD: Difference between revisions

From NESdev Wiki
Jump to navigationJump to search
(Created page with "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 woul...")
 
m (Undo revision 7786 by Blargg (talk))
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
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). --[[User:Zzo38|Zzo38]] ([[User talk:Zzo38|talk]]) 17:07, 24 August 2013 (MDT)
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). --[[User:Zzo38|Zzo38]] ([[User talk: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]]. --[[User:Tepples|Tepples]] ([[User talk: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.[[User:Blargg|Blargg]] ([[User talk:Blargg|talk]]) 11:06, 25 November 2013 (MST)

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)