Hitachi HIDIC MICRO-EH Applications Manual page 313

Table of Contents

Advertisement

No.
Instruction
format
18
XCG (d, d2, n)
Block exchange
19
NOT (d)
Reverse
20
NEG (d)
Two's complement
21
ABS (d, s)
Absolute value
22
SGET (d, s)
Sign addition
23
EXT (d, s)
Sign expansion
Binary → BCD conversion
24
BCD (d, s)
BCD → Binary conversion
25
BIN (d, s)
26
DECO (d, s, n)
Decode
27
ENCO (d, s, n)
Encode
28
SEG (d, s)
7 segment decode
29
SQR (d, s)
Square root
30
BCU (d, s)
Bit count
31
SWAP (d)
Swap
32
FIFIT (P, n)
Initialize FIFO
33
FIFWR (P, s)
Write FIFO
34
FIFRD (P, d)
Read FIFO
35
UNIT (d, s, n)
Unit
36
DIST (d, s, n)
Distribute
37
ADRIO (d, s)
Convert I/O address
No.
Instruction
format
1
END
End normal scan
2
CEND (s)
End scan condition
3
JMP n
Unconditional jump
4
CJMP n (s)
Conditional jump
5
RSRV n
Reserve
6
FREE
Free reserve
7
LBL n
Label
8
FOR n (s)
For
9
NEXT n
Next
10
CAL n
Call subroutine
11
SB n
Start subroutine program
12
RTS
Return subroutine
13
START n
Start basic task
14
INT n
Start interrupt scan program
15
RTI
Return interrupt
Appendix 1 H-series Instruction Support Comparison Chart
[Application instructions] (2/2)
Instruction name
MICRO-
[Control instructions]
Instruction name
MICRO-
EH-150
H-64
H-200
EH
~
H-20
×
×
×
×
×
×
×
×
×
×
×
×
×
×
×
×
×
×
×
×
×
×
×
×
×
×
EH-150
H-64
H-200
EH
~
H-20
×
×
×
×
×
×
×
×
×
×
×
×
×
×
×
×
A-4
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