
Chapter 3. Instructions
3-12
BIN arithmetic instructions (Continued)
Mnemonic
symbol
Function
No.
Ladder symbol
Unit
Contents of processing
CPU
Page
DIV
DIVP
124
125
16 bits
[ S1 ]
÷
[ S2 ] [ D ]
[D+1] = Remainder
[D] = Quotient
○
5-50
DDIV
DDIVP
126
127
32 bits
[S1+1, S1]
÷
[S2+1, S2]
[D+3, D+2, D+1, D]
[D+3, D+2] = Remainder
[D+1, D] = Quotient
○
5-50
MULS
MULSP
072
073
16 bit
s
Signed multiplying operation
[ S1 ]
×
[ S2 ] [ D+1, D ]
[D+1] : High word, [D] : Low word
○
DMULS
DMULSP
076
077
32 bits
Signed multiplying operation
[S1+1, S1]
×
[S2+1, S2]
[D+3,D+2,D+1,D]
[D+3,D+2] = Higher 2 words
[D+1, D] = Lower 2 words
○
DIVS
DIVSP
088
089
16 bits
Signed dividing operation
[ S1 ]
÷
[ S2 ] [ D ]
[D+1] = Remainder
[D] = Quotient
○
DDIVS
DDIVSP
128
129
32 bits
Signed dividing operation
[S1+1, S1]
÷
[S2+1, S2]
[D+3, D+2, D+1, D]
[D+3, D+2] = Remainder
[D+1, D] = Quotient
○
S1 S2
S1 S2
D
S1 S2
D
DIV
DIVP
D
DDIV
DDIVP
S1 S2
D
S1 S2
S1 S2
D
MULS
MULSP
D
S1 S2
D
DMULS
DMULSP
S1 S2 D
S1 S2
S1 S2
D
DIVS
DIVSP
D
S1 S2
D
DDIVS
DDIVSP
S1 S2
D