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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [newlib-1.17.0/] [newlib/] [libc/] [machine/] [m68k/] [m68kasm.h] - Blame information for rev 862

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

Line No. Rev Author Line
1 148 jeremybenn
/* These are predefined by new versions of GNU cpp.  */
2
 
3
#ifndef __USER_LABEL_PREFIX__
4
#define __USER_LABEL_PREFIX__ _
5
#endif
6
 
7
#ifndef __REGISTER_PREFIX__
8
#define __REGISTER_PREFIX__
9
#endif
10
 
11
/* ANSI concatenation macros.  */
12
 
13
#define CONCAT1(a, b) CONCAT2(a, b)
14
#define CONCAT2(a, b) a ## b
15
 
16
/* Use the right prefix for global labels.  */
17
 
18
#define SYM(x) CONCAT1 (__USER_LABEL_PREFIX__, x)
19
 
20
/* Use the right prefix for registers.  */
21
 
22
#define REG(x) CONCAT1 (__REGISTER_PREFIX__, x)
23
 
24
#define d0 REG (d0)
25
#define d1 REG (d1)
26
#define d2 REG (d2)
27
#define d3 REG (d3)
28
#define d4 REG (d4)
29
#define d5 REG (d5)
30
#define d6 REG (d6)
31
#define d7 REG (d7)
32
#define a0 REG (a0)
33
#define a1 REG (a1)
34
#define a2 REG (a2)
35
#define a3 REG (a3)
36
#define a4 REG (a4)
37
#define a5 REG (a5)
38
#define a6 REG (a6)
39
#define fp REG (fp)
40
#define sp REG (sp)

powered by: WebSVN 2.1.0

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