1@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 17The xc16x version of the assembler supports the following machine 18directives: 19 20@table @code 21@cindex @code{align} directive, xc16x 22@item .align 23This directive aligns the section program counter on the next 2-byte 24boundary. 25 26 27@cindex @code{byte} directive, xc16x 28@item .byte @var{expr} 29This directive assembles a half-word (8-bit) constant. 30 31@cindex @code{word} directive, xc16x 32@item .word @var{expr} 33This assembles a word (16-bit) constant. 34 35@cindex @code{ascii} directive, xc16x 36@item .ascii "@var{ascii}" 37This directive used for copying @var{str} into the object file. 38The string is terminated with a null byte. 39 40@cindex @code{set} directive, xc16x 41@item .set @var{symbol}, @var{value} 42This directive creates a symbol named @var{symbol} which is an alias for 43another symbol (possibly not yet defined). This should not be confused 44with 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} 50Reserve @var{length} bytes in the bss section for a local @var{symbol}, 51aligned to the power of two specified by @var{align}. @var{length} and 52@var{align} must be positive absolute expressions. This directive 53differs from @samp{.lcomm} only in that it permits you to specify 54an alignment. 55@end table 56