![Omron CJ1G-CPUxx Instructions Manual Download Page 30](http://html1.mh-extra.com/html/omron/cj1g-cpuxx/cj1g-cpuxx_instructions-manual_742491030.webp)
9
General Instruction Characteristics
Section 1-1
Specifying Constants
Specifying Text Strings
Method
Applicable
operands
Data
format
Code
Range
Example
Constant
(16-bit data)
All binary data
and binary data
within a range
Unsigned
binary
#
#0000 to #FFFF
---
Signed dec-
imal
±
–32,768 to +32,767
---
Unsigned
decimal
&
&0 to &66,535
---
All BCD data
and BCD data
within a range
BCD
#
#0000 to #9999
---
Constant
(32-bit data)
All binary data
and binary data
within a range
Unsigned
binary
#
#0000 0000 to
#FFFF FFFF
---
Signed dec-
imal
+
–
–2,147,483,648 to
+2,147,483,647
---
Unsigned
decimal
&
&0 to &4,294,967,295
---
All BCD data
and BCD data
within a range
BCD
#
#0000 0000 to
#9999 9999
---
Method
Description
Code
Examples
Instruction example
Text strings
Text is stored in ASCII (1 byte/
character excluding special
characters) starting with the
lower byte of the lowest word
in the range.
If there is an odd number of
characters, 00 (NULL) is
stored in the higher byte of the
last word in the range.
If there is an even number of
characters, 0000 (two NULLs)
are stored in the word after the
last in the range.
"ABCDE"
"A"
"B"
"C"
"D"
"E"
NUL
41
42
43
44
45
00
"ABCD"
"A"
"B"
"C"
"D"
NUL
NUL
41
42
43
44
00
00
41
42
43
44
45
00
MOV$ D00100 D00200
D00100
D00101
D00102
41
42
43
44
45
00
D00200
D00201
D00202
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...