DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Enhanced asm facility

Storage modes

These are the storage modes that the compiler recognizes in asm macros:


treg
Compiler-selected temporary register.

ureg
C register variable that the compiler has allocated in a machine register.

reg
treg or ureg.

con
Compile time constant.

mem
A mem operand matches any allowed machine addressing mode, including reg and con.

lab
Compiler-generated unique label. The identifier(s) that are specified as being of mode lab do not appear as formal parameters in the asm macro definition, unlike the preceding modes. Such identifiers must be unique.

error
Generate a compiler error. This mode exists to allow you to flag errors at compile time if no appropriate pattern exists for a set of actual arguments.

Next topic: asm body
Previous topic: Definition

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003