Direct-executing ENHANCED DESIRE simulation on PC/XT/AT and compatible personal computers employs a new method for declaring and invoking sub-model macros and user-defined functions in the DYNAMIC program segment representing the simulation model. Submodel and function invocations are not true macros but compiler procedures; like all of the DYNAMIC segment, they compile into fast in-line code, and no extra translator pass is needed.