Use of #define'd constants in assembly mode

Post your requests and ideas on the future development of mikroC for dsPIC30/33 and PIC24.
Post Reply
Author
Message
Daniel Wee
Posts: 38
Joined: 14 Jun 2007 22:05

Use of #define'd constants in assembly mode

#1 Post by Daniel Wee » 12 Feb 2009 19:51

Right now it seems that the #defines do not carry over into the asm blocks. For example:-

#define MAX 5

asm {
mov #MAX, W0
}

This will yield an error because the pre-processor doesn't seem to remember the defined stuff in the asm blocks. Please make it possible to use defined constants and maybe even macros in the asm blocks.

Daniel

Post Reply

Return to “mikroC for dsPIC30/33 and PIC24 Wish List”