Omron SYSMAC CS Series Instruction & Reference Manual page 297

Hide thumbs Also See for SYSMAC CS Series:
Table of Contents

Advertisement

--B/--BL
Instruction
DECREMENT BCD
DOUBLE DECREMENT BCD
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
--B: Word
Wd
--BL: First word
 Operand Specifications
Word addresses
Area
CIO
WR
HR
--B
Wd
OK
OK
OK
--BL
Wd
Flags
Name
Error Flag
Equals Flag
Carry Flag
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Mnemonic
Variations
--B
@--B
--BL
@--BL
--B
- -B(596)
Wd: Word
Wd
Block program areas
Step program areas
OK
OK
Description
Indirect DM/EM
@DM
AR
T
C
DM
EM
@EM
OK
OK
OK
OK
OK
OK
Label
ER
• ON if the content of Wd/Wd+1 and Wd is not BCD.
• OFF in all other cases.
=
• ON if the result is 0000/0000 0000 after execution.
• OFF in all other cases.
CY
• ON if a digit in Wd/Wd+1 or Wd went from 0 to 9 during execution.
• OFF in all other cases.
Function
code
Decrements the 4-digit BCD content of the speci-
596
fied word by 1.
Decrements the 8-digit BCD content of the speci-
597
fied words by 1.
Subroutines
OK
Data type
--
WORD
DWORD
Registers
addresses
Con-
stants
*DM
DR
*EM
OK
OK
---
---
Operation
3. Instructions
Function
--BL
- -BL(597)
Wd: First word
Wd
SFC action or
Interrupt tasks
transition programs
OK
OK
Size
--L
--
1
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
OK
---
---
---
---
3
--L
2
TR
bits
---
263

Advertisement

Table of Contents
loading

Table of Contents