Motorola CPU32 Reference Manual page 126

M68300 series central processor unit
Hide thumbs Also See for CPU32:
Table of Contents

Advertisement

DIVS
DIVSL
Instruction Format (long form):
15
14
13
12
11
10
Signed Divide
9
8
7
6
5
4
3
DIVS
DIVSL
2
o
EFFECTIVE ADDRESS
0
1
0
0
1
1
0
0
0
1
MODE
REGISTER
0
REGISTERDq
1
SIZE
0
0
0
0
0
I
o
I
0
REGISTER Dr
Instruction Fields:
Effective Address field -
Specifies the source operand. Only data addressing modes are
allowed as shown:
Addressing Mode
Mode
Register
Addressing Mode Mode
Register
Dn
000
Reg. number: Dn
(xxx).w
111
000
An
-
-
(xxx).L
111
001
(An)
010
Reg. number: An
#(data)
111
100
(An)
+
011
Reg. number: An
-(An)
100
Reg. number: An
(d16, An)
101
Reg. number: An
(d16, PC)
111
010
(dg, An, Xn)
110
Reg. number: An
(dg, PC, Xn)
111
011
(bd, An, Xn)
110
Reg. number: An
(bd, PC, Xn)
111
011
Register Dq field - Specifies a data register for the destination operand. The low-order 32 bits of
the dividend come from this register, and the 32-bit quotient is loaded into this register.
Size field - Selects a 32 or 64 bit division operation.
0-
32-bit dividend is in Register Dq.
1 -
64-bit dividend is in Dr:Dq.
Register Dr field - After the division, this register contains the 32-bit remainder. If Dr and Dq are
the same register, only the quotient is returned. If Size is 1, the Dr field also specifies the data
register that contains the high-order 32 bits of the dividend.
NOTE
Overflow occurs if the quotient is larger than a 32-bit signed integer.
CPU32 REFERENCE MANUAL
INSTRUCTION SET
MOTOROLA
4-73
III

Advertisement

Table of Contents
loading

Table of Contents