beautypg.com

FUJITSU MB91F109 FR30 User Manual

Page 443

background image

419

APPENDIX E Instructions

20-Bit Delayed-Branch Macro Instructions

2)

When label20-PC-2 is outside of the range in 1) and includes an external reference
symbol, an instruction is created as follows:
Bxcc false xcc is the exclusion condition of cc.
LDI:20 #label20,Ri
JMP @Ri
false:

Table E.1-15 20-Bit Delayed-Branch Macro Instructions

Mnemonic

Operation

Remarks

*CALL20:D

label20,Ri

Next instruction address+2-->RP,
label20-->PC

Ri:Temporary register (See Reference 1.)

*BRA20:D

label20,Ri

*BEQ20:D

label20,Ri

label20-->PC
if(Z==1) then label20-->PC

Ri:Temporary register (See Reference 2.)
Ri:Temporary register (See Reference 3.)

*BNE20:D

label20,Ri

*BC20:D

label20,Ri

*BNC20:D

label20,Ri

*BN20:D

label20,Ri

*BP20:D

label20,Ri

*BV20:D

label20,Ri

*BNV20:D

label20,Ri

*BLT20:D

label20,Ri

*BGE20:D

label20,Ri

*BLE20:D

label20,Ri

*BGT20:D

label20,Ri

*BLS20:D

label20,Ri

*BHI20:D

label20,Ri

s/Z==0
s/C==1
s/C==0
s/N==1
s/N==0
s/V==1
s/V==0
s/V xor N==1
s/V xor N==0
s/(V xor N) or Z==1
s/(V xor N) or Z==0
s/C or Z==1
s/C or Z==0

[Reference 1] CALL20:D

1)

When label20-PC-2 is from -0x800 to +0x7fe, an instruction is created as follows:
CALL:D label12

2)

When label20-PC-2 is outside of the range in 1) and includes an external reference
symbol, an instruction is created as follows:
LDI:20 #label20,Ri
CALL:D @Ri

[Reference 2] BRA20:D

1)

When label20-PC-2 is from -0x100 to +0xfe, an instruction is created as follows:
BRA:D label9

2)

When label20-PC-2 is outside of the range in 1) and includes an external reference
symbol, an instruction is created as follows:
LDI:20 #label20,Ri
JMP:D @Ri

[Reference 3] Bcc20:D

1)

When label20-PC-2 is from -0x100 to +0xfe, an instruction is created as follows:
Bcc:D label9