Chapter 12 List of Machine Language Instructions
List of Machine Language Instructions 247
12.3.6 User-Defined Instructions

User Defined FUNCTION

Mnemonic Description of operation
UDFnn Dm, Dn
If nn is between 00 and 15, compute with the contents of Dm and Dn
and store the result in Dn. The nature of the calculation and the
effects on the flags are user defined.
If nn is between 20 and 35, compute with the contents of Dm and Dn.
Do not store the result in Dn or modify the flags.
UDFnn imm, Dn Compute with the contents of Dn and the sign-extended imm8, sign-
extended imm16, or imm32 and store the result in Dn. The nature of
the calculation and the effects on the flags are user defined.
UDFUnn imm, Dn
If nn is between 00 and 15, compute with the contents of Dn and the
zero-extended imm8, zero-extended imm16, or imm32 and store the
result in Dn. The nature of the calculation and the effects on the flags
are user defined.