3 ms·
What is this "LD A, 0" syntax? Is it a z80 thing? On the 6502 you had three instructions LDA, LDX, LDY where the register name is essentially part of the instr
by jgrahamc 10mo ago
What is this "LD A, 0" syntax? Is it a z80 thing?
On the 6502 you had three instructions LDA, LDX, LDY where the register name is essentially part of the instruction name. On the Z80 you had a lot of "load" instruction so you had LD and then many different operands: loading 8-bit registers, loading 16-bit, writing to memory, reading from memory, reading/writing from memory using a register as an index. So, made more sense on Z80 to have "LD" whereas LDA/LDX/LDY worked fine on 6502.