4. Instruction Execution Times and Number of Steps
Instruction
SIGNED BINARY
DIVIDE
DOUBLE SIGNED
BINARY DIVIDE
UNSIGNED BINARY
DIVIDE
DOUBLE UNSIGNED
BINARY DIVIDE
BCD DIVIDE
DOUBLE BCD DIVIDE
4-3-10 Conversion Instructions
Instruction
BCD TO BINARY
DOUBLE BCD TO DOU-
BLE BINARY
BINARY TO BCD
DOUBLE BINARY TO
DOUBLE BCD
2'S COMPLEMENT
DOUBLE 2'S COMPLE-
MENT
16-BIT TO 32-BIT
SIGNED BINARY
DATA DECODER
DATA ENCODER
ASCII CONVERT
ASCII TO HEX
COLUMN TO LINE
LINE TO COLUMN
1208
Mnemonic
Length
(steps)
/
4
0.40
/L
4 to 6
7.2
/U
4
0.40
/UL
4 to 6
6.9
/B
4
8.6
/BL
4 to 6
17.7
Mnemonic
Length
(steps)
BIN
3
BINL
3 to 4
BCD
3
BCDL
3 to 4
NEG
3
NEGL
3 to 4
SIGN
3
MLPX
4
DMPX
4
ASC
4
HEX
4
LINE
4
COLM
4
ON execution time ( s)
CS1H
CS1G
CS1H
CPU6@H
CPU4@H
CPU6@
0.42
0.75
8.4
9.8
0.42
0.75
8.1
9.1
8.8
15.9
18.9
26.2
ON execution time ( s)
CS1H
CS1G
CS1H
CPU6@H
CPU4@H
CPU6@
0.22
0.24
0.25
6.5
6.8
9.1
0.24
0.26
8.3
6.7
7.0
9.2
0.18
0.20
0.25
0.32
0.34
0.42
0.32
0.34
0.42
0.32
0.42
8.8
0.98
1.20
12.8
3.30
4.00
20.3
6.50
7.90
33.4
7.5
7.9
10.4
49.6
50.2
59.1
18.2
18.6
23.6
55.1
57.4
92.5
6.8
7.1
9.7
11.2
11.7
15.1
7.1
7.4
10.1
19.0
23.1
29.1
23.2
27.5
37.3
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Conditions
CS1G
CPU4@
0.83
---
9.8
---
0.83
---
9.1
---
15.9
---
26.2
---
Conditions
CS1G
CPU4@
0.29
---
9.1
---
8.3
---
9.2
---
0.29
---
0.50
---
0.50
---
8.8
Decoding 1 digit
(4 to 16)
12.8
Decoding 4 dig-
its (4 to 16)
20.3
Decoding 1 digit
8 to 256
33.4
Decoding 4 dig-
its (8 to 256)
10.4
Encoding 1 digit
(16 to 4)
59.1
Encoding 4 dig-
its (16 to 4)
23.6
Encoding 1 digit
(256 to 8)
92.5
Encoding 2 dig-
its (256 to 8)
9.7
Converting 1
digit into ASCII
15.1
Converting 4
digits into ASCII
10.1
Converting 1
digit
29.1
---
37.3
---