Image stolen from @pulplibrarian on twitter.
I had this book as a kid. I couldn't afford an assembler so I had to write in machine code by hand assembly.
Just like the picture I'd write the operators on the left and convert it to decimal.
E.g loading the accumulator wasLDA 42 = 169,42
I had a 6510 not a 6502 but they were pretty close. Clearly the picture is not 6502 because 0x3E is ISC not LDA and LDB is not ASL.
The fourth opcode is probably STA.
The spacing bugged me too. It's actually Z80 machine code. Z80 have it has LD A while 6502 is LDA
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!