Hitachi HIDIC MICRO-EH Applications Manual page 312

Table of Contents

Advertisement

No.
Instruction
format
1
d = s
Assignment statement
2
d = s1 + s2
Binary addition
3
d = s1 B+ s2
BCD addition
4
d = s1 – s2
Binary subtraction
5
d = s1 B– s2
BCD subtraction
6
d = s1 × s2
Binary multiplication
7
d = s1 B× s2
BCD multiplication
8
d = s1 S× s2
Signed binary multiplication
9
d = s1 / s2
Binary division
10
d = s1 B/ s2
BCD division
11
d = s1 S/ s2
Signed binary division
12
d = s1 OR s2
Logical OR
13
d = s1 AND s2
Logical AND
14
d = s1 XOR s2
Exclusive OR
15
d = s1 == s2
= comparison expression
16
d = s1 S== s2
Signed = comparison expression
≠ comparison expression
17
d = s1 < > s2
Signed ≠ comparison expression
18
d = s1 S< > s2
19
d = s1 < s2
< comparison expression
20
d = s1 S< s2
Signed < comparison expression
≤ comparison expression
21
d = s1 <= s2
Signed ≤ comparison expression
22
d = s1 S<= s2
No.
Instruction
format
1
BSET (d, n)
Bit set
2
BRES (d, n)
Bit reset
3
BTS (d, n)
Bit test
4
SHR (d, n)
Shift right
5
SHL (d, n)
Shift left
6
ROR (d, n)
Rotate right
7
ROL (d, n)
Rotate left
8
LSR (d, n)
Logical shift right
9
LSL (d, n)
Logical shift left
10
BSR (d, n)
BCD shift right
11
BSL (d, n)
BCD shift left
12
WSHR (d, n)
Batch shift right
13
WSHL (d, n)
Batch shift left
14
WBSR (d, n)
Batch BCD shift right
15
WBSL (d, n)
Batch BCD shift left
16
MOV (d, s, n)
Block transfer
17
COPY (d, s, n)
Copy
Appendix 1 H-series Instruction Support Comparison Chart
[Arithmetic instructions]
Instruction name
MICRO-
[Application instructions] (1/2)
Instruction name
MICRO-
EH-150
H-64
H-200
EH
~
H-20
×
×
×
×
×
×
×
×
×
×
×
×
EH-150
H-64
H-200
EH
~
H-20
×
×
×
×
×
×
×
×
×
×
×
×
×
×
×
×
A-3
H-250
H-252
H-2000
H-2002
H-700
H-1002
H-300
H-702
H-302
H-250
H-252
H-2000
H-2002
H-700
H-1002
H-300
H-702
H-302
H-4010
H-4010

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents