4. Instruction Execution Times and Number of Steps
Instruction
DOUBLE ROTATE RIGHT
WITHOUT CARRY
ONE DIGIT SHIFT LEFT
ONE DIGIT SHIFT RIGHT
SHIFT N-BIT DATA LEFT
SHIFT N-BIT DATA RIGHT
SHIFT N-BITS LEFT
DOUBLE SHIFT N-BITS
LEFT
SHIFT N-BITS RIGHT
DOUBLE SHIFT N-BITS
RIGHT
4-1-8
Increment/Decrement Instructions
Instruction
INCREMENT BINARY
DOUBLE INCREMENT
BINARY
DECREMENT BINARY
DOUBLE DECREMENT
BINARY
INCREMENT BCD
DOUBLE INCREMENT BCD
DECREMENT BCD
DOUBLE DECREMENT BCD – –BL
4-1-9
Symbol Math Instructions
Instruction
SIGNED BINARY ADD WITH-
OUT CARRY
DOUBLE SIGNED BINARY
ADD WITHOUT CARRY
SIGNED BINARY ADD WITH
CARRY
DOUBLE SIGNED BINARY
ADD WITH CARRY
BCD ADD WITHOUT CARRY +B
DOUBLE BCD ADD WITH-
OUT CARRY
BCD ADD WITH CARRY
1152
Mnemonic
Length
(steps)
RRNL
2
SLD
3
SRD
3
NSFL
4
NSFR
4
NASL
3
NSLL
3
NASR
3
NSRL
3
*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 execu-
tion can be specified.
Mnemonic
Length
(steps)
++
2
++L
2
– –
2
– –L
2
++B
2
++BL
2
– –B
2
2
Mnemonic
Length
(steps)
+
4
+L
4 to 6
+C
4
+CL
4 to 6
4
+BL
4 to 6
+BC
4
ON execution time ( s)
CJ2H
CJ2M CPU@@
CPU6@(-EIP)
0.32
0.420
3.7
4.4
317.8
429
4.5
5.4
479.5
656
4.6
5.2
31.5
36.1
4.5
5.2
39.0
50.2
0.18
0.38
0.32
0.54
0.18
0.38
0.32
0.54
ON execution time ( s)
CJ2H
CJ2M CPU@@
CPU6@(-EIP)
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 CPU@@
CPU6@(-EIP)
0.18
0.34
0.18
0.24
0.18
0.34
0.18
0.24
4.0
4.8
4.9
6.0
4.4
5.2
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Conditions
---
Shifting 1 word
Shifting 1,000 words
Shifting 1 word
Shifting 1,000 words
Shifting 1 bit
Shifting 1,000 bits
Shifting 1 bit
Shifting 1,000 bits
---
---
---
---
Conditions
---
---
---
---
---
---
---
---
Conditions
---
---
---
---
---
---
---
Need help?
Do you have a question about the CJ - INSTRUCTIONS and is the answer not in the manual?
Questions and answers