I just need to say this, please leave the 65816 out of this, because I hate how every technical thread always has to turn into a stupid snes vs genesis war thread.
I've seen a few comparison charts comparing the 6809 to the 68000, and they always make the 68000 look vastly superior to the 6809, then they give a reason why there is such a big difference, and that "reason why" they give always have some very obvious problems to me.
First of all, why do they always compare 32-bit operations? In real programming, 16-bit and 8-bit operations are much more useful because their the more optimal than 32-bit. The only reason why the 6809 sucks at 32-bit operations is simply because it doesn't support any 32-bit registers. If they compare 16-bit operations and 8-bit operations the 6809 would be much faster on charts, and it will be a lot more accurate since 8-bit and 16-bit operations are used much more often than 32-bit.
Secondly, when benchmarking math operations such as add and subtract, they usually compare register to register addition on the 68000 to memory to memory addition on the 6809. Why do they do that, I just don't know? The thing about memory to memory math on the 6809 is that it is actually takes 3 opcodes to do: load accumulator, add accumulator, store accumulator. What if I only need to add something with the value already in the accumulator? What if I'm manipulating the same register twice in a row and so need to store back and then reload it? Then I don't need to use 3 instructions to perform adds to register values. So after all, that makes the 6809 appear slower than it really is.
Instead of using memory to memory adds to benchmark the 68000 the way they do for the 6809, they usually use register to register adds to benchmark the 68000 instead. Sure it can take up a little amount of cycles when your doing register to register, but you'll always are going to need to use external memory values sometime eventually. The memory to register adds are much slower than register to register adds so that makes 68000 appear faster on charts than it actually is.
I've seen a few comparison charts comparing the 6809 to the 68000, and they always make the 68000 look vastly superior to the 6809, then they give a reason why there is such a big difference, and that "reason why" they give always have some very obvious problems to me.
First of all, why do they always compare 32-bit operations? In real programming, 16-bit and 8-bit operations are much more useful because their the more optimal than 32-bit. The only reason why the 6809 sucks at 32-bit operations is simply because it doesn't support any 32-bit registers. If they compare 16-bit operations and 8-bit operations the 6809 would be much faster on charts, and it will be a lot more accurate since 8-bit and 16-bit operations are used much more often than 32-bit.
Secondly, when benchmarking math operations such as add and subtract, they usually compare register to register addition on the 68000 to memory to memory addition on the 6809. Why do they do that, I just don't know? The thing about memory to memory math on the 6809 is that it is actually takes 3 opcodes to do: load accumulator, add accumulator, store accumulator. What if I only need to add something with the value already in the accumulator? What if I'm manipulating the same register twice in a row and so need to store back and then reload it? Then I don't need to use 3 instructions to perform adds to register values. So after all, that makes the 6809 appear slower than it really is.
Instead of using memory to memory adds to benchmark the 68000 the way they do for the 6809, they usually use register to register adds to benchmark the 68000 instead. Sure it can take up a little amount of cycles when your doing register to register, but you'll always are going to need to use external memory values sometime eventually. The memory to register adds are much slower than register to register adds so that makes 68000 appear faster on charts than it actually is.