A-2-8 Increment/Decrement Instructions; A-2-9 Symbol Math Instructions - Omron CJ2 CPU UNIT SOFTWARE User Manual

Cj2 cpu unit software
Hide thumbs Also See for CJ2 CPU UNIT SOFTWARE:
Table of Contents

Advertisement

Instruction
Mnemonic
SHIFT N-BIT DATA
NSFR
RIGHT
SHIFT N-BITS LEFT
NASL
DOUBLE SHIFT N-
NSLL
BITS LEFT
SHIFT N-BITS RIGHT
NASR
DOUBLE SHIFT N-
NSRL
BITS RIGHT
*1 The instruction execution time is greatly affected by the amount to data. This will affect the cycle time. To reduce the effect
on the cycle time, background execution can be specified. Refer to 10-2-5 Background Execution for details.
A-2-8
Increment/Decrement Instructions
Instruction
Mnemonic
INCREMENT BINARY
++
DOUBLE INCRE-
++L
MENT BINARY
DECREMENT
– –
BINARY
DOUBLE DECRE-
– –L
MENT BINARY
INCREMENT BCD
++B
DOUBLE INCRE-
++BL
MENT BCD
DECREMENT BCD
– –B
DOUBLE DECRE-
– –BL
MENT BCD
A-2-9
Symbol Math Instructions
Instruction
Mnemonic
SIGNED BINARY ADD
+
WITHOUT CARRY
DOUBLE SIGNED
+L
BINARY ADD WITH-
OUT CARRY
SIGNED BINARY ADD
+C
WITH CARRY
DOUBLE SIGNED
+CL
BINARY ADD WITH
CARRY
BCD ADD WITHOUT
+B
CARRY
DOUBLE BCD ADD
+BL
WITHOUT CARRY
CJ2 CPU Unit Software User's Manual
Length
FUN No.
(steps)
579
4
4.5
39.0
580
3
0.18
582
3
0.32
581
3
0.18
583
3
0.32
FUN No.
Length (steps)
590
2
591
2
592
2
593
2
594
2
595
2
596
2
597
2
FUN No.
Length (steps)
400
4
401
4 to 6
402
4
403
4 to 6
404
4
405
4 to 6
ON execution time (µs)
CJ2H
CJ2M-
CPU6@(-EIP)
CPU@@
5.2
50.2
0.38
0.54
0.38
0.54
ON execution time (µs)
CJ2H
CJ2M-
CPU6@(-EIP)
CPU@@
0.18
0.24
0.18
0.24
0.18
0.24
0.18
0.24
3.0
3.4
3.2
3.5
3.0
3.5
3.2
3.5
ON execution time (µs)
CJ2H
CJ2M-
CPU6@(-EIP)
CPU@@
0.18
0.34
0.18
0.24
0.18
0.34
0.18
0.24
4.0
4.8
4.9
6.0
Appendices
Conditions
Shifting 1 bit
Shifting 1,000 bits
---
---
---
---
Conditions
---
---
---
---
---
---
---
---
Conditions
---
---
---
---
---
---
A-87

Advertisement

Table of Contents
loading

Table of Contents