GAS vs PASM
kuroneko
Posts: 3,623
How do I convince GAS (or whoever is finally responsible) to actually put cog addresses into the table which has to be at this location.
Right now all I get is cog_addr * 4, adding a /4 throws an error.
LOOP call #READ_CMD and cmsk, mailbox max cmsk, #9 '' avoid overflow (optional if frontend handles it) add jump, cmsk mov cmsk, spiFuncBits '' restore mask (spiFuncBits == SPI_FUNC_BITS) jump jmpret jump, table [COLOR="#FF0000"]table long SEND, READ, SEND_fast, READ_fast, read_sector long SET_MODE, SET_bitMode, SET_FREQ, GET_FREQ long LOOP[/color] '' catch all (optional if frontend handles it) cmsk long SPI_FUNC_BITS
Right now all I get is cog_addr * 4, adding a /4 throws an error.
Comments
For older assemblers, like the one that ships with simpleIDE, the directive is ".cog_ram" and it's not nearly as reliable (or PASM like).
Looking forward to the .pasm directive. Sounds like it could be a great improvement!
Great that's exactly what I was hoping for. I'll go ahead and rebuild PropWare's Linux PropGCC release based on the default branch instead of release_1_0. Time to give cross-compiling a try as well it seems so that our Windows/Mac users aren't lagging behind.
I have no experience with any of the XMM modes (no supporting hardware currently). Do you see your above comments posing a problem for what is supposed to be a portable and robust build system that is hopefully compatible with as many different existing projects as possible?
It certainly isn't the end of the world if a few people have issues. PropWare does allow for multiple installations of PropGCC and each project (or all PropWare projects) can select whichever one they please - they don't have to use PropWare's default version.
Custom XMM driver? Doesn't sound like an issue for 99% of users.
Great! I'll give it a try on my Quickstart then. That will be very cool
Thank you for finding that... jmpret $, #$+1 worked, but we weren't processing non-immediate source registers (and for that matter destinations). I've checked in a fix for that.
Regards,
Eric