Hacker News new | past | comments | ask | show | jobs | submit login
Z80 CPU Microprocessor Instant Reference Card (1981) [pdf] (ballyalley.com)
92 points by hggh 68 days ago | hide | past | favorite | 19 comments



On the one hand, the Z80 was indeed a CPU you could easily wrap your mind around, on the other hand, similar sheets exist for Intel chips (from the same author: https://vtda.org/docs/computing/MicroLogic/MicroLogic8086&80...), so maybe the differences between architectures aren't as stark as we like to think?

Having said that, I'm not sure how actually-useful this particular reference card is: huge hex conversion table, but no instruction timing chart?

Anyway... pure nostalgia caused me to go through an old Z80 assembly book just now ("Advanced Spectrum Machine Language"), and I found some code I wrote a good 35 years or so ago: https://ibb.co/fvqtwkQ

This was printed on thermal paper (not sure about the printer model: I don't think it was the original ZX Printer, as that used differently-sized paper), so sort-of impressed it survived that long (most printouts I had from that time long faded). As to why I wrote the code or what it does: I think it was to create an animated tape loading screen, but...


> no instruction timing chart?

Instruction timings are in the pink table on the left-hand side. For example, `ADC HL, BC; ED4A; H15` means that the instruction affects the flags as in row H and takes 15 cycles to execute.


Yeah, you're right, and I totally missed that on my first scan, probably due to being blinded by the huge hex conversion chart...


> so maybe the differences between architectures aren't as stark as we like to think?

The Z80 (designed by Federico Faggin and Masatoshi Shima - two of the 8080 designers) was designed to be binary compatible with the 8080 but more capable - so the architectures would have atleast started out very close.

> The Z80 CPU can execute 158 different instruction types including all 78 of the 8080A CPU

https://www.zilog.com/docs/z80/um0080.pdf


Well, the Z80 and 8086 are both de facto descendants of the 8080, so it makes sense that they'd be similar.


https://retrocomputingforum.com/t/micro-chart-cpu-reference-...

has a few more charts from the same publisher.



Shout out to the ZX Spectrum manual, which also included a list of Z80 opcodes.

https://worldofspectrum.org/ZXBasicManual/zxmanappa.html

For me, programming mostly involved typing in decimal opcodes using that as a reference. I did own an assembler at some point, but loading it from cassette got old quickly, especially as running my code would usually crash and reset the machine.


Also to the works of R.A.Penfold, such as "An Introduction To Z80 Machine Code": https://archive.org/details/an-introduction-to-z-80-machine-...


Looks great, and only £2.75! I think I somehow missed this one at the time.


Hmm, I recently found my old official “Zilog Z80 CPU Programmer’s Reference Guide” from October 1982. I thought I’d lost it. It was very much loved by my teenage self!


MOSTEK Z-80 Microcomputer System Micro-Reference Manual

https://photos.app.goo.gl/6uoeB82vA9vKzjvbA

I have had this for a very long time.


Yes, me too. I eventually put it in a little frame and have it on my desk.


Nice and compact! When I was writing a Z80 emulator I made heavy use of the tables in Sean Young's "The Undocumented Z80 Documented" [0] (chapters 8, 9 & 10). This 2-page reference card seems to contain just about everything in the document's 22 pages.

[0] https://www.smspower.org/uploads/Development/z80-documented....


I have a small collection of programming cards from the 70s & 80s. The most amusing one is the VAX-11, which is actually a booklet with 6 pages of instructions plus another whole page of addressing modes. Thankfully I never had to do any VAX assembly programming.


> 100% PLASTIC!

How times change.


How so? These are reference cards, so frequent use would be expected. I would also imagine that a great many of them would be carried around by their owners to review in their spare time. (I certainly did so in my younger days.) Their owners would expect them to be durable, to avoid things like the worn and splitting edges that are ever so common on paper products that see a lot of handling.

Keep in mind that these are things that people would set out to buy on their own. Plastic, or at least durability, is something the consumer would look for. They aren't something thrown into the box with an IC, where the vendor would do everything they could to reduce the cost.


Would have been useful 30 years ago when the Z80 manuals we had were falling apart.


Is this out of copyright?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: