My teenaged self actually looked up Motorola in the phone book and called their offices asking for information on how to program their CPU. Some nice salesperson there took pity on me and sent me their 6809 reference manual along with a quick reference card for free. The manual was quite a sizable book that I wasn't fully ready to understand yet but that reference card was my constant companion. I still have it today. :-)
Sadly I couldn't find a good link to a quick reference card, but there are some copies of the CPU manual on https://archive.org/search?query=6809 . A Wikipedia site is nowhere near as good as a properly typeset and slightly grouped to convey clarity card, but it's still useful https://github.com/Ta0uf19/Motorola-6809-Cheatsheet
https://archive.org/details/Commodore_64_Programmers_Referen...
I used the 6502 manual. I was taking Machine Code in school at the time (tech school -not "proper" school), and had learned how to trawl the tech literature for guidance.