I believe 6502 instruction set is a good first assembly language
nemanjatrifunovic.substack.com
I believe 6502 instruction set is a good first assembly language
1–10 of 297 posts
Re: I believe 6502 instruction set is a good first assembly language
#2Having worked with the 6809 series as well, it wouldn't be a bad choice either. The Freescale 68HC12 is still in production. Little systems with limited-yet-real I/O give the programmer very useful feedback.
Re: I believe 6502 instruction set is a good first assembly language
#3Still do, really, though I’m decades beyond wanting to write anything in assembly now.
Re: I believe 6502 instruction set is a good first assembly language
#4The problem was that Applesoft basic set the high bit on data going out a serial or parallel port which was a problem for printing and sending data out through a modem. So if you wanted to keep the high bit one had to use 6502 assembly.
Re: I believe 6502 instruction set is a good first assembly language
#5Re: I believe 6502 instruction set is a good first assembly language
#66502 and 680x0 were just a delight. I learned C (and later C++) solely because I couldn’t escape x86 anymore and hated assembly on those chips. Still do, really, though I’m decades beyond wanting to write anything in assembly now.
Main downside is that with 68K you're more likely to be loading your program into an OS rather than bare metal hardware, and have to deal with things like relocation.
Re: I believe 6502 instruction set is a good first assembly language
#7It's very utilitarian and most commonly just used for debugging and reverse engineering. So why would you waste time on the assembly language of a long-obsolete platform?
Plus, the best way to learn assembly is to experiment. Write some code in your favorite language and look at the intermediate assembler output, or peek under the hood with objdump or gdb. Try to make changes and see what happens. Yes, you can do that with an emulator of a vintage computer, but it's going to be harder. You need to learn the architecture of that computer, including all the hardware and ROM facilities the assembly is interacting with to do something as simple as putting text on the screen... and none of this is going to be even remotely applicable to Linux (or Windows) on x86-64.
Re: I believe 6502 instruction set is a good first assembly language
#8For me, it was Z80, just because Radio Shack had a book on it. I never actually built or programmed a Z80 system, but I still fall back on that knowledge when working with microcontrollers.
Re: I believe 6502 instruction set is a good first assembly language
#9Re: I believe 6502 instruction set is a good first assembly language
#10I wrote one in Swift a few years back, and then ended up developing it further into an NES emulator capable of playing Donkey Kong. It was a great learning experience.