Next: abort Instruction, Previous: nop and nop1 Instructions, Up: Assembler Instructions [Contents][Index]
lookup
InstructionThis instruction is a mixed-type instruction.
The disassembler can generate lookup
instructions when disassembling a node of a multinode model with positive length of look-ahead signal segment.
The field ngram_env_la_sz
of qsmm_desc_s
structure passed to the function qsmm_create
specifies this length when creating the multinode model.
The function qsmm_get_ngram_env_la_sz
fetches this length for an existing multinode model.
The instruction has the syntax
lookup position
and sets the outcome equal to a look-ahead signal at zero-based position in the look-ahead signal segment.
The assembler does not support loading assembler programs into the nodes of a multinode model with positive length of look-ahead signal segment.
Therefore, if you need to assemble a program (e.g. generated by the disassembler) containing lookup
instructions, you do the following: