Assembling

13 views
Skip to first unread message

vasi vasi

unread,
Apr 16, 2024, 5:02:47 AMApr 16
to jal...@googlegroups.com
Can jalv2 generate a hex file from its own (generated) asm file if provided with only that?

--
Vasi

Rob CJ

unread,
Apr 16, 2024, 6:27:31 AMApr 16
to jal...@googlegroups.com
Hi Vasi,

I think not but you should be able to  create a hexfile using the mplabx assembler since the syntax should be correct.

Met vriendelijke groet,
Rob Jansen

From: jal...@googlegroups.com <jal...@googlegroups.com> on behalf of vasi vasi <fun...@gmail.com>
Sent: Tuesday, April 16, 2024 11:02:33 AM
To: jal...@googlegroups.com <jal...@googlegroups.com>
Subject: [jallib] Assembling
 
Can jalv2 generate a hex file from its own (generated) asm file if provided with only that?

--
Vasi

--
You received this message because you are subscribed to the Google Groups "jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jallib+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jallib/CABsDq%3D-u1tFwiCh5oBtK-6Hdh%3DsZQ0gP4j8KD2GQAyotsdh%2BQQ%40mail.gmail.com.

vasi vasi

unread,
Apr 16, 2024, 7:12:05 AMApr 16
to jal...@googlegroups.com
Thank you Rob, but which mplabx assembler? The standalone version (which is available also for Linux) is from 2015. You know that the support is hardcoded... I mean, you can't use that old version by simply adding inc and lkr files... It doesn't work like jal :(



--
Vasi

evan....@googlemail.com

unread,
Apr 16, 2024, 8:26:32 AMApr 16
to jallib
Vasi,

If you selected PIC is a legacy chip then download the MPASM I have uploaded to the GCBASIC file tab on SourceForge.  If you have a newer chip ( therefore not supported by MPASM ) then you could just install PIC-AS but you will have to make the ASM PIC-AS compliant ( a .S file ).

There seems to be a demand for a standalone assembler.  If I had more time I would enable in GCBASIC ( but, not enough hours in the day!  as I am always on vacation! )

:-)

vsurducan

unread,
Apr 16, 2024, 9:35:12 AMApr 16
to jal...@googlegroups.com
Vasi, from assembler to hex it is a painful operation. Asm file created by jal will probably gave a bunch of errors if you"ll try to compile it with an older version of mplabx. Even a source written for an older version of mplab but compiled with an upgraded version of mplab will gave a huge number of errors. If finally have zero error after asm file  compilation,  the resulted hex file still can be useless. :(

vasi vasi

unread,
Apr 16, 2024, 10:28:59 AMApr 16
to jal...@googlegroups.com
Thank you for the info, guys!
Yes, there is a demand for a standalone assembler, as gputils seems dead. And there are few projects that are depending on gputils.  It would have been helpful if jal or gcbasic would had assembling&linking of external asm files capability!

BTW Evan, the internal assembler of the GCBasic is awesome, being able to assemble for PIC and AVR!  I know nothing about PIC-AS, I see is part of xc8 compiler... I think Microchip is very happy with how things are nowadays...   
I'm evaluating GCBasic under Linux LMDE 6, working with an 8x8 LED matrix, and soon 3 of them for scrolling some text (stored in FLASH with TABLE and using millis() for some multitasking) driving them with an Arduino UNO and shift registers (for now, the first matrix is connected directly to the UNO pins). I'm using VSCode with lang-freebasic extension, where I added over the keywords of the GCBasic and is working nicely (couldn't wait for GCStudio or GCCode to come to linux... )



--
Vasi

vasi vasi

unread,
Apr 16, 2024, 3:27:45 PMApr 16
to jal...@googlegroups.com
Forgot to say that the other alternative for GCBasic colored syntax is Geany IDE which also works great.
--
Vasi
Reply all
Reply to author
Forward
0 new messages