NEC 78K/0 Series User Manual page 69

Nec computer hardware user's manual
Hide thumbs Also See for 78K/0 Series:
Table of Contents

Advertisement

DIVUW
[Instruction format]
[Operation]
[Operand]
Mnemonic
DIVUW
C
[Flag]
Z
AC
[Description]
• The AX register contents are divided by the destination operand (dst) contents and the quotient and the
remainder are stored in the AX register and the destination operand (dst), respectively.
Division is executed using the AX register and destination operand (dst) contents as unsigned data.
However, when the destination operand (dst) is 0, the X register contents are stored in the C register and
AX becomes 0FFFFH.
[Description example]
DIVUW C;
The AX register contents are divided by the C register contents and the quotient and the remainder
are stored in the AX register and the C register, respectively.
CHAPTER 5 EXPLANATION OF INSTRUCTIONS
DIVUW dst
AX (quotient), dst (remainder) ← AX
Operand(dst)
CY
User's Manual U12326EJ4V0UM
Divide Unsigned Word
Unsigned Division of Word Data
÷
dst
69

Advertisement

Table of Contents
loading

Table of Contents