I am writing 8051 code.
I want to put asm code into macros(#define) that will be used several times.
The asm code refers to labels in the macro asm code.
Because the labels in SDCC in macros are static, each call to the macro creates a redundant label usage.
How can I create asm labels inside of macros(#define) that will be unique each time the macro is invoked?
Sent from Windows Mail
Log in to post a comment.
I am writing 8051 code.
I want to put asm code into macros(#define) that will be used several times.
The asm code refers to labels in the macro asm code.
Because the labels in SDCC in macros are static, each call to the macro creates a redundant label usage.
How can I create asm labels inside of macros(#define) that will be unique each time the macro is invoked?
Sent from Windows Mail