beautypg.com

FUJITSU F2MCTM-16LX User Manual

Page 619

background image

603

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-4 12 Increment/decrement Instructions (byte, word, long word)

Mnemonic

#

RG

B

Operation

L

H

A
H

I

S

T

N

Z

V

C

R

M
W

INC

ear

2

3

2

0

byte (ear) <-- (ear) + 1

-

-

-

-

-

*

*

*

-

-

INC

eam

2+

5+(a)

0

2 x (b)

byte (eam) <-- (eam) + 1

-

-

-

-

-

*

*

*

-

*

DEC

ear

2

3

2

0

byte (ear) <-- (ear) - 1

-

-

-

-

-

*

*

*

-

-

DEC

eam

2+

5+(a)

0

2 x (b)

byte (eam) <-- (eam) - 1

-

-

-

-

-

*

*

*

-

*

INCW

ear

2

3

2

0

word (ear) <-- (ear) + 1

-

-

-

-

-

*

*

*

-

-

INCW

eam

2+

5+(a)

0

2 x (c)

word (eam) <-- (eam) + 1

-

-

-

-

-

*

*

*

-

*

DECW

ear

2

3

2

0

word (ear) <-- (ear) - 1

-

-

-

-

-

*

*

*

-

-

DECW

eam

2+

5+(a)

0

2 x (c)

word (eam) <-- (eam) - 1

-

-

-

-

-

*

*

*

-

*

INCL

ear

2

7

4

0

long (ear) <-- (ear) + 1

-

-

-

-

-

*

*

*

-

-

INCL

eam

2+

9+(a)

0

2 x (d)

long (eam) <-- (eam) + 1

-

-

-

-

-

*

*

*

-

*

DECL

ear

2

7

4

0

long (ear) <-- (ear) - 1

-

-

-

-

-

*

*

*

-

-

DECL

eam

2+

9+(a)

0

2 x (d)

long (eam) <-- (eam) - 1

-

-

-

-

-

*

*

*

-

*

Table B.8-5 11 Compare Instructions (byte, word, long word)

Mnemonic

#

RG

B

Operation

L

H

A
H

I

S

T

N

Z

V

C

R

M
W

CMP

A

1

1

0

0

byte (AH) - (AL)

-

-

-

-

-

*

*

*

*

-

CMP

A,ear

2

2

1

0

byte (A) - (ear)

-

-

-

-

-

*

*

*

*

-

CMP

A,eam

2+

3+(a)

0

(b)

byte (A) - (eam)

-

-

-

-

-

*

*

*

*

-

CMP

A,#imm8

2

2

0

0

byte (A) - imm8

-

-

-

-

-

*

*

*

*

-

CMPW

A

1

1

0

0

word (AH) - (AL)

-

-

-

-

-

*

*

*

*

-

CMPW

A,ear

2

2

1

0

word (A) - (ear)

-

-

-

-

-

*

*

*

*

-

CMPW

A,eam

2+

3+(a)

0

(c)

word (A) - (eam)

-

-

-

-

-

*

*

*

*

-

CMPW

A,#imm16

3

2

0

0

word (A) - imm16

-

-

-

-

-

*

*

*

*

-

CMPL

A,ear

2

6

2

0

long (A) - (ear)

-

-

-

-

-

*

*

*

*

-

CMPL

A,eam

2+

7+(a)

0

(d)

long (A) - (eam)

-

-

-

-

-

*

*

*

*

-

CMPL

A,#imm32

5

3

0

0

long (A) - imm32

-

-

-

-

-

*

*

*

*

-