Lines Matching full:var
120 defined within a macro will have global scope, unless the @code{.var}
122 @pxref{TIC54X-Directives,,@code{.var}}.
143 @item @code{:@var{symbol}(@var{char_index}):}
144 Evaluates to a single-character string, the character at @var{char_index}.
145 @item @code{:@var{symbol}(@var{start},@var{length}):}
146 Evaluates to a substring of @var{symbol} beginning at @var{start} with
147 length @var{length}.
190 @item @code{$acos(@var{expr})}
191 Returns the floating point arccosine of @var{expr}.
194 @item @code{$asin(@var{expr})}
195 Returns the floating point arcsine of @var{expr}.
198 @item @code{$atan(@var{expr})}
199 Returns the floating point arctangent of @var{expr}.
202 @item @code{$atan2(@var{expr1},@var{expr2})}
203 Returns the floating point arctangent of @var{expr1} / @var{expr2}.
206 @item @code{$ceil(@var{expr})}
207 Returns the smallest integer not less than @var{expr} as floating point.
210 @item @code{$cosh(@var{expr})}
211 Returns the floating point hyperbolic cosine of @var{expr}.
214 @item @code{$cos(@var{expr})}
215 Returns the floating point cosine of @var{expr}.
218 @item @code{$cvf(@var{expr})}
219 Returns the integer value @var{expr} converted to floating-point.
222 @item @code{$cvi(@var{expr})}
223 Returns the floating point value @var{expr} converted to integer.
226 @item @code{$exp(@var{expr})}
227 Returns the floating point value e ^ @var{expr}.
230 @item @code{$fabs(@var{expr})}
231 Returns the floating point absolute value of @var{expr}.
234 @item @code{$floor(@var{expr})}
235 Returns the largest integer that is not greater than @var{expr} as
239 @item @code{$fmod(@var{expr1},@var{expr2})}
240 Returns the floating point remainder of @var{expr1} / @var{expr2}.
243 @item @code{$int(@var{expr})}
244 Returns 1 if @var{expr} evaluates to an integer, zero otherwise.
247 @item @code{$ldexp(@var{expr1},@var{expr2})}
248 Returns the floating point value @var{expr1} * 2 ^ @var{expr2}.
251 @item @code{$log10(@var{expr})}
252 Returns the base 10 logarithm of @var{expr}.
255 @item @code{$log(@var{expr})}
256 Returns the natural logarithm of @var{expr}.
259 @item @code{$max(@var{expr1},@var{expr2})}
260 Returns the floating point maximum of @var{expr1} and @var{expr2}.
263 @item @code{$min(@var{expr1},@var{expr2})}
264 Returns the floating point minimum of @var{expr1} and @var{expr2}.
267 @item @code{$pow(@var{expr1},@var{expr2})}
268 Returns the floating point value @var{expr1} ^ @var{expr2}.
271 @item @code{$round(@var{expr})}
272 Returns the nearest integer to @var{expr} as a floating point number.
275 @item @code{$sgn(@var{expr})}
276 Returns -1, 0, or 1 based on the sign of @var{expr}.
279 @item @code{$sin(@var{expr})}
280 Returns the floating point sine of @var{expr}.
283 @item @code{$sinh(@var{expr})}
284 Returns the floating point hyperbolic sine of @var{expr}.
287 @item @code{$sqrt(@var{expr})}
288 Returns the floating point square root of @var{expr}.
291 @item @code{$tan(@var{expr})}
292 Returns the floating point tangent of @var{expr}.
295 @item @code{$tanh(@var{expr})}
296 Returns the floating point hyperbolic tangent of @var{expr}.
299 @item @code{$trunc(@var{expr})}
300 Returns the integer value of @var{expr} truncated towards zero as
327 @item .align [@var{size}]
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.
342 @item .asg @var{string}, @var{name}
343 Assign @var{name} the string @var{string}. String replacement is
344 performed on @var{string} before assignment.
347 @itemx .eval @var{string}, @var{name}
348 Evaluate the contents of string @var{string} and assign the result as a
349 string to the subsym @var{name}. String replacement is performed on
350 @var{string} before assignment.
353 @item .bss @var{symbol}, @var{size} [, [@var{blocking_flag}] [,@var{alignment_flag}]]
354 Reserve space for @var{symbol} in the .bss section. @var{size} is in
355 words. If present, @var{blocking_flag} indicates the allocated space
357 boundary. If present, @var{alignment_flag} causes the assembler to
358 allocate @var{size} on a long word boundary.
364 @item .byte @var{value} [,...,@var{value_n}]
365 @itemx .ubyte @var{value} [,...,@var{value_n}]
366 @itemx .char @var{value} [,...,@var{value_n}]
367 @itemx .uchar @var{value} [,...,@var{value_n}]
373 @item .clink ["@var{section_name}"]
376 be included in the link. If @var{section_name} is omitted, the current
384 @item .copy "@var{filename}" | @var{filename}
385 @itemx .include "@var{filename}" | @var{filename}
386 Read source statements from @var{filename}. The normal include search
399 @item .double @var{value} [,...,@var{value_n}]
400 @itemx .ldouble @var{value} [,...,@var{value_n}]
401 @itemx .float @var{value} [,...,@var{value_n}]
402 @itemx .xfloat @var{value} [,...,@var{value_n}]
417 @item .emsg @var{string}
418 @itemx .mmsg @var{string}
419 @itemx .wmsg @var{string}
434 @item .field @var{value} [,@var{size}]
435 Initialize a bitfield of @var{size} bits in the current section. If
436 @var{value} is relocatable, then @var{size} must be 16. @var{size}
437 defaults to 16 bits. If @var{value} does not fit into @var{size} bits,
449 @item .global @var{symbol} [,...,@var{symbol_n}]
450 @itemx .def @var{symbol} [,...,@var{symbol_n}]
451 @itemx .ref @var{symbol} [,...,@var{symbol_n}]
465 @item .half @var{value} [,...,@var{value_n}]
466 @itemx .uhalf @var{value} [,...,@var{value_n}]
467 @itemx .short @var{value} [,...,@var{value_n}]
468 @itemx .ushort @var{value} [,...,@var{value_n}]
469 @itemx .int @var{value} [,...,@var{value_n}]
470 @itemx .uint @var{value} [,...,@var{value_n}]
471 @itemx .word @var{value} [,...,@var{value_n}]
472 @itemx .uword @var{value} [,...,@var{value_n}]
478 @item .label @var{symbol}
479 Define a special @var{symbol} to refer to the load time address of the
497 @item .long @var{value} [,...,@var{value_n}]
498 @itemx .ulong @var{value} [,...,@var{value_n}]
499 @itemx .xlong @var{value} [,...,@var{value_n}]
508 @item .loop [@var{count}]
509 @itemx .break [@var{condition}]
512 @code{.endloop} marks its termination. @var{count} defaults to 1024,
515 @code{.endloop} directive. The optional @var{condition} will cause the
520 @item @var{macro_name} .macro [@var{param1}][,...@var{param_n}]
526 @item .mlib "@var{filename}" | @var{filename}
527 Load the macro library @var{filename}. @var{filename} must be an
551 @item .option @var{option_list}
555 @item .sblock "@var{section_name}" | @var{section_name} [,"@var{name_n}" | @var{name_n}]
556 Designate @var{section_name} for blocking. Blocking guarantees that a
562 @item .sect "@var{section_name}"
567 @item @var{symbol} .set "@var{value}"
568 @itemx @var{symbol} .equ "@var{value}"
569 Equate a constant @var{value} to a @var{symbol}, which is placed in the
570 symbol table. @var{symbol} may not be previously defined.
574 @item .space @var{size_in_bits}
575 @itemx .bes @var{size_in_bits}
589 @item .string "@var{string}" [,...,"@var{string_n}"]
590 @itemx .pstring "@var{string}" [,...,"@var{string_n}"]
591 Place 8-bit characters from @var{string} into the current section.
600 @item [@var{stag}] .struct [@var{offset}]
601 @itemx [@var{name_1}] element [@var{count_1}]
602 @itemx [@var{name_2}] element [@var{count_2}]
603 @itemx [@var{tname}] .tag @var{stagx} [@var{tcount}]
605 @itemx [@var{name_n}] element [@var{count_n}]
606 @itemx [@var{ssize}] .endstruct
607 @itemx @var{label} .tag [@var{stag}]
608 Assign symbolic offsets to the elements of a structure. @var{stag}
609 defines a symbol to use to reference the structure. @var{offset}
612 @var{name}, which is a symbol assigned the value of the element's offset
613 into the structure. If @var{stag} is missing, these become global
614 symbols. @var{count} adjusts the offset that many times, as if
623 to word boundaries only. @var{ssize}, if provided, will always be
628 structure to a symbol. Once applied to @var{label}, the individual
629 structure elements may be applied to @var{label} to produce the desired
630 offsets using @var{label} as the structure base.
639 @item [@var{utag}] .union
640 @itemx [@var{name_1}] element [@var{count_1}]
641 @itemx [@var{name_2}] element [@var{count_2}]
642 @itemx [@var{tname}] .tag @var{utagx}[,@var{tcount}]
644 @itemx [@var{name_n}] element [@var{count_n}]
645 @itemx [@var{usize}] .endstruct
646 @itemx @var{label} .tag [@var{utag}]
648 zero, and the @var{usize} is set to the maximum of all defined elements.
652 @item [@var{symbol}] .usect "@var{section_name}", @var{size}, [,[@var{blocking_flag}] [,@var{alignm…
655 @var{symbol} points to the first location reserved by this allocation.
656 The symbol may be used as a variable name. @var{size} is the allocated
657 size in words. @var{blocking_flag} indicates whether to block this
659 @var{alignment flag} indicates whether the section should be
662 @cindex @code{var} directive, TIC54X
663 @item .var @var{sym}[,..., @var{sym_n}]
668 @item .version @var{version}
706 @item @code{$symlen(@var{str})}
707 Returns the length of @var{str}.
710 @item @code{$symcmp(@var{str1},@var{str2})}
711 Returns 0 if @var{str1} == @var{str2}, non-zero otherwise.
714 @item @code{$firstch(@var{str},@var{ch})}
715 Returns index of the first occurrence of character constant @var{ch} in
716 @var{str}.
719 @item @code{$lastch(@var{str},@var{ch})}
720 Returns index of the last occurrence of character constant @var{ch} in
721 @var{str}.
724 @item @code{$isdefed(@var{symbol})}
725 Returns zero if the symbol @var{symbol} is not in the symbol table,
729 @item @code{$ismember(@var{symbol},@var{list})}
730 Assign the first member of comma-separated string @var{list} to
731 @var{symbol}; @var{list} is reassigned the remainder of the list. Returns
732 zero if @var{list} is a null string. Both arguments must be subsyms.
735 @item @code{$iscons(@var{expr})}
736 Returns 1 if string @var{expr} is binary, 2 if octal, 3 if hexadecimal,
740 @item @code{$isname(@var{name})}
741 Returns 1 if @var{name} is a valid symbol name, zero otherwise.
744 @item @code{$isreg(@var{reg})}
745 Returns 1 if @var{reg} is a valid predefined register name (AR0-AR7 only).
748 @item @code{$structsz(@var{stag})}
749 Returns the size of the structure or union represented by @var{stag}.
752 @item @code{$structacc(@var{stag})}
754 @var{stag}. Always returns zero.