This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Using label in macro
- From: "Martin Bian" <martin at utstar dot com>
- To: "binutils at sources dot redhat dot com" <binutils at sources dot redhat dot com>
- Date: Thu, 17 Oct 2002 10:5:51 +0800
- Subject: 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