News for hackers. Stuff that matters.
Re:Intel x86 documentation has more pages than the 6502 has ... by ktRolster on Thursday December 08, 2016 @02:11AM (#13128898)
They're pretty complex. For example, the modern x86 (afaik) uses lookup tables to make multiplication faster. The 6502 didn't even have integer multiplication.
Re:Intel x86 documentation has more pages than the 6502 has ... by vidarh on Thursday December 08, 2016 @04:34AM (#13129328)
Yes, we rolled it ourselves with ASL's (Arithmentic Shift Left) and ADC's (ADd with Carry) and the like, typically hardcoding it if we knew one of the operands. Particularly fun with pretty much always having to be prepared to deal with overflow since the registers are only 8 bit. I love the 6502, but I can't say I miss that part.