h6. [[OS SWI Calls]] h6(. » [[OS_Module]] h6((. » OS_Module 12 h2. OS_Module 12 h5. (SWI &1E) |_<^{width:4em}. Entry | | |<^. R0 |<^. 12 (&0C) | |<^. R1 |<^. Module number | |<^. R2 |<^. Instance number | |_<^{width:4em}. Exit | | |<^. R0 |<^. Preserved | |<^. R1 |<^. Updated for next module/instance | |<^. R2 |<^. Updated for next module/instance | |<^. R3 |<^. Pointer to [[Module Format|module]] | |<^. R4 |<^. Private word (usually pointer to workspace) | |<^. R5 |<^. Pointer to postfix string (the instantiation's name) | h4. Use The purpose of this call is to return information about a module, given its number. This call returns the contents of the private word; if you instead want a pointer to the private word, use [[OS_Module 22]]. h4. Notes If a module is not multiply instantiated, R5 will be returned pointing to the string "Base". This is equivalent to the [[*Modules|*Modules]] command. h4. See also * [[Module Format]] * [[OS_Module]] * [[OS_Module 22]] * [[*Modules|*Modules]]