Using label in macro

Martin Bian martin@utstar.com
Wed Oct 16 19:05:00 GMT 2002


Hello all, I want to use macro in my assemble language source code. But I need a label in one of line include the macro. For example:
label: LDRB		r3,[r1],#1
       STRB     r3,[r2],#1
       SUBS     r4,r4,#1
       BNE      label

Who can tell me how to make a macro to implement it?
Thanks in advance.

	


        Martin Bian
        martin@utstar.com
          2002-10-17




More information about the Binutils mailing list