Comment

Comment by zabzonk

A few thoughts:

> the complexity of some instructions (e.g. DJNZ)

Well, of course the idea of DJNZ was to implement a very common pattern (decrement a register and jump (normally backwards) if the result was not zero) - this tended to simplify code rather than make it more complex.

> However I couldn't keep all instructions and timings in my head.

I was never really interested in the timings, but I did get to the stage (not by conscious memorisation) of being able to assemble and disassemble Z80 code in my head, with some accuracy.

> I preferred, however, the fact that I/O was memory mapped on the 6502.

Many (most?) Z80 systems used memory mapped I/O. It's down to the hardware designer.

parent zabzonk 6 months ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton