A while ago, Alan Cox write a G+ post pointing me to Easy 6502 by skilldrick. The last couple of weeks I finally found time to play with it:
It is a tutorial ebook by Nick Morgan with examples and a play ground based on the adapted JavaScript 6502 assembler and simulator right integrated into a github.io site.
From the perspective of learning assembly language to get a grasp of thinking at the lowest computer abstraction, it is an ideal tutorial: the 6502 is a very simple 8-bit processor with only 3 registers. These restrictions make programming fun.
These are the topics covered:
- Introduction
- Our first program
- Registers and flags
- Instructions
- Branching
- Addressing modes
- The stack
- Jumping
- Creating a game
This is what Alan thinks about it:
… some of the other 6502 tutorials
This one is really really neat – bit more basic than the bits I need to brush up on but really nicely done.
via: