MSC100ABIRM Motorola / Freescale Semiconductor, MSC100ABIRM Datasheet - Page 39

no-image

MSC100ABIRM

Manufacturer Part Number
MSC100ABIRM
Description
SC100 Application Binary Interface Reference Manual
Manufacturer
Motorola / Freescale Semiconductor
Datasheet
4.3.4.2.3 Sym Function
Category:
Argument:
Description:
Returns:
4.3.4.2.4 Size Function
Category:
Argument:
Description
Returns:
4.3.4.2.5 Line Function
Category:
Arguments:
Description:
Returns:
4.3.4.2.6 Hi Function
Category:
Arguments:
Description:
Returns:
Example:
4.3.4.2.7 Lo Function
Category:
Arguments:
Description:
Returns:
Example:
SC100 Application Binary Interface
This function returns the low bits of a data value. The data value is masked, the
generic
<index>
This function simply returns the symbol table value of the symbol at <index>.
value of symbol
generic
<num_bytes>
applies to <num_bytes>. The memory target word defaults to the architecture
word size is no size function is specified. The SC100 default word size is 2 bytes.
0
generic
<line> [,<file>]
This function generates line number information for the relocation. An optional
string literal, <file>, may be passed which identifies the file from which the
instruction comes, such as an included file.
0
generic
value
This function returns the high bits of a data value. The data value is masked and
shifted into the lower bits. The number of bits masked is determined by the size
function or the default target memory word size.
masked and shifted value
hi(0x1234) is equivalent to 0x0012 for size(2).
generic
value
remaining value remains in the lower bits. The number of bits masked is
determined by the size function.
masked value
lo(0x12345678) is equivalent to 0x00005678 for size(4).
This function sets the size of the memory target word to which the relocation
Preliminary (April 2000)
Interface Descriptions
4-7

Related parts for MSC100ABIRM