Omron CJ - REFERENCE MANUAL 10-2009 Reference Manual page 404

Table of Contents

Advertisement

3. Instructions
*B/*BL
Instruction
BCD MULTIPLY
DOUBLE BCD MULTIPLY
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
*B: Multiplicand word
Md
*BL: First multiplicand word
*B: Multiplier word
Mr
*BL: First multiplier word
R
First result word
Operand Specifications
Area
CIO
WR
HR
Md, Mr
*B
OK
OK
OK
R
Md, Mr
*BL
OK
OK
OK
R
Flags
Name
Error Flag
ER
Equals Flag
=
366
Mnemonic
Variations
*B
@*B
*BL
@*BL
*B
*B(424)
Md
Md: Multiplicand word
Mr
Mr: Multiplier word
R
R: Result word
Block program areas
Step program areas
OK
OK
Description
Word addresses
AR
T
C
DM
EM
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
Label
• ON when Md is not BCD.
• ON when Mr is not BCD.
• OFF in all other cases.
• ON when the result is 0.
• OFF in all other cases.
Function
code
Multiplies 4-digit (single-word) BCD data and/or
424
constants.
Multiplies 8-digit (double-word) BCD data and/or
425
constants.
Subroutines
OK
Data type
*B
*BL
WORD
DWORD
WORD
DWORD
DWORD
LWORD
Indirect
DM/EM
Registers
Con-
addresses
stants
@DM
*DM
DR
@EM
*EM
OK
OK
OK
OK
---
---
OK
OK
OK
---
---
Operation
*B
• 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.
• ON when the result is 0.
• OFF in all other cases.
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Function
*BL
*BL(425)
Md
Md: 1st multiplicand word
Mr
Mr: 1st multiplier word
R
R: 1st result word
SFC action or
Interrupt tasks
transition programs
OK
OK
Size
*B
*BL
1
2
1
2
2
4
Pulse
TK
CF
bits
Indirect
IR
using IR
---
OK
---
---
---
---
OK
---
---
---
*BL
TR
bits
---
---

Advertisement

Table of Contents
loading

Table of Contents