OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [tic54x/] [macro1.s] - Blame information for rev 832

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 132 jeremybenn
* Subsripted substitution symbols
2
ADDX    .macro  ABC
3
        .var    TMP
4
        .asg    :ABC(1):,TMP
5
        .if     $symcmp(TMP,"#") == 0
6
        ADD     ABC,A
7
        .else
8
        .emsg   "Bad macro parameter 'ABC'"
9
        .endif
10
        .endm
11
        ADDX    *AR1                    ; should produce an error msg
12
        .end

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.