This is the mail archive of the binutils@sourceware.org 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] | |
On Wednesday, June 08, 2011 16:59:35 Robert Uhl wrote:
> The label with \intnr doesn't work (why?), i get
> "Error: invalid character '(' in mnemonic" again,
looking at some code ive written, this seems to work for me:
.macro pushr maxr:req
...
_push_r\maxr:
...
.endm
...
pushr 7
this creates a "_push_r7" label
i also have code that does:
.macro _pushrp maxr:req, maxp:req
...
_push_r\maxr\()_p\maxp:
...
.endm
...
_pushrp 4, 5
this creates a "_push_r4_p5" label
-mike
Attachment:
signature.asc
Description: This is a digitally signed message part.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |