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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.3/] [gdb/] [testsuite/] [gdb.asm/] [common.inc] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1181 sfurman
        .macro comment text
2
        .endm
3
 
4
        comment "Can't rely on assembler comment character so do this."
5
 
6
        .macro include arch file
7
        .include "\arch\file"
8
        .endm
9
 
10
        comment "Declare a data variable"
11
        .macro gdbasm_datavar name value
12
        .data
13
\name:
14
        .word \value
15
        .endm
16
 
17
comment "arch.inc is responsible for defining the following macros:"
18
comment "enter - subroutine prologue"
19
comment "leave - subroutine epilogue"
20
comment "call - call a named subroutine"
21
comment "several_nops - execute several (typically 4) nops"
22
comment "exit0 - exit (0)"
23
 
24
comment "arch.inc may also override the default definitions of:"
25
comment "datavar - define a data variable"
26
 
27
comment "macros to label a subroutine may also eventually be needed"
28
comment "i.e. .global foo\nfoo:\n"

powered by: WebSVN 2.1.0

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