2 ms·
There's always a pattern to the opcodes, even though in some cases it's not quite so obvious (like x86 - it's octal too). The reason has to do with how it's imp
by userbinator 13y ago
There's always a pattern to the opcodes, even though in some cases it's not quite so obvious (like x86 - it's octal too). The reason has to do with how it's implemented in hardware. The 6502's is only slightly less regular than the z80 and here's an interesting article about that: http://www.pagetable.com/?p=39 http://www.pagetable.com/?p=39
IMHO the switch would improve both style and performance, what caught my eye when I looked over the code was that different flags would require different amounts of time to execute, which really seems an odd thing for an emulator to do.