Jump to content
IGNORED

16 bit signed multiply for 6502?


Gorf

Recommended Posts

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.

Link to comment
Share on other sites

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. :)

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...