I have source code written in assembly for a radio tag and we need a quick way to change the id number each time it is programmed. My background is in C and I want to know if there is an equivalent to C's #define statement in assembly.

The #define statement defines a label a value and when the label is found in the code the compiler replaces it with the value.

I would appreciate it if you assembly gurus could help me out on this.

Hi....
one of the suited options is make use of a macro.... most of the assembly languages support the macro... which performs almost the same function as that of the #define..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.