atari 2600 ca65 example
Stella Programmer's guide
https://atariage.com/2600/programming/2600_101/docs/stella.html
This actually explains the inputs and outputs for each opcode:
https://www.dwheeler.com/6502/oneelkruns/6502sum.html
'sta $80, x' adds the $80 with the x register, loads that into the accumulator.
ca65 Users Guide (how to format assembly, create variables):
http://www.cc65.org/doc/ca65.html
Stella Emulator guide:
https://stella-emu.github.io/docs/index.html
Press backtick ` to enter debug mode, annoyingly it toggles so pressing it usually turns the debug mode on and off very rapidly.