A166 User's Guide

MODINF Assembler Directive

Abbreviation

None.

Arguments

MODINF (value)

Default

None.

µVision

None.

Description

The MODINF directive is generated by the C166 Compiler when creating in-line assembler programs using the compiler's SRC directive. The value specified contains information about the memory model, floating-point usage, and other details. It is defined as follows:

MSBValueLSB
DF7mmmCM

Where

Dindicates double-precision (64-bit) floating-point math is used.
Findicates single-precision (32-bit) floating-point math is used.
7indicates that the MOD167 directive was specified.
mmmare 3 bits that specify the memory model (0-7). 1=TINY, 2=SMALL, 3=MEDIUM, 4=COMPACT, 5=LARGE, 6=HCOMPACT, 7=HLARGE (MOD167=0) or 7=XLARGE (MOD167=1)
Chas a value of 0 is symbols are not case-sensitive and 1 is symbols are case-sensitive.
Shas a value of 0 for non-segmented mode and 1 for segment mode.

The value is mirrored in the OMF file and is used by the linker for consistency checking.

See Also

CASE, SEGMENTED

Example

None.