4 ms·
Another advantage of the Z80 if you ever want to assemble (or disassemble) programs manually is that its instruction encoding is very consistently arranged in a
by userbinator 11y ago
Another advantage of the Z80 if you ever want to assemble (or disassemble) programs manually is that its instruction encoding is very consistently arranged in an octal, 2-3-3 pattern:
http://www.z80.info/decoding.htm http://www.z80.info/decoding.htm
This design was likely influenced by the 8080/8085, and x86 followed the same organisation too:
http://reocities.com/SiliconValley/heights/7052/opcode.txt http://reocities.com/SiliconValley/heights/7052/opcode.txt
Due to how it decodes, the 6502 has a 3-3-2 pattern, which doesn't look quite as structured:
http://www.oxyron.de/html/opcodes02.html http://www.oxyron.de/html/opcodes02.html
http://www.llx.com/~nparker/a2/opcodes.html http://www.llx.com/~nparker/a2/opcodes.html
http://www.pagetable.com/?p=39 http://www.pagetable.com/?p=39
- pvg 11y agoNot likely but for sure - the Z80 was designed to be binary compatible with the 8080. Although I'm not sure it is that big a practical advantage, you start recognizing the instructions fairly quickly after staring at enough dumps.