A-89
Appendices
CJ2 CPU Unit Software User’s Manual
A-2 Instruction Execution Times and Number of Steps
App
A-2-10 Conversion Instructions
A-2-10 Conversion Instructions
Instruction Mnemonic FUN No. Length (steps)
ON execution time (µs)
Conditions
CJ2H
CPU6@(-EIP)
CJ2M-
CPU@@
BCD TO BINARY BIN 023 3 0.18 0.280 ---
DOUBLE BCD TO
DOUBLE BINARY
BINL 058 3 to 4 3.3 3.5 ---
BINARY TO BCD BCD 024 3 0.19 0.300 ---
DOUBLE BINARY TO
DOUBLE BCD
BCDL 059 3 to 4 3.3 3.7 ---
2’S COMPLEMENT NEG 160 3 0.14 0.240 ---
DOUBLE 2’S COM-
PLEMENT
NEGL 161 3 to 4 0.26 0.440 ---
16-BIT TO 32-BIT
SIGNED BINARY
SIGN 600 3 0.26 0.340 ---
DATA DECODER MLPX 076 4 0.17 0.280 Decoding 1 digit
(4 to 16)
0.42 0.770 Decoding 4 digits
(4 to 16)
1.14 1.760 Decoding 1 digit 8
to 256
2.17 3.370 Decoding 4 digits
(8 to 256)
DATA ENCODER DMPX 077 4 3.3 4.6 Encoding 1 digit
(16 to 4)
3.7 5.2 Encoding 4 digits
(16 to 4)
17.3 26.3 Encoding 1 digit
(256 to 8)
35 47 Encoding 2 digits
(256 to 8)
ASCII CONVERT ASC 086 4 4.0 4.5 Converting 1 digit
into ASCII
4.6 5.2 Converting 4 dig-
its into ASCII
ASCII TO HEX HEX 162 4 3.3 3.8 Converting 1 digit
COLUMN TO LINE LINE 063 4 10.5 13.1 ---
LINE TO COLUMN COLM 064 4 13.8 17.6 ---
SIGNED BCD TO
BINARY
BINS 470 4 3.6 4.0 Data format
setting No. 0
3.6 4.0 Data format
setting No. 1
3.6 4.0 Data format
setting No. 2
3.6 4.0 Data format
setting No. 3