Panasonic MN1030 User Manual

Page of 340
Chapter 12   List of  Machine Language Instructions
238  List of Machine Language Instructions
MULTIPLY
DIVIDE
INC
COMPARE source with destination
Mnemonic
Description of operation
MUL Dm, Dn
Multiplies the 32-bit signed integer multiplicand in Dm by the 32-bit signed 
integer multiplier in Dn and store the upper 32 bits of the product in MDR and 
the lower 32 bits in Dn.
MULU Dm, Dn
Multiplies the 32-bit unsigned integer multiplicand in Dm by the 32-bit 
unsigned integer multiplier in Dn and store the upper 32 bits of the product in 
MDR and the lower 32 bits in Dn.
Mnemonic
Description of operation
DIV Dm, Dn
Divide the 64-bit signed integer dividend with its upper 32 bits in MDR and 
its lower 32 bits in Dn by the 32-bit signed divisor in Dm and store the 32-bit 
remainder in MDR and the 32-bit quotient in Dn.
DIVU Dm, Dn
Divide the 64-bit unsigned integer dividend with its upper 32 bits in MDR 
and its lower 32 bits in Dn by the 32-bit unsigned divisor in Dm and store the 
32-bit remainder in MDR and the 32-bit quotient in Dn.
Mnemonic
Description of operation
INC Dn
Add 1 to the contents of Dn and store the result in Dn.
INC An
Add 1 to the contents of An and store the result in An.
INC4 An
Add 4 to the contents of An and store the result in An.
Mnemonic
Description of operation
CMP Dm, Dn
Subtract the contents of Dm from Dn and set the flags according to the result.
CMP Dm, An
Subtract the contents of Dm from An and set the flags according to the result.
CMP Am, Dn
Subtract the contents of Am from Dn and set the flags according to the result.
CMP Am, An
Subtract the contents of Am from Dn and set the flags according to the result.
CMP imm, Dn
Subtract the sign-extended imm8, sign-extended imm16, or imm32 from Dn 
and set the flags according to the result.
CMP imm, An
Subtract the zero-extended imm8, zero-extended imm16, or imm32 from An 
and set the flags according to the result.