OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [all/] [altmacro.s] - Blame information for rev 38

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

Line No. Rev Author Line
1 38 julius
.macro  m1 v1, v2
2
        LOCAL l1, l2
3
label&v1:
4
l1:     .byte   v1
5
label&v2:
6
l2:     .byte   v2
7
.endm
8
 
9
.macro  m2 v1, v2
10
        m1 %(v1), %(v2-v1)
11
.endm
12
 
13
.macro  m3 str
14
        .ascii  &str
15
.endm
16
 
17
        .data
18
 
19
m2      1, 3
20
m2      9, 27
21
 
22
m3      "abc"
23
m3      <"1", "23">
24
 
25
        .noaltmacro
26
 
27
.macro  m4 str
28
        .ascii  "&str"
29
.endm
30
 
31
m4      "!!<>'"
32
 
33
        .altmacro
34
 
35
m3      "!!<>'"

powered by: WebSVN 2.1.0

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