Jump to content
  • 0
Sign in to follow this  
DusanStrakl

Compile Assembly with cc65

Question

I am trying out cc65 and it seems the documentation is quite messy. So far I have no problem building C projects, also assembly with BASIC startup starting at $801 but I have difficulties building executable from assembly to be loadable into any arbitrary memory location. I know it is lazy way out but would prefer coding to reading documentation for few hours 🙂

Thanks,

Dusan

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hi,

This will do the trick (this is for loading / executing to 32768 and your code in yourfile.asm)

cl65 -t cx16 --start-addr 32768 yourfile.asm -C cx16-asm.cfg

Stefan

  • Like 3
  • Thanks 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

Please review our Terms of Use