Page 1 of 1

ASM absolutely located

PostPosted: Thu May 28, 2020 7:09 pm
by Jorgef
Hi

After a long period away I'm back to PICs, maybe...

How can I manage to write an absolutelly located ASM program, using XC8.
It looks like mpasm is no longer available on 64 bits OSs



UBUNTU 18.04 LTS
MPLABX 5,35
PIC16LF18324
XC8 1,36
MCC.... better forget it, crashes 80% of the time


Thank you

Re: ASM absolutely located

PostPosted: Fri May 29, 2020 11:04 am
by vloki
My MPLABX 5.35 (Windows installation) seems to have MPASMX version 5.87
and the 16F18324 is listed in the Supported Device List.

MPASMX can be selcted when creating a new project for that PIC.

In my MPLABX 5.40 installation the is no mpasm,
but it seems to be possible to select one from older versions

Re: ASM absolutely located

PostPosted: Fri May 29, 2020 7:29 pm
by Jorgef
Hi

Yes, I have MPASMX 5,87 installed, but, besides the warning I mentioned earlier, it also doesn't build.
I think it doesn't because of the makefile, but I decided not to go under that hood.
Meanwhile I dedicated some time to dig documentation and examples on how to do it with XC8, and after same time studying the beast, I get to build some sample code. But was unable to make the accept a user defined psect, necessary to force the location of the code were I want it.
Instead of spending more time digging around the idiosyncrasies of the XC8 / pic-as thing, I installed MPLABX 4.20 and I'm up and running with the good old mpasm.

Thank you for the help.