This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: GASP really obsolete?
Nick Clifton <nickc@cambridge.redhat.com> writes:
|> True, but you do not need the macro labels to implement REPEAT, CONT,
|> BREAK and ENDR. You can just use ordinary local labels like this:
|>
|> .macro REPEAT
|> 3:
|> .endm
|>
|> .macro CONT
|> b 3b
|> .endm
|>
|> .macro BREAK
|> b 4f
|> .endm
|>
|> .macro ENDR
|> 4:
|> .endm
I don't think that works in presence of nested loops.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."