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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [doc/] [c-xc16x.texi] - Blame information for rev 853

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

Line No. Rev Author Line
1 38 julius
@c Copyright 2006 Free Software Foundation, Inc.
2
@c This is part of the GAS manual.
3
@c For copying conditions, see the file as.texinfo.
4
 
5
@page
6
@node xc16x-Dependent
7
@chapter Infineon xc16x Dependent Features
8
 
9
@cindex xc16x support
10
@menu
11
* xc16x Directives::     xc16x Machine Directives
12
@end menu
13
 
14
@node xc16x Directives
15
@section xc16x Machine Directives
16
 
17
The xc16x version of the assembler supports the following machine
18
directives:
19
 
20
@table @code
21
@cindex @code{align} directive, xc16x
22
@item .align
23
This directive aligns the section program counter on the next 2-byte
24
boundary.
25
 
26
 
27
@cindex @code{byte} directive, xc16x
28
@item .byte @var{expr}
29
This directive assembles a half-word (8-bit) constant.
30
 
31
@cindex @code{word} directive, xc16x
32
@item .word @var{expr}
33
This assembles a word (16-bit) constant.
34
 
35
@cindex @code{ascii} directive, xc16x
36
@item .ascii "@var{ascii}"
37
This directive used for copying @var{str} into the object file.
38
The string is terminated with a null byte.
39
 
40
@cindex @code{set} directive, xc16x
41
@item .set @var{symbol}, @var{value}
42
This directive creates a symbol named @var{symbol} which is an alias for
43
another symbol (possibly not yet defined).  This should not be confused
44
with the mnemonic @code{set}, which is a legitimate xc16x instruction.
45
 
46
 
47
 
48
@cindex @code{bss} directive, xc16x
49
@item .bss @var{symbol}, @var{length}
50
Reserve @var{length} bytes in the bss section for a local @var{symbol},
51
aligned to the power of two specified by @var{align}.  @var{length} and
52
@var{align} must be positive absolute expressions.  This directive
53
differs from @samp{.lcomm} only in that it permits you to specify
54
an alignment.
55
@end table

powered by: WebSVN 2.1.0

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