beautypg.com

FUJITSU F2MCTM-16LX User Manual

Page 623

background image

607

APPENDIX B Instructions

Note:

See Table B.5-1 and Table B.5-2 for information on (a) to (d) in the table.

Note:

See Table B.5-1 and Table B.5-2 for information on (a) to (d) in the table.

Table B.8-9 6 Logic 2 Instructions (long word)

Mnemonic

#

RG

B

Operation

L

H

A
H

I

S

T

N

Z

V

C

R

M
W

ANDL

A,ear

2

6

2

0

long (A) <-- (A) and (ear)

-

-

-

-

-

*

*

R

-

-

ANDL

A,eam

2+

7+(a)

0

(d)

long (A) <-- (A) and (eam)

-

-

-

-

-

*

*

R

-

-

ORL

A,ear

2

6

2

0

long (A) <-- (A) or (ear)

-

-

-

-

-

*

*

R

-

-

ORL

A,eam

2+

7+(a)

0

(d)

long (A) <-- (A) or (eam)

-

-

-

-

-

*

*

R

-

-

XORL

A,ear

2

6

2

0

long (A) <-- (A) xor (ear)

-

-

-

-

-

*

*

R

-

-

XORL

A,eam

2+

7+(a)

0

(d)

long (A) <-- (A) xor (eam)

-

-

-

-

-

*

*

R

-

-

Table B.8-10 6 Sign Inversion Instructions (byte, word)

Mnemonic

#

RG

B

Operation

L

H

A
H

I

S

T

N

Z

V

C

R

M
W

NEG

A

1

2

0

0

byte (A) <-- 0 - (A)

X

-

-

-

-

*

*

*

*

-

NEG

ear

2

3

2

0

byte (ear) <-- 0 - (ear)

-

-

-

-

-

*

*

*

*

-

NEG

eam

2+

5+(a)

0

2 x (b)

byte (eam) <-- 0 - (eam)

-

-

-

-

-

*

*

*

*

*

NEGW

A

1

2

0

0

word (A) <-- 0 - (A)

-

-

-

-

-

*

*

*

*

-

NEGW

ear

2

3

2

0

word (ear) <-- 0 - (ear)

-

-

-

-

-

*

*

*

*

-

NEGW

eam

2+

5+(a)

0

2 x (c)

word (eam) <-- 0 - (eam)

-

-

-

-

-

*

*

*

*

*

Table B.8-11 1 Normalization Instruction (long word)

Mnemonic

#

RG

B

Operation

L

H

A
H

I

S

T

N

Z

V

C

R

M
W

NRML

A,R0

2

*1

1

0

long (A) <-- Shifts to the position where '1' is set for
the first time.
byte (RD) <-- Shift count at that time

-

-

-

-

-

-

*

-

-

-

*1: 4 when all accumulators have a value of 0; otherwise, 6+(R0)