378
Symbol Math Instructions Section 3-10
Description *BL(425) multiplies BCD values in Md and Md+1 and Mr and Mr+1 and out-
puts the result to R to R+3.
Flags
Precautions If Md, Md+1 and/or Mr, Mr+1 are not BCD, an error will be generated and the
Error Flag will turn ON.
If as a result of the multiplication, the content of R, R+1, R+2, R+3 is 0000
hex, the Equals Flag will turn ON.
Examples When CIO 0.01 is ON in the following example, D201, D200, D211, and D210
will be multiplied as 8-digit unsigned BCD values and the result will be output
to D220 to D223.
3-10-23 SIGNED BINARY DIVIDE: /(430)
Purpose Divides 4-digit (single-word) signed hexadecimal data and/or constants.
Ladder Symbol
Index Registers ---
Indirect addressing
using Index Registers
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
Area Md Mr R
R + 1 RR + 3 R + 2
(BCD)
(BCD)
(BCD)
×
Md + 1 Md
Mr + 1 Mr
Name Label Operation
Error Flag ER ON when Md and/or Md+1 are not BCD.
ON when Mr and/or Mr +1 are not BCD.
OFF in all other cases.
Equals Flag = ON when the result is 0.
OFF in all other cases.
0.01
D200
D210
D220
/(430)
R
Dd
Dr
Dd: Dividend word
Dr: Divisor word
R: Result word