![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_742268099.webp)
60
Instruction Functions
Section 2-2
ASCII TO HEX
HEX
@HEX
162
Output
Required
509
COLUMN TO
LINE
LINE
@LINE
063
Output
Required
513
LINE TO
COLUMN
COLM
@COLM
064
Output
Required
515
Instruction
Mnemonic
Code
Symbol/Operand
Function
Location
Execution
condition
Page
HEX(162)
S
Di
D
S
: 1st source
word
Di
: Digit
designator
D
: Destination
word
C: 0021
Number of digits (n+1)
Right (0)
Left (1)
Di
First digit to write
First byte to convert
Converts up to 4 bytes of ASCII data in the source word to their
hexadecimal equivalents and writes these digits in the specified
destination word.
LINE(063)
S
N
D
S
: 1st source
word
N
: Bit number
D
:
Destination
word
0
0 0 0 1 1 1 1 0 0 0 1 0 0 0 0 1
15
00
S
N
1 1 0 1 0 0 1 0 0 1 1 1 0 0 0 1
S
+1
0 0 0 1 1 0 1 1 0 0 1 0 0 1 1 1
S
+2
.
.
.
.
.
.
. . .
.
.
.
0 1 1 0 0 0 0 1 1 0 0 0 1 0 1 0
S
+15
1 0 0 0 0 0 1 1 0 0 0 0 0 1 1 1
S
+3
0 1
1
D
1
15
00
.
.
.
Bit Bit
Bit Bit
Converts a column of bits from a 16-word range (the same bit number
in 16 consecutive words) to the 16 bits of the destination word.
COLM(064)
S
D
N
S
: Source word
D
: 1st destination
word
N
:
Bit number
0
0 0 0 0 1 1 1 0 0 0 1 0 0 0 0 1
15
00
D
Bi
1 1 0 1 0 0 1 0 0 1 1 1 0 0 0 1
D
+1
0 0 0 1 1 0 1 1 0 0 1 0 0 1 1 1
D
+2
.
0 1 1 1 0 0 0 1 1 0 0 0 1 0 1 0
D
+15
1 0 0 0 0 0 1 1 0 0 0 0 0 1 1 1
D
+3
0 1
1
S
1
15
00
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Converts the 16 bits of the source word to a column of bits in a
16-word range of destination words (the same bit number in 16
consecutive words).
Bit Bit
Bit Bit
Содержание SYSMAC CS1D-CPU**
Страница 3: ...iv...
Страница 29: ...xxx...
Страница 185: ...146 List of Instructions by Function Code Section 2 4...
Страница 193: ...154 3 35 4 MOVE BIT MOVBC 568 1274 3 35 5 BIT COUNTER BCNTC 621 1276 3 35 6 GET VARIABLE ID GETID 286 1278...
Страница 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Страница 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Страница 1391: ...1352 ASCII Code Table Appendix A...