Skip to main content

Macros with Pic Microcontroller in Assembly Language


Zenlec Electronics

Hello,

I am studying Assembly Language Programming with Pic Microcontrollers. I am programming with MPLAB X IDE and having trouble understanding the concept of programming a macro program to work in conjunction with my main program. I am able set up and save a macro with macro name and .inc extension to be linked to my main program. I don't  understand what programming information needs to be in my macro for accessing and programming my complete program to be successful. I have searched the internet for information relating to my frustration and I cannot find anything suitable. Does anyone know of any macro development documentation available, even a basic understanding would by helpfull. The tutarials I have, state macros are easy, they probably are for people that understand the concept. I wish I did. Can someone please help.

Regards,

Ray Butterworth

 

DesignSpark Electrical Logolinkedin