Chapter 38. TIC54X Dependent Features
213
$tanh(
expr
)
Returns the floating point hyperbolic tangent of
expr
.
$trunc(
expr
)
Returns the integer value of
expr
truncated towards zero as floating point.
38.8. Extended Addressing
The
LDX
pseudo op is provided for loading the extended addressing bits of a label or address. For
example, if an address
_label
resides in extended program memory, the value of
_label
may be
loaded as follows:
ldx
#_label,16,a
; loads extended bits of _label
or
#_label,a
; loads lower 16 bits of _label
bacc
a
; full address is in accumulator A
38.9. Directives
.align [size]
.even
Align the section program counter on the next boundary, based on
size
.
size
may be any power
of 2.
.even
is equivalent to
.align
with a
size
of 2.
1
Align SPC to word boundary
2
Align SPC to longword boundary (same as .even)
128
Align SPC to page boundary
.asg string, name
Assign
name
the string
string
. String replacement is performed on
string
before assignment.
.eval string, name
Evaluate the contents of string
string
and assign the result as a string to the subsym
name
.
String replacement is performed on
string
before assignment.
.bss symbol, size [, [blocking_flag] [,alignment_flag]]
Reserve space for
symbol
in the .bss section.
size
is in words. If present,
blocking_flag
indicates the allocated space should be aligned on a page boundary if it would otherwise cross
a page boundary. If present,
alignment_flag
causes the assembler to allocate
size
on a long
word boundary.
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Inexpensive Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Jsp Hosting
Cheap Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved