Celebrating the SCM for untangling 8080 and Z80 syntax

146 views
Skip to first unread message

James Harland

unread,
Nov 9, 2025, 7:32:59 AMNov 9
to RC2014-Z80
Hi everyone, 

This is not a query, just a quiet celebration of the usefulness of the Small Computer Monitor. So today I've been working through the Leventhal 8080/8085 book, and getting some of the sample routines from there working on my Soviet Microtrainer (functionally identical with the Hewlett Packard 5036A). 

So things were going great, but I was worried that I was going to muddle up my Z80 learning with all the different acronyms in 8080. But SCM to the rescue! I realized I can enter the same hex code on the RC2014 as I have been doing on my 8080 machine, then simply use the D(isassemble) function to see the Z80 syntax for the same operations.

So now I'm happily going through this workflow, and revising my knowledge of Z80 syntax, whilst also putting the RC2014 through its machine code paces.

So thanks again to Spencer for putting this lovely combination of hardware and software together!

James

James Harland

unread,
Nov 9, 2025, 8:33:39 AMNov 9
to RC2014-Z80
I now see that Leventhal made an almost identical book for the Z80, and the sample programs are also the same, so I can check to see how the conversion went there too!

Spencer Owen

unread,
Nov 9, 2025, 9:29:58 AMNov 9
to rc201...@googlegroups.com
Hi James,

The Leventhal books are great. Well, I don't have the 8080 one, but the Z80 one is great. My go-to book though is Programming The Z80 by Rodnay Zaks, so that might be worth looking out for.

Thanks for the compliments on the hardware. I can't take credit for the software though. The SC in Small Computer Monitor also stands for Steve Cousins. So any thanks must go to him too.

Spencer

--
You received this message because you are subscribed to the Google Groups "RC2014-Z80" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rc2014-z80+...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/rc2014-z80/ff836ba3-b3bf-41cb-a89b-9070db59469an%40googlegroups.com.

Alan Cox

unread,
Nov 9, 2025, 1:01:31 PMNov 9
to rc201...@googlegroups.com
On Sun, 9 Nov 2025 at 13:33, James Harland <harla...@gmail.com> wrote:
I now see that Leventhal made an almost identical book for the Z80, and the sample programs are also the same, so I can check to see how the conversion went there too!

The same is true for most of the other books. Leventhal wrote one good book then ported it which actually makes it very handy as a set of cross references.

There's an 8080 | Z80 chart here

 

Michelle Lawson

unread,
Nov 9, 2025, 2:01:53 PMNov 9
to RC2014-Z80
Interesting tool. Given the 'disclaimer', the fact that that page could go away as well, and since I'm always looking for some code to write, I'm thinking about writing a program that would allow me to search on a mnemonic, or a machine code value, or <whatever>, and then have it display the whole line of data from that page. If anyone might be interested in using it once I write it, you are sure welcome to it. I will also list the webpage and credits in the program as well.

Phillip Stevens

unread,
Nov 10, 2025, 1:36:49 AMNov 10
to RC2014-Z80
On Sunday, 9 November 2025 at 20:32:59 UTC+8 James Harland wrote:
So things were going great, but I was worried that I was going to muddle up my Z80 learning with all the different acronyms in 8080. But SCM to the rescue! I realized I can enter the same hex code on the RC2014 as I have been doing on my 8080 machine, then simply use the D(isassemble) function to see the Z80 syntax for the same operations.

If you’re interested in 8080/8085, there’s actually 8085 Module for the RC2014 Pro or Classic. And it supports all the standard RC2014 Modules, because it has a Z80 bus interface. There’s also a BASIC and a CP/M available for it.

I’m AFK mainly, so currently you can order PCBs directly from Seeed Studio.

I use the z88dk assembler for cross assembly. It understands both Intel and Zilog interchangeably. And can produce code for either (plus a lot of other machines too). For learning purposes there is a “strict” mode that turns off all the synthetic code generation and undocumented instructions, which are useful otherwise for unifying code.

The complete list of operations and codes is here.
As a useful reference across all the 8080/Z80 derivatives.

Cheers, Phillip

James Harland

unread,
Nov 10, 2025, 4:57:37 AMNov 10
to RC2014-Z80
That chart is really useful, thank you! 

James Harland

unread,
Nov 10, 2025, 4:58:19 AMNov 10
to RC2014-Z80
I'd certainly be interested once you have it up and running, thanks!

James Harland

unread,
Nov 10, 2025, 5:05:31 AMNov 10
to RC2014-Z80
Having installed and got used to using a separate 8080 assembler at the weekend, I did wonder if there were one which could do both at the same time. I'll certainly check out z88dk, thanks for the recommendation! The extra 8085 board looks cool!

Peter Onion

unread,
Nov 10, 2025, 5:25:27 AMNov 10
to RC2014-Z80
If you want to go "old school", then M80 and L80 are one way.  I used them exclusively  back in the 1980s so I have a nostalgic attachment to them.
I've also just come across ZSM (while fixing my problems with qterm), which has a pretty neat "driver" called ZC which will selectively assemble source .Z files depending on the presence of a .BAK file, so it only rebuilds files that have been edited since last run.  It does however then delete the .BAK files so there's no "going back" if it all goes wrong.
PeterO  

David Lochlin

unread,
Nov 10, 2025, 8:40:12 AMNov 10
to RC2014-Z80
Here's a link to a pdf copy of the Rodney Zaks book.
https://archive.org/details/ptz80/mode/2up?q=programming+the+z80

Dave

Ed Silky

unread,
Nov 10, 2025, 12:32:40 PMNov 10
to rc201...@googlegroups.com
Thanks Dave. I used to have a copy of this book, thanks for the link. I did a lot of Z80 programming in the '70s/'80s, so my Programming Manual (from Zilog) is well-worn and dogeared (still in my bookshelf), but it is nice to have an alternate text to review from time to time.

-Ed 
Reply all
Reply to author
Forward
0 new messages