Instruction Specifications; Instruction Classifications; List Of Instructions - Hitachi HIDIC MICRO-EH Applications Manual

Table of Contents

Advertisement

Chapter 5
5.1

Instruction Classifications

The instructions used with the MICRO-EH are classified as shown in the following table.
No.
Instruction classification
1
Basic instructions
2
Arithmetic instructions
3
Application instructions
4
Control instructions
5
Transfer instructions
6
FUN instructions
5.2

List of Instructions

[Legend]
Condition codes
DER
ERR
SD
V
C
1]
Processing time

Instruction Specifications

Table 5.1 Instruction classification table
Sequence
Timer/counter
Relational box
Substitution (array variable)
Mathematical operations
Logical operations
Relational expression
Bit operation
Shift/rotate
Transfer
Negation/Two's complement/Sign
Conversion
Application: BCU, SWAP, UNIT, DIST
END, JMP, CAL, FOR, NEXT, RTS, RTI, LBL, SB,
INT, CEND, CJMP
TRNS 0, RECV 0
Refresh, high-speed counter, PMW, pulse, comments
Data error (special internal output R7F4)
Set to "1" as a data error when the I/O number is exceeded or when the BCD was abnormal data, etc.
When there is no data error, it is set to "0."
Error (special internal output R7F3)
Set to "1" when an error is generated when a control instruction and a special instruction are executed.
The error code is set in WRF015. When there are no errors, the previous status is maintained.
Shift data (special internal output R7F2)
Performs shift-in of the contents of SD by the SHR or SHL instruction.
Over flow (special internal output R7F1)
Indicates that a digit overflow has occurred and the signed data range is exceeded as a result of signed
data operations.
Carry (special internal output R7F0)
Indicates the contents of digit increase due to addition, digit decrease due to subtraction, and shift-out
due to shifting.
Maintains the previous status.
Set to "1" when there is an error in operation results. The previous status is maintained if there is no
error.
Changes according to the operation result.
This indicates the instruction processing time.
The displayed value is an average. It varies depending on the parameter and data count with the
instructions used.
See the details on the instruction specifications for details.
Chapter 5 Instruction Specifications
Description
5-1
Type
21
6
8
1
10
3
8
3
8
3
3
4
4
12
2
18

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents