Fujitsu MB89990 Series Microcassette Recorder User Manual


 
68
CHAPTER 4 INSTRUCTIONS
4.3 Branch Instructions
This section describes the branch instructions.
Branch Instructions
Mnemonic ~ # Operation TL TH AH N Z V C OP code
BZ/BEQ rel
BNZ/BNE rel
BC/BLO rel
BNC/BHS rel
BN rel
BP rel
BLT rel
BGE rel
BBC dir: b,rel
BBS dir: b,rel
JMP @A
JMP ext
CALLV #vct
CALL ext
XCHW A,PC
RET
RETI
3
3
3
3
3
3
3
3
5
5
2
3
6
6
3
4
6
2
2
2
2
2
2
2
2
3
3
1
3
1
3
1
1
1
If Z = 1 then PC PC + rel
If Z = 0 then PC PC + rel
If C = 1 then PC PC + rel
If C = 0 then PC PC + rel
If N = 1 then PC PC + rel
If N = 0 then PC PC + rel
(PC) (A)
(PC) ext
Vector call
Subroutine call
(PC) (A),(A) (PC) + 1
Return from subrountine
Return form interrupt
dH
– – – –
– – – –
– – – –
– – – –
– – – –
– – – –
– – – –
– – – –
– + – –
– + – –
– – – –
– – – –
– – – –
– – – –
– – – –
– – – –
Restore
FD
FC
F9
F8
FB
FA
FF
FE
B0 to B7
B8 to BF
E0
21
E8 to EF
31
F4
20
30
If V N=1 then PC PC+rel
If V N=0 then PC PC+reI
If(dir:b)=0 then PC PC+rel
If(dir:b)=1 then PC PC+rel