Chapter 5 Instruction Specifications

Shift/rotate Classification

Transfer

Negation / Two's complement / Sign

number

Ladder symbol

Item

 

10 BSR(d, n)

11BSL(d, n)

12MOV(d, s, n)

13 COPY(d, s, n)

14 XCG(d1, d2, n)

15 NOT(d)

16 NEG(d)

17 ABS(d, s)

Instruction symbol

Instruction

 

Process descriptions

name

 

 

 

 

 

 

BCD shift

 

 

 

 

 

right

 

 

d

 

 

0→

 

 

 

 

 

 

 

 

Shifts BCD to right by n

BCD shift

digits.

 

 

 

 

 

 

 

d

 

 

left

 

 

 

 

 

 

←0

 

 

 

 

 

 

 

 

 

Shifts BCD to left by n

 

digits.

Block

Transfers (copies) n bits (or

transfer

words) of data from I/O

 

number s to the n bit (or

 

word) range from I/O

 

number s.

Copy

Copies the bit (or word)

 

data of I/O number s to the

 

n bit (or word) range from

 

I/O number d.

Block

Exchanges the n bit (or

exchange

word) range from I/O

 

number d1 and the n bit (or

 

word) range from I/O

 

number d2.

Reverse

Reverses the bit for the I/O

 

number d value.

Two's

Stores two's complement of

complement the value stored in I/O

 

number d, in d.

Absolute

Stores the absolute value of

value

s in d, and the sign value of

 

s in carry (R7F0).

 

(0: Positive, 1: Negative)

I/O types used

[Word]

d:WY, WR, WM,

TC

n:WX, WY, WR, WM, TC, Constant

[Double word]

d:DY, DR, DM

n:WX, WY, WR, WM, TC, constant

[Bit]

d, s: R, M

n(0-255): WX, WY, WR, WM, TC, Constant [Word]

d, s: WR, WM n(0-255):WX, WY, WR, WM, TC, Constant

[Bit] d: R, M

s:X, Y, R, M, Constant n(0-255): WX, WY, WR, WM, TC, Constant [Word]

d:WR, WM

s, n(0-255): WX, WY, WR, WM, TC, Constant [Bit]

d1, d2: R, M

n(0-255): WX, WY, WR, WM, TC, Constant [Word]

d:WR, WM

n(0-255): WX, WY, WR, WM, TC, Constant [Bit]

Y, R, M [Word]

WY, WR, WM [Double word] DY, DR, DM [Word]

WY, WR, WM

[Double word] DY, DR, DM

[Word]

d:WY, WR, WM

s:WX, WY, WR, WM, TC, Constant [Double word]

d:DY, DR, DM

s:DX, DY, DR, DM, Constant

R7F4

R7F3

R7F2

R7F1

R7F0

DER ERR SD

V

C

z

z

z

z

z

z z z z z

z z z z

z z z z

z z z z

z z z z z

z z z z z

z z z z

Process

time (s)

MICRO-EH

32

40

32

39

153

124

80

73

139

120

27

22

28

22

29

30

41

Steps

3

3

3

3

4

4

4

4

4

4

2

2

2

2

2

3

4

Remarks

Upper case: W Lower case: DW

Upper case: W Lower case: DW

*3 Upper case: B

Lower case: W

*3 Upper case: B

Lower case: W

*3 Upper case: B

Lower case: W

Upper case: B Middle case: W Lower case: DW

Upper case: W

Lower case: DW

Upper case: W Lower case: DW

5-9

Page 59
Image 59
Hitachi NJI-350B manual Instruction symbol Process descriptions Name, Wy, Wr, Wm