EasyManuals Logo

Omron CJ2 CPU UNIT SOFTWARE User Manual

Omron CJ2 CPU UNIT SOFTWARE
670 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #164 background imageLoading...
Page #164 background image
5 Understanding Programming
5-72
CJ2 CPU Unit Software User’s Manual
Specifying indirect
DM/EM addresses in
Binary Mode
*2
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 DM Area or EM Area. Add
the @ symbol at the front to specify an
indirect address in Binary Mode.
D0 to D32767 are specified if
@D@@@@@ contains 0000 to 7FFF
hex (0 to 32767 decimal).
MOV #0001 @D300
E0 _0 to E0 _32767 of bank 0 in the EM
Area are specified if @D@@@@@ con-
tains 8000 to FFFF hex (32768 to
65535 decimal).
@D300
E@_0 to E@_32767 in the specified
bank are specified if @E@_@@@@@
contains 0000 to 7FFF hex (0 to 32767
decimal).
@E1_200 MOV #0001@E1_200
E(@+1)_0 to E(@+1)_32767 in the bank
following the specified bank @ are
specified if @E@_@@@@@ contains
8000 to FFFF hex (32768 to 65535 dec-
imal).
@E1_200
*2 When specifying an indirect address in Binary Mode, treat the DM Area and the EM Area
(banks 0 to 18 hex) as one series of addresses. If the contents of an address with the @ sym-
bol exceeds 32767, the address will be assumed to be an address in the EM Area continuing
on from 0 in bank 0.
Example: If the DM Area word contains 32768, E0_0 in bank 0 in the EM Area would be
specified.
If the EM Area 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 EM Area continuing on from 0 in bank
n+1.
Example: If bank 2 in the EM Area contains 32768, E3_0 in bank 3 in the EM Area would be
specified.
Operand Description Notation Application examples
D
@D
@@@@@
Contents
00000 to 32767
(0000 Hex to
7FFF Hex in BIN)
@D300
&256
Contents
Specifies D256.
Add the @ symbol.
Hex: #0100
&32769
Contents
Specifies E0_01.
Hex: #8001
&257
Contents
Specifies E1_257.
Hex: #0101
&32770
Contents
Specifies E2_2.
Hex: #8002

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ2 CPU UNIT SOFTWARE and is the answer not in the manual?

Omron CJ2 CPU UNIT SOFTWARE Specifications

General IconGeneral
BrandOmron
ModelCJ2 CPU UNIT SOFTWARE
CategorySoftware
LanguageEnglish

Related product manuals