5.8.5 Auxiliary Variables

Auxiliary probability variables act as constants. A controlled or output probability variable can never simultaneously be an auxiliary probability variable. The function qsmm_node_asm replaces the name of an auxiliary probability variable specified in the first argument of jprob and case instructions with probability specified in the first argument of a prob, jprob, or case instruction declaring the variable using a data label earlier in a procedure or plain assembler program. You cannot access auxiliary probability variables after loading an assembler program into a node.

You pass the QSMM_ASM_VAR_AUX flag to qsmm_node_asm to load an assembler program containing auxiliary probability variables. An occurrence of a probability variable in an assembler program is valid if the probability variable is a controlled or output probability variable, or if qsmm_node_asm received the QSMM_ASM_VAR_AUX flag. Note that you first register controlled probability variables in an instruction class set, and you pass the QSMM_ASM_VAR_OUT flag to qsmm_node_asm to collect information on output probability variables.