beautypg.com

FUJITSU F2MCTM-16LX User Manual

Page 627

background image

611

APPENDIX B Instructions

Note:

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

Table B.8-15 28 Other Control Instructions (byte, word, long word)

Mnemonic

#

RG

B

Operation

L

H

A
H

I

S

T

N

Z

V

C

R

M
W

PUSHW

A

1

4

0

(c)

word (SP) <-- (SP) - 2, ((SP)) <-- (A)

-

-

-

-

-

-

-

-

-

-

PUSHW

AH

1

4

0

(c)

word (SP) <-- (SP) - 2, ((SP)) <-- (AH)

-

-

-

-

-

-

-

-

-

-

PUSHW

PS

1

4

0

(c)

word (SP) <-- (SP) - 2, ((SP)) <-- (PS)

-

-

-

-

-

-

-

-

-

-

PUSHW

rlst

2

*3

*5

*4

(SP) <-- (SP) - 2n, ((SP)) <-- (rlst)

-

-

-

-

-

-

-

-

-

-

POPW

A

1

3

0

(c)

word (A) <-- ((SP)), (SP) <-- (SP) + 2

-

*

-

-

-

-

-

-

-

-

POPW

AH

1

3

0

(c)

word (AH) <-- ((SP)), (SP) <-- (SP) + 2

-

-

-

-

-

-

-

-

-

-

POPW

PS

1

4

0

(c)

word (PS) <-- ((SP)), (SP) <-- (SP) + 2

-

-

*

*

*

*

*

*

*

-

POPW

rlst

2

*2

*5

*4

(rlst) <-- ((SP)), (SP) <-- (SP)

-

-

-

-

-

-

-

-

-

-

JCTX

@A

1

14

0

6 x (c)

Context switch instruction

-

-

*

*

*

*

*

*

*

-

AND

CCR,#imm8

2

3

0

0

byte (CCR) <-- (CCR) and imm8

-

-

*

*

*

*

*

*

*

-

OR

CCR,#imm8

2

3

0

0

byte (CCR) <-- (CCR) or imm8

-

-

*

*

*

*

*

*

*

-

MOV

RP,#imm8

2

2

0

0

byte (RP) <-- imm8

-

-

-

-

-

-

-

-

-

-

MOV

ILM,#imm8

2

2

0

0

byte (ILM) <-- imm8

-

-

-

-

-

-

-

-

-

-

MOVEA

RWi,ear

2

3

1

0

word (RWi) <-- ear

-

-

-

-

-

-

-

-

-

-

MOVEA

RWi,eam

2+

2+(a)

1

0

word (RWi) <-- eam

-

-

-

-

-

-

-

-

-

-

MOVEA

A,ear

2

1

0

0

word (A) <-- ear

-

*

-

-

-

-

-

-

-

-

MOVEA

A,eam

2+

1+(a)

0

0

word (A) <-- eam

-

*

-

-

-

-

-

-

-

-

ADDSP

#imm8

2

3

0

0

word (SP) <-- ext(imm8)

-

-

-

-

-

-

-

-

-

-

ADDSP

#imm16

3

3

0

0

word (SP) <-- imm16

-

-

-

-

-

-

-

-

-

-

MOV

A,brg1

2

*1

0

0

byte (A) <-- (brg1)

Z

*

-

-

-

*

*

-

-

-

MOV

brg2,A

2

1

0

0

byte (brg2) <-- (A)

-

-

-

-

-

*

*

-

-

-

NOP

1

1

0

0

No operation

-

-

-

-

-

-

-

-

-

-

ADB

1

1

0

0

Prefix code for AD space access

-

-

-

-

-

-

-

-

-

-

DTB

1

1

0

0

Prefix code for DT space access

-

-

-

-

-

-

-

-

-

-

PCB

1

1

0

0

Prefix code for PC space access

-

-

-

-

-

-

-

-

-

-

SPB

1

1

0

0

Prefix code for SP space access

-

-

-

-

-

-

-

-

-

-

NCC

1

1

0

0

Prefix code for flag no-change

-

-

-

-

-

-

-

-

-

-

CMR

1

1

0

0

Prefix code for common register bank

-

-

-

-

-

-

-

-

-

-

*1: PCB, ADB, SSB, USB, SPB: 1, DTB, DPR: 2
*2: 7 + 3 x (POP count) + 2 x (POP last register number), 7 when RLST = 0 (no transfer register)
*3: 29 + 3 x (PUSH count) - 3 x (PUSH last register number), 8 when RLST = 0 (no transfer register)
*4: (POP count) x (c) or (PUSH count) x (c)
*5: (POP count) or (PUSH count)