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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.20.1/] [gas/] [testsuite/] [gas/] [tic54x/] [macro1.s] - Blame information for rev 304

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

Line No. Rev Author Line
1 215 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.