APPENDIX A Instruction List

Table A.2-3 Operation List (for Branch Instructions)

No

MNEMONIC

~

#

OPERATION

TL

TH

AH

NZVC

OP CODE

 

 

 

 

 

 

 

 

 

 

 

1

BZ/BEQ rel

(divergence)

4

2

if Z=1 then PC PC+rel

– – – –

FD

 

 

(no divergence)

2

 

 

 

 

 

 

 

2

BNZ/BNE rel

(divergence)

4

2

if Z=0 then PC PC+rel

– – – –

FC

 

 

(no divergence)

2

 

 

 

 

 

 

 

3

BC/BLO rel

(divergence)

4

2

if C=1 then PC PC+rel

– – – –

F9

 

 

(no divergence)

2

 

 

 

 

 

 

 

4

BNC/BHS rel

(divergence)

4

2

if C=0 then PC PC+rel

– – – –

F8

 

 

(no divergence)

2

 

 

 

 

 

 

 

5

BN rel

(divergence)

4

2

if N=1 then PC PC+rel

– – – –

FB

 

 

(no divergence)

2

 

 

 

 

 

 

 

6

BP rel

(divergence)

4

2

if N=0 then PC PC+rel

– – – –

FA

 

 

(no divergence)

2

 

 

 

 

 

 

 

7

BLT rel

(divergence)

4

2

if V N=1 then

– – – –

FF

 

 

(no divergence)

2

 

PC PC+rel

 

 

 

 

 

8

BGE rel

(divergence)

4

2

if V N=0 then

– – – –

FE

 

 

(no divergence)

2

 

PC PC+rel

 

 

 

 

 

9

BBC dir:b, rel

 

5

3

if (dir:b)=0 then

– + – –

B0 to B7

 

 

 

 

 

PC PC+rel

 

 

 

 

 

10

BBS dir:b, rel

 

5

3

if (dir:b)=1 then

– + – –

B8 to BF

 

 

 

 

 

PC PC+rel

 

 

 

 

 

11

JMP @A

 

3

1

(PC) (A)

– – – –

E0

12

JMP ext

 

4

3

(PC) ext

– – – –

21

13

CALLV #vct

 

7

1

vector call

– – – –

E8 to EF

14

CALL ext

 

6

3

subroutine call

– – – –

31

15

XCHW A, PC

 

3

1

(PC) (A),

dH

– – – –

F4

 

 

 

 

 

(A) (PC)+1

 

 

 

 

 

16

RET

 

6

1

return from subroutine

– – – –

20

17

RETI

 

8

1

return from interrupt

restore

30

 

 

 

 

 

 

 

 

 

 

 

231

Page 243
Image 243
Fujitsu F2MC-8FX manual Table A.2-3 Operation List for Branch Instructions