Omron CJ2 CPU UNIT SOFTWARE User Manual page 516

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

Advertisement

Appendices
Instruction
Mnemonic
Code
COLUMN TO
LINE
063
LINE
@LINE
LINE TO
COLM
064
COLUMN
@COLM
SIGNED BCD-
BINS
470
TO-BINARY
@BINS
DOUBLE
BISL
472
SIGNED BCD-
@BISL
TO-BINARY
SIGNED
BCDS
471
BINARY-TO-
@BCDS
BCD
A-32
Symbol/Operand
Converts a column of bits from a 16-word range (the same
LINE(063)
bit number in 16 consecutive words) to the 16 bits of the
S
destination word.
N
Bit
D
15
S
0 0 0 1 1 1 1 0 0 0 1 0 0 0 0 1
S: 1st source word
S+1
1 1 0 1 0 0 1 0 0 1 1 1 0 0 0 1
N: Bit number
S+2
0 0 0 1 1 0 1 1 0 0 1 0 0 1 1 1
D: Destination
word
S+3
1 0 0 0 0 0 1 1 0 0 0 0 0 1 1 1
.
.
.
S+15
0 1 1 0 0 0 0 1 1 0 0 0 1 0 1 0
Converts the 16 bits of the source word to a column of
COLM(064)
bits in a 16-word range of destination words (the same
S
bit number in 16 consecutive words).
D
N
S
S: Source word
D: 1st destination
word
N: Bit number
D
D+1
D+2
D+3
.
.
.
D+15
Converts one word of signed BCD data to one word of
BINS(470)
signed binary data.
C
S
D
Signed BCD
C: Control word
S: Source word
D: Destination
word
Converts double signed BCD data to double
BISL(472)
signed binary data.
C
S
D
Signed BCD
C: Control word
S: 1st source word
Signed BCD
D: 1st destination
word
Converts one word of signed binary data to one word of
BCDS(471)
signed BCD data.
C
S
D
Signed binary
C: Control word
S: Source word
D: Destination
word
Function
N
Bit
00
.
.
.
.
.
.
.
.
.
Bit
15
. . .
D
0
Bit
15
.
.
.
.
.
.
.
0
0 1
Bi
Bit
15
0 0 0 0 1 1 1 0 0 0 1 0 0 0 0 1
1 1 0 1 0 0 1 0 0 1 1 1 0 0 0 1
0 0 0 1 1 0 1 1 0 0 1 0 0 1 1 1
1 0 0 0 0 0 1 1 0 0 0 0 0 1 1 1
.
.
.
.
.
.
0 1 1 1 0 0 0 1 1 0 0 0 1 0 1 0
Signed BCD format
specified in C
Signed binary
Signed BCD format
specified in C
Signed binary
Signed binary
Signed BCD format
specified in C
Signed BCD
CJ2 CPU Unit Software User's Manual
Execution
Location
condition
Output
Required
Bit
00
0 1
1
1
Output
Required
Bit
00
1
1
Bit
00
.
.
.
Output
Required
Output
Required
Output
Required

Advertisement

Table of Contents
loading

Table of Contents