Chapter 12 List of Machine Language Instructions

12.3.6 User-Defined Instructions

User Defined FUNCTION

Mnemonic

Description of operation

 

 

 

If nn is between 00 and 15, compute with the contents of Dm and Dn

UDFnn Dm, 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.

 

 

 

If nn is between 00 and 15, compute with the contents of Dn and the

UDFUnn imm, Dn

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.

 

 

List of Machine Language Instructions 247

Page 259
Image 259
Panasonic MN1030 user manual User-Defined Instructions, User Defined Function, UDFnn Dm, Dn, UDFnn imm, Dn, UDFUnn imm, Dn