Fujitsu MB89202 Computer Hardware User Manual


 
397
Branch Instructions
58 CMP @EP, #d8 4 2 ( (EP) )-d8 - - - + + + + 97
59 CMP @IX+off, #d8 5 3 ( (IX)+off)-d8 - - - + + + + 96
60 CMP Ri, #d8 4 2 (Ri)-d8 - - - + + + + 98 to 9F
61 INCW SP 3 1 (SP) (SP)+1 - - - - - - - C1
62 DECW SP 3 1 (SP) (SP)-1 - - - - - - - D1
Table B.4-2 List of Operation Instructions (4 / 4)
No. MNEMONIC ~ # Operation TL TH AH N Z V C OP CODE
Table B.4-3 List of Branch Instructions
No. MNEMONIC ~ # Operation TL TH AH N Z V C OP CODE
1BZ/BEQ rel 3 2if Z=1 then PC PC+rel - - - ---- FD
2 BNZ/BNE rel 3 2 if Z=0 then PC PC+rel - - - ---- FC
3 BC/BLO rel 3 2 if C=1 then PC PC+rel - - - ---- F9
4 BNC/BHS rel 3 2 if C=0 then PC PC+rel - - - ---- F8
5BN rel 3 2if N=1 then PC PC+rel - - - ---- FB
6BP rel 3 2if N=0 then PC PC+rel - - - ---- FA
7BLT rel 3 2 - - - ---- FF
8BGE rel 3 2 - - - ---- FE
9 BBC dir:b, rel 5 3 if(dir:b)=0 then PC PC+rel - - - - + - - B0 to B7
10 BBS dir:b, rel 5 3 if(dir:b)=1 then PC PC+rel - - - - + - - B8 to BF
11 JMP @A 2 1 (PC) (A) - - - ---- E0
12 JMP ext 3 3 (PC) ext - - - ---- 21
13 CALLV #vct 6 1 vector call - - - - - - - E8 to EF
14 CALL ext 6 3 subroutine call - - - - - - - 31
15 XCHW A, PC 3 1 (PC) (A), (A) (PC)+1 - - dH---- F4
16 RET 4 1 return from subroutine - - - - - - - 20
17 RETI 6 1 return from interrupt - - - restore 30
if N=1 then PC PC+rel
if N=0 then PC PC+rel