I was wondering if anyone out there knew of some example programs for the dspic's or pic24's? I have tried looking at microchips site, and searched a bit, but I can't seem to find any support other than for C.
I've done some assembly programming for 16 bit PICs.
Here is an example if you want it. You need the .inc and the .gld files in the project directory, as well as the code in a .s file.
This measure temperatures with some DS1802 temperature sensors, drives a display and turns on and off two outputs. The temperature limits can be changed with a pushbutton.
The application could probably be easily done with an 8 bit PIC but it gives some ideas.
Hello
I was wondering if anyone out there knew of some example programs for the dspic's or pic24's? I have tried looking at microchips site, and searched a bit, but I can't seem to find any support other than for C.
Microchip has not been forthcoming with ASM support for the 16-bit series. They just now started to supply links to the 24F family datasheets. I was forced to use the dsP family as a reference and of course kept using instructions that failed in code because they do not apply to the 24F series. I included a few attachments that show some examples. The main aspect of 16-bit is you need to increment address by 2, use even address, and be knowledgeable about what registers you are using. NO MORE BANKING!!!