Everything

.TYPE [V1.11.00 or later]


The .TYPE directive sets information about a symbol.

[Syntax]

Symbol field
Mnemonic field
Operand field
Comment field
 
.TYPE
symbol-name, symbol-type, size-specification
[; comment]

[Description]

-

This directive specifies the type and size information of the symbol.

-

"FUNCTION" or "OBJECT" can be specified for the symbol type.

-

If a label name that does not exist in any file is specified for the symbol name, an error will occur.

[Example]

.TYPE symA, FUNCTION, 8
symA:

 

The set information can be viewed in the link map.

SYMBOL ADDR SIZE INFO COUNTS OPT
  symA
   00000000 8 func ,l 0