This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Using label in macro


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]