Question about 8051 MCU programming in c and asm combined

Hello all,
I am trying to use the c macros in asm file. I have 2 different files( sample.c and macro.asm.In sample.c I have defines a macro #define NUM 5 and now I want to use this NUM in asm file.What should I do? Also tell me the way of using the asm file macro in c.
I am using keil 6.23 a51 and c51 for cygnal 8051 MCU 8051F0000.
Anand.
P.S. : If in case if u know the solution for the VC i.e. windows platform normal c and asm files, just tell me.It may help me.
Thank You.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories