B/*Bl - Omron SYSMAC CP Series Instruction & Reference Manual

Cpu unit
Hide thumbs Also See for SYSMAC CP Series:
Table of Contents

Advertisement

*B/*BL

Instruction
BCD MULTIPLY
DOUBLE BCD MULTIPLY
Symbol
Applicable Program Areas
Area
Usage
Operands
Operand
*B: Multiplicand word
Md
*BL: First multiplicand word
*B: Multiplier word
Mr
*BL: First multiplier word
R
First result word
Operand Specifications
Word addresses
Area
CIO
WR
HR
Md, Mr
OK
OK
OK
R
Flags
Name
Error Flag
P_ER
Equals Flag
P_EQ
CP1E CPU Unit Instructions Reference Manual(W483)
Mnemonic
Variations
*B
@*B
*BL
@*BL
*B
*B(424)
Md
Md: Multiplicand word
Mr
Mr: Multiplier word
R
R: Result word
Step program areas
OK
Description
AR
T
C
DM
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 addresses
Constants
@DM
*DM
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.
2 Instructions
Function
*BL
*BL(425)
Md
Md: 1st multiplicand word
Mr
Mr: 1st multiplier word
R
R: 1st result word
Interrupt tasks
OK
Size
*B
*BL
1
2
1
2
2
4
CF
Pulse bits
TR bits
---
---
---
*BL
2-179
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents