Lines Matching refs:var

121 defined within a macro will have global scope, unless the @code{.var}
123 @pxref{TIC54X-Directives,,@code{.var}}.
144 @item @code{:@var{symbol}(@var{char_index}):}
145 Evaluates to a single-character string, the character at @var{char_index}.
146 @item @code{:@var{symbol}(@var{start},@var{length}):}
147 Evaluates to a substring of @var{symbol} beginning at @var{start} with
148 length @var{length}.
191 @item @code{$acos(@var{expr})}
192 Returns the floating point arccosine of @var{expr}.
195 @item @code{$asin(@var{expr})}
196 Returns the floating point arcsine of @var{expr}.
199 @item @code{$atan(@var{expr})}
200 Returns the floating point arctangent of @var{expr}.
203 @item @code{$atan2(@var{expr1},@var{expr2})}
204 Returns the floating point arctangent of @var{expr1} / @var{expr2}.
207 @item @code{$ceil(@var{expr})}
208 Returns the smallest integer not less than @var{expr} as floating point.
211 @item @code{$cosh(@var{expr})}
212 Returns the floating point hyperbolic cosine of @var{expr}.
215 @item @code{$cos(@var{expr})}
216 Returns the floating point cosine of @var{expr}.
219 @item @code{$cvf(@var{expr})}
220 Returns the integer value @var{expr} converted to floating-point.
223 @item @code{$cvi(@var{expr})}
224 Returns the floating point value @var{expr} converted to integer.
227 @item @code{$exp(@var{expr})}
228 Returns the floating point value e ^ @var{expr}.
231 @item @code{$fabs(@var{expr})}
232 Returns the floating point absolute value of @var{expr}.
235 @item @code{$floor(@var{expr})}
236 Returns the largest integer that is not greater than @var{expr} as
240 @item @code{$fmod(@var{expr1},@var{expr2})}
241 Returns the floating point remainder of @var{expr1} / @var{expr2}.
244 @item @code{$int(@var{expr})}
245 Returns 1 if @var{expr} evaluates to an integer, zero otherwise.
248 @item @code{$ldexp(@var{expr1},@var{expr2})}
249 Returns the floating point value @var{expr1} * 2 ^ @var{expr2}.
252 @item @code{$log10(@var{expr})}
253 Returns the base 10 logarithm of @var{expr}.
256 @item @code{$log(@var{expr})}
257 Returns the natural logarithm of @var{expr}.
260 @item @code{$max(@var{expr1},@var{expr2})}
261 Returns the floating point maximum of @var{expr1} and @var{expr2}.
264 @item @code{$min(@var{expr1},@var{expr2})}
265 Returns the floating point minimum of @var{expr1} and @var{expr2}.
268 @item @code{$pow(@var{expr1},@var{expr2})}
269 Returns the floating point value @var{expr1} ^ @var{expr2}.
272 @item @code{$round(@var{expr})}
273 Returns the nearest integer to @var{expr} as a floating point number.
276 @item @code{$sgn(@var{expr})}
277 Returns -1, 0, or 1 based on the sign of @var{expr}.
280 @item @code{$sin(@var{expr})}
281 Returns the floating point sine of @var{expr}.
284 @item @code{$sinh(@var{expr})}
285 Returns the floating point hyperbolic sine of @var{expr}.
288 @item @code{$sqrt(@var{expr})}
289 Returns the floating point square root of @var{expr}.
292 @item @code{$tan(@var{expr})}
293 Returns the floating point tangent of @var{expr}.
296 @item @code{$tanh(@var{expr})}
297 Returns the floating point hyperbolic tangent of @var{expr}.
300 @item @code{$trunc(@var{expr})}
301 Returns the integer value of @var{expr} truncated towards zero as
328 @item .align [@var{size}]
331 @var{size}. @var{size} may be any power of 2. @code{.even} is
332 equivalent to @code{.align} with a @var{size} of 2.
343 @item .asg @var{string}, @var{name}
344 Assign @var{name} the string @var{string}. String replacement is
345 performed on @var{string} before assignment.
348 @item .eval @var{string}, @var{name}
349 Evaluate the contents of string @var{string} and assign the result as a
350 string to the subsym @var{name}. String replacement is performed on
351 @var{string} before assignment.
354 @item .bss @var{symbol}, @var{size} [, [@var{blocking_flag}] [,@var{alignment_flag}]]
355 Reserve space for @var{symbol} in the .bss section. @var{size} is in
356 words. If present, @var{blocking_flag} indicates the allocated space
358 boundary. If present, @var{alignment_flag} causes the assembler to
359 allocate @var{size} on a long word boundary.
365 @item .byte @var{value} [,...,@var{value_n}]
366 @itemx .ubyte @var{value} [,...,@var{value_n}]
367 @itemx .char @var{value} [,...,@var{value_n}]
368 @itemx .uchar @var{value} [,...,@var{value_n}]
374 @item .clink ["@var{section_name}"]
377 be included in the link. If @var{section_name} is omitted, the current
385 @item .copy "@var{filename}" | @var{filename}
386 @itemx .include "@var{filename}" | @var{filename}
387 Read source statements from @var{filename}. The normal include search
400 @item .double @var{value} [,...,@var{value_n}]
401 @itemx .ldouble @var{value} [,...,@var{value_n}]
402 @itemx .float @var{value} [,...,@var{value_n}]
403 @itemx .xfloat @var{value} [,...,@var{value_n}]
418 @item .emsg @var{string}
419 @itemx .mmsg @var{string}
420 @itemx .wmsg @var{string}
435 @item .field @var{value} [,@var{size}]
436 Initialize a bitfield of @var{size} bits in the current section. If
437 @var{value} is relocatable, then @var{size} must be 16. @var{size}
438 defaults to 16 bits. If @var{value} does not fit into @var{size} bits,
450 @item .global @var{symbol} [,...,@var{symbol_n}]
451 @itemx .def @var{symbol} [,...,@var{symbol_n}]
452 @itemx .ref @var{symbol} [,...,@var{symbol_n}]
466 @item .half @var{value} [,...,@var{value_n}]
467 @itemx .uhalf @var{value} [,...,@var{value_n}]
468 @itemx .short @var{value} [,...,@var{value_n}]
469 @itemx .ushort @var{value} [,...,@var{value_n}]
470 @itemx .int @var{value} [,...,@var{value_n}]
471 @itemx .uint @var{value} [,...,@var{value_n}]
472 @itemx .word @var{value} [,...,@var{value_n}]
473 @itemx .uword @var{value} [,...,@var{value_n}]
479 @item .label @var{symbol}
480 Define a special @var{symbol} to refer to the load time address of the
498 @item .long @var{value} [,...,@var{value_n}]
499 @itemx .ulong @var{value} [,...,@var{value_n}]
500 @itemx .xlong @var{value} [,...,@var{value_n}]
509 @item .loop [@var{count}]
510 @itemx .break [@var{condition}]
513 @code{.endloop} marks its termination. @var{count} defaults to 1024,
516 @code{.endloop} directive. The optional @var{condition} will cause the
521 @item @var{macro_name} .macro [@var{param1}][,...@var{param_n}]
527 @item .mlib "@var{filename}" | @var{filename}
528 Load the macro library @var{filename}. @var{filename} must be an
552 @item .option @var{option_list}
556 @item .sblock "@var{section_name}" | @var{section_name} [,"@var{name_n}" | @var{name_n}]
557 Designate @var{section_name} for blocking. Blocking guarantees that a
563 @item .sect "@var{section_name}"
568 @item @var{symbol} .set "@var{value}"
569 @itemx @var{symbol} .equ "@var{value}"
570 Equate a constant @var{value} to a @var{symbol}, which is placed in the
571 symbol table. @var{symbol} may not be previously defined.
575 @item .space @var{size_in_bits}
576 @itemx .bes @var{size_in_bits}
590 @item .string "@var{string}" [,...,"@var{string_n}"]
591 @itemx .pstring "@var{string}" [,...,"@var{string_n}"]
592 Place 8-bit characters from @var{string} into the current section.
601 @item [@var{stag}] .struct [@var{offset}]
602 @itemx [@var{name_1}] element [@var{count_1}]
603 @itemx [@var{name_2}] element [@var{count_2}]
604 @itemx [@var{tname}] .tag @var{stagx} [@var{tcount}]
606 @itemx [@var{name_n}] element [@var{count_n}]
607 @itemx [@var{ssize}] .endstruct
608 @itemx @var{label} .tag [@var{stag}]
609 Assign symbolic offsets to the elements of a structure. @var{stag}
610 defines a symbol to use to reference the structure. @var{offset}
613 @var{name}, which is a symbol assigned the value of the element's offset
614 into the structure. If @var{stag} is missing, these become global
615 symbols. @var{count} adjusts the offset that many times, as if
624 to word boundaries only. @var{ssize}, if provided, will always be
629 structure to a symbol. Once applied to @var{label}, the individual
630 structure elements may be applied to @var{label} to produce the desired
631 offsets using @var{label} as the structure base.
640 @item [@var{utag}] .union
641 @itemx [@var{name_1}] element [@var{count_1}]
642 @itemx [@var{name_2}] element [@var{count_2}]
643 @itemx [@var{tname}] .tag @var{utagx}[,@var{tcount}]
645 @itemx [@var{name_n}] element [@var{count_n}]
646 @itemx [@var{usize}] .endstruct
647 @itemx @var{label} .tag [@var{utag}]
649 zero, and the @var{usize} is set to the maximum of all defined elements.
653 @item [@var{symbol}] .usect "@var{section_name}", @var{size}, [,[@var{blocking_flag}] [,@var{alignm…
656 @var{symbol} points to the first location reserved by this allocation.
657 The symbol may be used as a variable name. @var{size} is the allocated
658 size in words. @var{blocking_flag} indicates whether to block this
660 @var{alignment flag} indicates whether the section should be
663 @cindex @code{var} directive, TIC54X
664 @item .var @var{sym}[,..., @var{sym_n}]
669 @item .version @var{version}
707 @item @code{$symlen(@var{str})}
708 Returns the length of @var{str}.
711 @item @code{$symcmp(@var{str1},@var{str2})}
712 Returns 0 if @var{str1} == @var{str2}, non-zero otherwise.
715 @item @code{$firstch(@var{str},@var{ch})}
716 Returns index of the first occurrence of character constant @var{ch} in
717 @var{str}.
720 @item @code{$lastch(@var{str},@var{ch})}
721 Returns index of the last occurrence of character constant @var{ch} in
722 @var{str}.
725 @item @code{$isdefed(@var{symbol})}
726 Returns zero if the symbol @var{symbol} is not in the symbol table,
730 @item @code{$ismember(@var{symbol},@var{list})}
731 Assign the first member of comma-separated string @var{list} to
732 @var{symbol}; @var{list} is reassigned the remainder of the list. Returns
733 zero if @var{list} is a null string. Both arguments must be subsyms.
736 @item @code{$iscons(@var{expr})}
737 Returns 1 if string @var{expr} is binary, 2 if octal, 3 if hexadecimal,
741 @item @code{$isname(@var{name})}
742 Returns 1 if @var{name} is a valid symbol name, zero otherwise.
745 @item @code{$isreg(@var{reg})}
746 Returns 1 if @var{reg} is a valid predefined register name (AR0-AR7 only).
749 @item @code{$structsz(@var{stag})}
750 Returns the size of the structure or union represented by @var{stag}.
753 @item @code{$structacc(@var{stag})}
755 @var{stag}. Always returns zero.