Gorf Posted January 5, 2010 Share Posted January 5, 2010 Any one have a decent efficient 6502 alg for 16 bit signed multiplies? Thanks. Quote Link to comment Share on other sites More sharing options...
GroovyBee Posted January 5, 2010 Share Posted January 5, 2010 Any one have a decent efficient 6502 alg for 16 bit signed multiplies? Discussion about 6502 multiplication here :- http://www.atariage.com/forums/topic/78839-russian-multiplication/ If you can find a copy of "Best of PCW Assembler Routines for the 6502" by David Barrow there is a 16x16 unsigned routine in there. You'd need to convert your input values to unsigned first. If you can't find the source code for the book online (its from 1985) I'll type it in. Quote Link to comment Share on other sites More sharing options...
Gorf Posted January 6, 2010 Author Share Posted January 6, 2010 Any one have a decent efficient 6502 alg for 16 bit signed multiplies? Discussion about 6502 multiplication here :- http://www.atariage.com/forums/topic/78839-russian-multiplication/ If you can find a copy of "Best of PCW Assembler Routines for the 6502" by David Barrow there is a 16x16 unsigned routine in there. You'd need to convert your input values to unsigned first. If you can't find the source code for the book online (its from 1985) I'll type it in. Turns out I dont need it..I found another way to handle the sign but thanks for the link. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.