Intel 8XC196MD Microscope & Magnifier User Manual


 
A-13
INSTRUCTION SET REFERENCE
DIV DIVIDE INTEGERS. Divides the contents of
the destination long-integer operand by the
contents of the source integer word operand,
using signed arithmetic. It stores the quotient
into the low-order word of the destination
(i.e., the word with the lower address) and the
remainder into the high-order word. The
following two statements are performed
concurrently.
(low word DEST)
(DEST) / (SRC)
(high word DEST)
(DEST) MOD (SRC)
DEST, SRC
DIV lreg, waop
(11111110) (100011aa) (waop) (lreg)
PSW Flag Settings
ZNCVVTST
———
DIVB DIVIDE SHORT-INTEGERS. Divides the
contents of the destination integer operand
by the contents of the source short-integer
operand, using signed arithmetic. It stores the
quotient into the low-order byte of the
destination (i.e., the word with the lower
address) and the remainder into the high-
order byte. The following two statements are
performed concurrently.
(low byte DEST)
(DEST) / (SRC)
(high byte DEST)
(DEST) MOD (SRC)
DEST, SRC
DIVB wreg, baop
(11111110) (100111aa) (baop) (wreg)
PSW Flag Settings
ZNCVVTST
———
DIVU DIVIDE WORDS, UNSIGNED. Divides the
contents of the destination double-word
operand by the contents of the source word
operand, using unsigned arithmetic. It stores
the quotient into the low-order word (i.e., the
word with the lower address) of the
destination operand and the remainder into
the high-order word. The following two
statements are performed concurrently.
(low word DEST)
(DEST) / (SRC)
(high word DEST)
(DEST) MOD (SRC)
DEST, SRC
DIVU lreg, waop
(100011aa) (waop) (lreg)
PSW Flag Settings
ZNCVVTST
———
Table A-6. Instruction Set (Continued)
Mnemonic Operation Instruction Format