469
Symbol Math Instructions
Section 3-11
Description
*B(424) multiplies the BCD content of Md and Mr and outputs the result to R,
R+1.
Flags
Precautions
If Md and/or Mr 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 is 0000 hex, the
Equals Flag will turn ON.
Examples
When CIO 000000 is ON in the following example, D00100 and D00110 will
be multiplied as 4-digit BCD values and the result will be output to D00121
and D00120.
Constants
#0000 to #9999
(BCD)
---
Data Registers
DR0 to DR15
---
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 R
(BCD)
(BCD)
(BCD)
×
Md
Mr
Name
Label
Operation
Error Flag
ER
ON when Md is not BCD.
ON when Mr is not BCD.
OFF in all other cases.
Equals Flag
=
ON when the result is 0.
OFF in all other cases.
Summary of Contents for SYSMAC CS1D-CPU**
Page 3: ...iv...
Page 29: ...xxx...
Page 185: ...146 List of Instructions by Function Code Section 2 4...
Page 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Page 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Page 1391: ...1352 ASCII Code Table Appendix A...