Hello,
I'm a new member here, and this is my first question.
I was reading about programming the PIC microcontrollers, and the commands entered into the IDE looked to be done in C programming language. Would the IDE allow commands to be entered in as machine language commands? I don't know C, but the machine language commands make a lot of sense to me and my projects are small.
Thanks
Thanks Violet.
Here's another question. A few years ago I put a program onto a PIC microcontroller, using a much earlier version of MPLAB, but I don't have the file anymore. Now that I am coming back to using microcontrollers I would like to get the program from the chip. I think that this would help jump start my programming if I could study what I did back then. Is there a way to download the program from a PIC microcontroller to LABX? The program still works just fine.
Thanks,
Gary
Violet
Joined August 16, 2018 42Thursday at 11:31 AM
Hi Gary,
Yes you can program your PIC directly in assembly langugae using MPLAB X
Just enter the assemble code in the same place where C code is written and compile it. It is also possibel to comine both C code and assembly code.
It is highly recommended that you also learn C code since assembly code will not get you much further
Cheers,
Violet