Lines Matching refs:code

35 The TMS320C54x version of @code{@value{AS}} has a few machine-dependent options.
42 @samp{.far_mode} directive in the assembly code. If you do not use the
49 assembly code. For recognized CPU codes, see
50 @xref{TIC54X-Directives,,@code{.version}}. The default CPU version is
81 The TIC54X version of @code{@value{AS}} allows the following additional
86 Binary @code{000000B, 011000b}
87 Octal @code{10Q, 224q}
88 Hexadecimal @code{45h, 0FH}
96 #define macros. When @code{@value{AS}} encounters one of these
100 Subsyms may be defined using the @code{.asg} and @code{.eval} directives
101 (@xref{TIC54X-Directives,,@code{.asg}},
102 @xref{TIC54X-Directives,,@code{.eval}}.
111 @smallexample @code
115 add x,a ; final code assembled is "add x, a"
119 @code{@value{AS}} '\ARG' dereferencing syntax is unnecessary. Subsyms
120 defined within a macro will have global scope, unless the @code{.var}
122 @pxref{TIC54X-Directives,,@code{.var}}.
126 code:
128 @smallexample @code
135 @smallexample @code
142 @table @code
143 @item @code{:@var{symbol}(@var{char_index}):}
145 @item @code{:@var{symbol}(@var{start},@var{length}):}
167 .newblock directive @pxref{TIC54X-Directives,,@code{.newblock}}
188 @table @code
189 @cindex @code{$acos} math builtin, TIC54X
190 @item @code{$acos(@var{expr})}
193 @cindex @code{$asin} math builtin, TIC54X
194 @item @code{$asin(@var{expr})}
197 @cindex @code{$atan} math builtin, TIC54X
198 @item @code{$atan(@var{expr})}
201 @cindex @code{$atan2} math builtin, TIC54X
202 @item @code{$atan2(@var{expr1},@var{expr2})}
205 @cindex @code{$ceil} math builtin, TIC54X
206 @item @code{$ceil(@var{expr})}
209 @cindex @code{$cosh} math builtin, TIC54X
210 @item @code{$cosh(@var{expr})}
213 @cindex @code{$cos} math builtin, TIC54X
214 @item @code{$cos(@var{expr})}
217 @cindex @code{$cvf} math builtin, TIC54X
218 @item @code{$cvf(@var{expr})}
221 @cindex @code{$cvi} math builtin, TIC54X
222 @item @code{$cvi(@var{expr})}
225 @cindex @code{$exp} math builtin, TIC54X
226 @item @code{$exp(@var{expr})}
229 @cindex @code{$fabs} math builtin, TIC54X
230 @item @code{$fabs(@var{expr})}
233 @cindex @code{$floor} math builtin, TIC54X
234 @item @code{$floor(@var{expr})}
238 @cindex @code{$fmod} math builtin, TIC54X
239 @item @code{$fmod(@var{expr1},@var{expr2})}
242 @cindex @code{$int} math builtin, TIC54X
243 @item @code{$int(@var{expr})}
246 @cindex @code{$ldexp} math builtin, TIC54X
247 @item @code{$ldexp(@var{expr1},@var{expr2})}
250 @cindex @code{$log10} math builtin, TIC54X
251 @item @code{$log10(@var{expr})}
254 @cindex @code{$log} math builtin, TIC54X
255 @item @code{$log(@var{expr})}
258 @cindex @code{$max} math builtin, TIC54X
259 @item @code{$max(@var{expr1},@var{expr2})}
262 @cindex @code{$min} math builtin, TIC54X
263 @item @code{$min(@var{expr1},@var{expr2})}
266 @cindex @code{$pow} math builtin, TIC54X
267 @item @code{$pow(@var{expr1},@var{expr2})}
270 @cindex @code{$round} math builtin, TIC54X
271 @item @code{$round(@var{expr})}
274 @cindex @code{$sgn} math builtin, TIC54X
275 @item @code{$sgn(@var{expr})}
278 @cindex @code{$sin} math builtin, TIC54X
279 @item @code{$sin(@var{expr})}
282 @cindex @code{$sinh} math builtin, TIC54X
283 @item @code{$sinh(@var{expr})}
286 @cindex @code{$sqrt} math builtin, TIC54X
287 @item @code{$sqrt(@var{expr})}
290 @cindex @code{$tan} math builtin, TIC54X
291 @item @code{$tan(@var{expr})}
294 @cindex @code{$tanh} math builtin, TIC54X
295 @item @code{$tanh(@var{expr})}
298 @cindex @code{$trunc} math builtin, TIC54X
299 @item @code{$trunc(@var{expr})}
307 The @code{LDX} pseudo-op is provided for loading the extended addressing bits
308 of a label or address. For example, if an address @code{_label} resides
309 in extended program memory, the value of @code{_label} may be loaded as
311 @smallexample @code
323 @table @code
325 @cindex @code{align} directive, TIC54X
326 @cindex @code{even} directive, TIC54X
330 @var{size}. @var{size} may be any power of 2. @code{.even} is
331 equivalent to @code{.align} with a @var{size} of 2.
332 @table @code
341 @cindex @code{asg} directive, TIC54X
346 @cindex @code{eval} directive, TIC54X
352 @cindex @code{bss} directive, TIC54X
360 @cindex @code{byte} directive, TIC54X
361 @cindex @code{ubyte} directive, TIC54X
362 @cindex @code{char} directive, TIC54X
363 @cindex @code{uchar} directive, TIC54X
372 @cindex @code{clink} directive, TIC54X
379 @cindex @code{c_mode} directive, TIC54X
383 @cindex @code{copy} directive, TIC54X
391 @cindex @code{data} directive, TIC54X
393 Begin assembling code into the .data section.
395 @cindex @code{double} directive, TIC54X
396 @cindex @code{ldouble} directive, TIC54X
397 @cindex @code{float} directive, TIC54X
398 @cindex @code{xfloat} directive, TIC54X
405 @code{.xfloat} align the result on a longword boundary. Values are
408 @cindex @code{drlist} directive, TIC54X
409 @cindex @code{drnolist} directive, TIC54X
414 @cindex @code{emsg} directive, TIC54X
415 @cindex @code{mmsg} directive, TIC54X
416 @cindex @code{wmsg} directive, TIC54X
422 @cindex @code{far_mode} directive, TIC54X
425 only once per file, and is equivalent to the -mfar-mode option @pxref{TIC54X-Opts,,@code{-mfar-mode…
427 @cindex @code{fclist} directive, TIC54X
428 @cindex @code{fcnolist} directive, TIC54X
433 @cindex @code{field} directive, TIC54X
438 the value will be truncated. Successive @code{.field} directives will
441 not fit into the space remaining in the current word. A @code{.align}
442 directive with an operand of 1 will force the next @code{.field}
446 @cindex @code{global} directive, TIC54X
447 @cindex @code{def} directive, TIC54X
448 @cindex @code{ref} directive, TIC54X
452 @code{.def} nominally identifies a symbol defined in the current file
453 and availalbe to other files. @code{.ref} identifies a symbol used in
455 @code{.global} directive.
457 @cindex @code{half} directive, TIC54X
458 @cindex @code{uhalf} directive, TIC54X
459 @cindex @code{short} directive, TIC54X
460 @cindex @code{ushort} directive, TIC54X
461 @cindex @code{int} directive, TIC54X
462 @cindex @code{uint} directive, TIC54X
463 @cindex @code{word} directive, TIC54X
464 @cindex @code{uword} directive, TIC54X
477 @cindex @code{label} directive, TIC54X
482 @cindex @code{length} directive, TIC54X
483 @cindex @code{width} directive, TIC54X
488 @cindex @code{list} directive, TIC54X
489 @cindex @code{nolist} directive, TIC54X
494 @cindex @code{long} directive, TIC54X
495 @cindex @code{ulong} directive, TIC54X
496 @cindex @code{xlong} directive, TIC54X
501 section. The most significant word is stored first. @code{.long} and
502 @code{.ulong} align the result on a longword boundary; @code{xlong} does
505 @cindex @code{loop} directive, TIC54X
506 @cindex @code{break} directive, TIC54X
507 @cindex @code{endloop} directive, TIC54X
511 Repeatedly assemble a block of code. @code{.loop} begins the block, and
512 @code{.endloop} marks its termination. @var{count} defaults to 1024,
514 @code{.break} terminates the loop so that assembly begins after the
515 @code{.endloop} directive. The optional @var{condition} will cause the
518 @cindex @code{macro} directive, TIC54X
519 @cindex @code{endm} directive, TIC54X
525 @cindex @code{mlib} directive, TIC54X
531 @cindex @code{mlist} directive, TIC54X
532 @cindex @code{mnolist} directive, TIC54X
538 @cindex @code{mmregs} directive, TIC54X
541 equivalent to executing @code{.set} directives for each register with
545 @cindex @code{newblock} directive, TIC54X
548 @code{@value{AS}} local labels are unaffected.
550 @cindex @code{option} directive, TIC54X
554 @cindex @code{sblock} directive, TIC54X
561 @cindex @code{sect} directive, TIC54X
565 @cindex @code{set} directive, TIC54X
566 @cindex @code{equ} directive, TIC54X
572 @cindex @code{space} directive, TIC54X
573 @cindex @code{bes} directive, TIC54X
577 them. If a label is used with @code{.space}, it points to the
578 @strong{first} word reserved. With @code{.bes}, the label points to the
581 @cindex @code{sslist} directive, TIC54X
582 @cindex @code{ssnolist} directive, TIC54X
587 @cindex @code{string} directive, TIC54X
588 @cindex @code{pstring} directive, TIC54X
592 @code{.string} zero-fills the upper 8 bits of each word, while
593 @code{.pstring} puts two characters into each word, filling the
597 @cindex @code{struct} directive, TIC54X
598 @cindex @code{tag} directive, TIC54X
599 @cindex @code{endstruct} directive, TIC54X
615 @code{element} were an array. @code{element} may be one of
616 @code{.byte}, @code{.word}, @code{.long}, @code{.float}, or any
618 @code{.field} and @code{.string} are also allowed; the size of
619 @code{.field} is one bit, and @code{.string} is considered to be one
621 @code{.align} and conditional assembly directives are allowed within
622 @code{.struct}/@code{.endstruct}. @code{.align} aligns member offsets
626 The @code{.tag} directive, in addition to being used to define a
632 @cindex @code{tab} directive, TIC54X
636 @cindex @code{union} directive, TIC54X
637 @cindex @code{tag} directive, TIC54X
638 @cindex @code{endunion} directive, TIC54X
647 Similar to @code{.struct}, but the offset after each element is reset to
651 @cindex @code{usect} directive, TIC54X
654 .bss). @code{.usect} allows definitions sections independent of .bss.
662 @cindex @code{var} directive, TIC54X
667 @cindex @code{version} directive, TIC54X
671 @table @code
704 @table @code
705 @cindex @code{$symlen} subsym builtin, TIC54X
706 @item @code{$symlen(@var{str})}
709 @cindex @code{$symcmp} subsym builtin, TIC54X
710 @item @code{$symcmp(@var{str1},@var{str2})}
713 @cindex @code{$firstch} subsym builtin, TIC54X
714 @item @code{$firstch(@var{str},@var{ch})}
718 @cindex @code{$lastch} subsym builtin, TIC54X
719 @item @code{$lastch(@var{str},@var{ch})}
723 @cindex @code{$isdefed} subsym builtin, TIC54X
724 @item @code{$isdefed(@var{symbol})}
728 @cindex @code{$ismember} subsym builtin, TIC54X
729 @item @code{$ismember(@var{symbol},@var{list})}
734 @cindex @code{$iscons} subsym builtin, TIC54X
735 @item @code{$iscons(@var{expr})}
739 @cindex @code{$isname} subsym builtin, TIC54X
740 @item @code{$isname(@var{name})}
743 @cindex @code{$isreg} subsym builtin, TIC54X
744 @item @code{$isreg(@var{reg})}
747 @cindex @code{$structsz} subsym builtin, TIC54X
748 @item @code{$structsz(@var{stag})}
751 @cindex @code{$structacc} subsym builtin, TIC54X
752 @item @code{$structacc(@var{stag})}
766 @table @code