Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

how would i generate HEX file for multiple assembly files?

Status
Not open for further replies.

belinda_sg

New Member
hi, i am using PICDEM 2 PLUS demo board ,PIC16F877 and MPLAB ICD2 when i bought the board, one demo program is included for the PIC16F877.

for the program, it has 3 assembly files and one linker file, i want to genenrate the HEX file. but when i only build one assembly file or i create one project file containing three assembly files and the linker file, some error messages will appeared.

what should i do to generate the HEX file?
 
What is the error Msg?
What version of MPLAB?

I have also had trouble in the past using more then one asm file, I just put it all in one.

But, if this came from microchip that way, it should work.
 
Use include "filename.asm" in the main asm file, it should then, according to my knowledge, automaticly include all the files you have included 8)
 
Status
Not open for further replies.

Latest threads

Back
Top