6
General Instruction Characteristics
Section 1-1
Specifying Bit Addresses
Specifying Word Addresses
Specifying Indirect DM/EM Addresses in Binary Mode
First operand
Second operand
MOV
#0000
D00000
Description
Example
Instruction example
Description
Example
Instruction example
MOV 0003 D00200
Description
Example
Instruction example
---
---
When the contents of @D
@@@@@
is between
0000 and 7FFF (00000 to 32,767), the corre-
sponding word between D00000 and D32767 is
specified.
MOV #0001
@D00300
When the contents of @D
@@@@@
is between
8000 and FFFF (32,768 to 65,535), the corre-
sponding word between E0_00000 and E0_32767
in EM bank 0 is specified.
---
To specify a bit address, specify the word
address and bit address directly.
@@@@ @@
Bit number
Word address
Note The word a bit number format is
not used for Timer/Counter Completion
Flags or Task Flags.
0001 02
Bit 02
Word CIO 0001
02
0001
To specify a word address, specify the word
address directly.
@@@@
Word address
0003
Word CIO 0003
D00200
Word D00200
When the @ prefix is input before a DM or EM
address, the contents of that word specifies
another word that is used as the operand. The
contents can be 0000 to 7FFF (0 to 32,767),
corresponding to the desired word address in the
DM or EM Area.
@D
@@@@@
Content
00000 to 32767
(0000 to 7FFF)
D
@D00300
Add the @ prefix.
0 1 0 0
Decimal: 256
Specifies D00256.
@D00300
8 0 0 1
Decimal: 32,769
Specifies E0_00001.
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 ...