![Omron CJ1G-CPU series Programming Manual Download Page 47](http://html1.mh-extra.com/html/omron/cj1g-cpu-series/cj1g-cpu-series_programming-manual_742489047.webp)
26
Basic Concepts
Section 2-1
Specifying
indirect DM/
EM addresses
in Binary
Mode
1) D00000 to D32767 are specified if
@D(
@@@@@
) contains 0000 Hex to 7FFF
Hex (00000 to 32767).
MOV #0001
@00300
2) E0 _00000 to E0 _32767 of bank 0 in
Extended Data Memory (EM) are specified
if @D(
@@@@@
) contains 8000 Hex to
FFFF Hex (32768 to 65535).
3) E
@
_00000 to E
@
_32767 in the specified
bank are specified if @E
@
_
@@@@@
con-
tains 0000 Hex to 7FFF Hex (00000 to
32767).
MOV #0001
@E1_00200
4) E(
@
+1)_00000 to E(
@
+1)_32767 in the
bank following the specified bank
@
are
specified if @E
@
_
@@@@@
contains
8000 Hex to FFFF Hex (32768 to 65535).
Note When specifying an indirect address in Binary Mode, treat Data Memory (DM) and Extended Data
Memory (EM) (banks 0 to C) as one series of addresses. If the contents of an address with the @
symbol exceeds 32767, the address will be assumed to be an address in the Extended Data Mem-
ory (EM) continuing on from 00000 in bank No. 0.
Example: If the Data Memory (DM) word contains 32768, E1_00000 in bank 0 in Extended Data Mem-
ory (EM) would be specified.
Note If the Extended Data Memory (EM) bank number is specified as “n” and the contents of the word
exceeds 32767, the address will be assumed to be an address in the Extended Data Memory (EM)
continuing on from 00000 in bank N+1.
Example: If bank 2 in Extended Data Memory (EM) contains 32768, E3_00000 in bank number 3 in
Extended Data Memory (EM) would be specified.
Operand
Description
Notation
Application
examples
@D
@@@@@
The offset from the beginning of the area is
specified. The contents of the address will be
treated as binary data (00000 to 32767) to
specify the word address in Data Memory (DM)
or Extended Data Memory (EM). Add the @
symbol at the front to specify an indirect ad-
dress in Binary Mode.
Contents
00000 to 32767
(0000 Hex to
7FFF Hex in BIN)
D
@D00300
Contents
0 1 0 0
Binary: 256
Specifies D00256.
Add the @ symbol.
@D00300
Contents
8 0 0 1
Binary: 32769
Specifies E0 00001.
@E1_00200
Contents
0 1 0 1
Binary: 257
Specifies E1_00257.
@E1_00200
Contents
8 0 0 2
Binary: 32770
Specifies E2_00002.
Summary of Contents for CJ1G-CPU series
Page 3: ...iv...
Page 5: ...vi...
Page 21: ...xxii Conformance to EC Directives 6...
Page 169: ...148 Task Control Instructions Section 3 32...
Page 203: ...182 Programming Device Operations for Tasks Section 4 4...
Page 253: ...232 Using File Memory Section 5 3...
Page 337: ...316 Other Functions Section 6 11...
Page 347: ......
Page 369: ......
Page 373: ......
Page 379: ......
Page 381: ...360 Revision History...