Next: , Previous: , Up: Using Probabilities Lists   [Contents][Index]


5.10.2 Referencing Probabilities Lists

Probabilities lists are used in casels instructions. See casels Instruction, for more information. For example, a casels instruction, which uses probabilities list ls2 defined in the previous subsection, might look like this:

        casels  ls2,
                L1, L2, L3, L4, L5, L6,
                L7, L8, L9, L10, L11, L12

If the QSMM_ASM_TEMPLATE flag is passed to the function qsmm_node_asm, then to support including in a disassembled program the values of output probabilities, which correspond to jump labels in arguments of casels instructions, all those instructions encountered in the memory representation of the assembler program will be converted to choice instruction blocks. The exception is that when a casels instruction uses a probabilities list, which contains only one element, the instruction will be converted to a jprob instruction.