Omron CS1G/H-CPUxxH Instructions Manual page 30

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

General Instruction Characteristics
Specifying Constants
Method
Applicable
operands
Constant
All binary data
(16-bit data)
and binary data
within a range
All BCD data
and BCD data
within a range
Constant
All binary data
(32-bit data)
and binary data
within a range
All BCD data
and BCD data
within a range
Specifying Text Strings
Method
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.
Data
Code
format
Unsigned
#
binary
±
Signed dec-
imal
Unsigned
&
decimal
BCD
#
Unsigned
#
binary
Signed dec-
+
imal
Unsigned
&
decimal
BCD
#
Description
Code
Range
#0000 to #FFFF
---
–32,768 to +32,767
---
&0 to &66,535
---
#0000 to #9999
---
#0000 0000 to
---
#FFFF FFFF
–2,147,483,648 to
---
+2,147,483,647
&0 to &4,294,967,295
---
#0000 0000 to
---
#9999 9999
Examples
"ABCDE"
MOV$ D00100 D00200
"A"
"B"
D00100
"C"
"D"
D00101
"E"
NUL
D00102
41
42
43
44
D00200
45
00
D00201
D00202
"ABCD"
"A"
"B"
"C"
"D"
NUL
NUL
41
42
43
44
00
00
Section 1-1
Example
Instruction example
41
42
43
44
45
00
41
42
43
44
45
00
9

Advertisement

Table of Contents
loading

Table of Contents