30Mar98@15:00hSemiconductor Group 95 Version 1.2, 12.97C166 Family Instruction SetInstruction DescriptionPRIOR Prioritize Register PRIORSyntax PRIOR op1, op2Operation (tmp) ← (op2)(count) ← 0DO WHILE (tmp15) ≠ 1 AND (count) ≠ 15 AND (op2) ≠ 0(tmp n ) ← (tmp n-1 )(count) ← (count) + 1END WHILE(op1) ← (count)Data Types WORDDescription This instruction stores a count value in the word operand specified by op1indicating the number of single bit shifts required to normalize the operandop2 so that its MSB is equal to one. If the source operand op2 equalszero, a zero is written to operand op1 and the zero flag is set. Otherwisethe zero flag is cleared.E Always cleared.Z Set if the source operand op2 equals zero. Cleared otherwise.V Always cleared.C Always cleared.N Always cleared.Addressing Modes Mnemonic Format BytesPRIOR Rwn , Rwm 2B nm 2Condition Flags E Z V C N0 * 0 0 0