ludoVIC wrote: ↑Wed Jan 20, 2021 9:43 am
It seems that the only book currently available at a reasonable price is "Programming the 65816 including the 6502, 65C02, and 65802".
Does anybody have a direct experience with it?
Might it be useful to systematically learn the 6502 asm, or is it more like a reference for later?
It is definitely the best 65xx programming manual available, and a must-have for every 65xx programmer! It starts with the basics, followed by architecture, the CMOS 65c02's many improvements over the original NMOS 6502 including added instructions and addressing modes and fixing the NMOS's bugs and quirks, and then the natural progression to the 65816; a thorough tutorial, writing applications, then very detailed and diagrammed information on all 34 addressing modes, at least a page of very detailed description for each instruction, with info on every addressing mode available for that instruction, then instruction lists, tables, and groups, of all 255 active op codes, plus more. 469 pages. From Western Design Center. (.pdf) Note: There were many problems with the earlier .pdf version that were not in the original paper manual; but in late March 2015, WDC scanned and OCR'ed the paper manual and posted the new, repaired .pdf.
Leventhal's is also very good if you're limiting yourself to the NMOS 6502, ie, not having the extra instructions and addressing modes of the CMOS 65c02 let alone the 65816.