News for hackers. Stuff that matters.
Re:The 6502 microprocessor is 35 years old as of September 16th by mtkd on Friday September 17, 2010 @05:29AM (#1700549)
Did any peer chip have a mul in the late 70s/early 80s?
Re:The 6502 microprocessor is 35 years old as of September 16th by Someone on Friday September 17, 2010 @11:54AM (#1701555)
I vaguely remember that at least one version of the 6502 had half a mul instruction, that is, an attempt was made to add one, but it was buggy: it only worked for some multiplicands (ones without any neighboring one bits or something like that). That made for interesting programs, where, depending on the arguments one would compute a times b, b times a, a1 times b plus a2 times b for some a1 a2
Re:The 6502 microprocessor is 35 years old as of September 16th by jacquesm on Friday September 17, 2010 @05:33AM (#1700561)
6809 did 8x8 mul.
Re:The 6502 microprocessor is 35 years old as of September 16th by pietrofmaggi on Friday September 17, 2010 @05:43AM (#1700579)
6809 was one of the first to have a mul instruction, and was used in the initial development of the macintosh: http://www.folklore.org/StoryView.py?story=Good_Earth.txt
Re:The 6502 microprocessor is 35 years old as of September 16th by unwind on Friday September 17, 2010 @05:54AM (#1700594)
Awesome! In 11 clock cycle (not counting the set-up, i.e. loading the hardcoded source registers with the desired values).
Re:The 6502 microprocessor is 35 years old as of September 16th by mtkd on Friday September 17, 2010 @08:26AM (#1700864)
That's interesting, thanks, I remember writing my own on the Z80.