Hitachi NJI-350B User Manual

Page 312

Advertising
background image

Appendix 1 H-series Instruction Support Comparison Chart

A-3

[Arithmetic instructions]

No.

Instruction

format

Instruction name

MICRO-

EH

EH-150

H-64

~

H-20

H-200

H-250

H-252

H-2000

H-700
H-300

H-2002
H-1002

H-702
H-302

H-4010

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

{

{

Ч

Ч

{

{

{

{

{

17

d = s1 < > s2

≠ comparison expression

{

{

{

{

{

{

{

{

{

18

d = s1 S< > s2

Signed

≠ comparison expression

{

{

Ч

Ч

{

{

{

{

{

19

d = s1 < s2

< comparison expression

{

{

{

{

{

{

{

{

{

20

d = s1 S< s2

Signed < comparison expression

{

{

Ч

Ч

{

{

{

{

{

21

d = s1 <= s2

≤ comparison expression

{

{

{

{

{

{

{

{

{

22

d = s1 S<= s2

Signed

≤ comparison expression

{

{

Ч

Ч

{

{

{

{

{

[Application instructions] (1/2)

No.

Instruction

format

Instruction name

MICRO-

EH

EH-150

H-64

~

H-20

H-200

H-250

H-252

H-2000

H-700
H-300

H-2002
H-1002

H-702
H-302

H-4010

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

{

{

Ч

Ч

{

{

{

{

{

Advertising