Z80 vs 6502 - Stepping Stone?

Subjects related to all or many CPU's... such as issues relating to multi-CPU Linkers and assemblers like VASM, Source editors like Notepad++ etc
If your post is relating to an emulator, post in that platforms post (eg CPC for Winape)
Post Reply
JohnnyRockets
Posts: 4
Joined: Mon Feb 17, 2020 11:27 pm

Z80 vs 6502 - Stepping Stone?

Post by JohnnyRockets » Wed Feb 19, 2020 12:21 am

Hi all,

Super new here! This is my second post. Hope I asked in the right spot!

My ultimate goal is to program for the Commodore PET series of computers and maybe jump to the C64 eventually... but we'll see.

I'm trying to decide if it makes more sense to learn Z80 and then 6502?

Question:
Is one processor a "stepping stone" for the other, as in is one processor definitely easier to learn for a relative newbie?


Thanks a lot! :-)


JR

User avatar
akuyou
Posts: 380
Joined: Mon Apr 22, 2019 3:19 am
Contact:

Re: Z80 vs 6502 - Stepping Stone?

Post by akuyou » Wed Feb 19, 2020 3:09 am

if you're interested in 6502, then I'd go straight for 6502 - the Z80 is quite different, and while some knowledge may be transferable, much will not and you'll just be learning things you don't need now.

For example:
Z80 has lots of registers, relocatable stack.
6502 has lots of addressing modes, Zero page, fixed stack.

If you had never done any programming before, and may struggle with things like variables, arrays, mathematics, I'd maybe suggest you tried Basic, Java or C first... but I see from your other post you've done programming before - so It's not relevant to you.

You mentioned you've done 68000, and maybe you'd like to do it again... in that case, If you were really struggling with starting with 6502, then 68000 is easier, due to the extra registers and functionality - so starting on 68000 and moving to 6502 would make more sense than Z80->6502 for you.

Of course I've got lots of tutorials on 6502 I hope will help you, but it's worth checking out 'Easy6502' as well... it's web based, and may help if you're looking for a way to get started with the language easily as it's web based
https://skilldrick.github.io/easy6502/
Chibi Akuma(s) Comedy-Horror 8-bit Bullet Hell shooter! // 「チビ悪魔」可笑しいゴシックSTG ! // Work in Progress: ChibiAliens

Interested in CPU's :Z80,6502,68000,6809,ARM,8086,RISC-V
Learning: 65816,ARM,8086,6809

JohnnyRockets
Posts: 4
Joined: Mon Feb 17, 2020 11:27 pm

Re: Z80 vs 6502 - Stepping Stone?

Post by JohnnyRockets » Thu Feb 20, 2020 12:16 am

Thank you!

That is a great idea!

I'll stick with 6502 and will look at that website, it sounds very promising!


JR

Post Reply

Return to “General Assembly Programming”