piclist 2001\03\05\181038a >
Thread: How to use external .AS assembler files in Hitech C/MPLAB
face BY : mikespam@whitewing.co.uk

On Tue, 6 Mar 2001 11:23:19 +1300, you wrote:

>To get your project working, go into "edit project", then "node properties" for "?.hex" and change language tool to "pic C linker".
>This allows you to use multiple files which are linked at the end.
>Go to my tutorial at http://www.workingtechnologies.com/htpic/Hi-Tech_C_tutorial.htm and it will explain how to set up a project.

After a lot more fiddling I noticed that what was happening was that
when I added  the .as file to the command line, PICC was changing the
.hex file to the name of the .as file, so MPLAB could then not find it
after the compile/link. So the solution was simply to change the 'extra command line options'
to force the correct output file name, i.e.
<asmsource>.as -o<hexfilename>

> {Original Message removed}
<ea78ato860nqu0j52is00galdmivbmj2cs@4ax.com> quoted-printable

In reply to: <KOEFIILPMAGGLCKGNBJOGEBACEAA.shane@keyghost.com>
See also: www.piclist.com/techref/microchip/languages.htm?key=mplab
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) How to use external .AS assembler files in Hitech C/MPLAB

month overview.

new search...