Good Way to Learn Assembly Language
1–5 of 5 posts
Re: Good Way to Learn Assembly Language
#2Re: Good Way to Learn Assembly Language
#3By the time you have a simple working chess program that couldn't beat a child you have learned everything you need to know about a programming language. You have to write an algorithm, handle input, handle fancy output, etc.
This is the first program I write whenever I start on a new programming language. I know WHAT I want to do, I just don't know HOW to do it in the new language.
Re: Good Way to Learn Assembly Language
#4Write a simple chess program. The rules are easy but require some thought. Displaying a board is easy but requires some thought. Writing an alpha-beta search is easy but requires some thought. By the time you have a simple working chess program that couldn't beat a child you have learned everything you need to know about a programming language. You have to write an algorithm, handle input, handle fancy output, etc. T…
Re: Good Way to Learn Assembly Language
#5When I hit later multi-user operating systems Like UNIX, Linux and Windows I discovered that I wasn't able to access the bare-metal like I was used-to previously.
That's when I started using slightly higher-level languages like C, etc.
My suggestion: Pick a fairly simple 8-bit CPU like the 8080/Z80 to start with. Find a CP/M emulator. CP/M has several different assemblers ranging from the simple ASM to a macro-assembler MAC to a relocatable macro-assembler M80.
You will find lots of small programs on the CP/M archive sites to pull apart, play with or re-write.
Then progress to 16-bit assembly under MSDOS. Once again, there are plenty of websites with ASM files to look at, analyse and rewrite.
After that, you should have a good idea yourself as where you should need to go next.