Hitachi NJI-350B Video Game Controller User Manual


 
Chapter 5 Instruction Specifications
5-4
3. Basic instructions (relational box)
R7F4
R7F3
R7F2
R7F1
R7F0
Process
time
(
µ
s)
Classification
Item number
Ladder symbol
Instruction
symbol
Instruction
name
Process descriptions I/O types used
DERERR SD V C
MICRO-EH
Steps
Remarks
Relational box
28 LD
(s1==
s2)
= Relational
box
When s1 = s2: Continuity
When s1 s2:
Noncontinuity
zzzzz
27 5
6
7
8
*1
*2
Upper
case: W
AND
(s1==
s2)
[Word]
WX, WY, WR,
WM,
Timer Counter
[Double word]
DX, DY, DR,
DM
Constant
35 Lower
case: DW
OR
(s1==
s2)
29 LD
(s1
S==
s2)
Signed =
Relational
box
When s1 = s2: Continuity
When s1 s2:
Noncontinuity
s1 and s2 are compared as
signed 32-bit binary.
DX, DY, DR,
DM
Constant
zzzzz
35 5
6
7
8
*2
AND
(s1
S==
s2)
OR
(s1
S==
s2)
30 LD
(s1<
>s2)
<>
Relational
box
When s1 = s2:
Noncontinuity
When s1 s2: Continuity
zzzzz
26.8 5
6
7
8
*1
*2
Upper
case: W
AND
(s1<
>s2)
[Word]
WX, WY, WR,
WM,
Timer Counter
[Double word]
DX, DY, DR,
DM
Constant
34.5 Lower
case: DW
OR
(s1<
>s2)
31 LD
(s1
S<>
s2)
Signed <>
Relational
box
When s1 = s2:
Noncontinuity
When s1 s2: Continuity
s1 and s2 are compared as
signed 32-bit binary.
DX, DY, DR,
DM
Constant
zzzzz
34.5 5
6
7
8
*2
AND
(s1
S<>
s2)
OR
(s1
S<>
s2)
*1: In the case of word, it requires five steps for LD (s1s2) and AND (s1s2), and six steps for OR (s1s2).
*2: In the case of double word, for LD (s1s2) and AND (s1s2), it requires five steps when the combination of s1 and s2 is I/O
and I/O, six steps when the combination is either I/O and constant or constant and I/O, and seven steps when the combination
is constant and constant. For OR (s1s2), one step is added respectively.
s1
<>
s2
s1
<>
s2
s1
<>
s2
s1
==
s2
s1
==
s2
s1
==
s2
s1
S==
s2
s1
S==
s2
s1
S==
s2
s1
S<>
s2
s1
S<>
s2
s1
S<>
s2