This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

.h in assembly

.h in assemblym works beautifully as far as #define, sfr and sbit being useful in assembly.

Now I have a case of conditional compile that I need reflected in an assembly module. I have tried to make the assembly IF and $IF work based on a #define.

Using IF it works if I do a #define 1 or #define 0, that, however wil require replacing all #ifdefs in the C. $IF seems not to react to #define

any suggestions?

Erik

0