25.04.2020 Views

1989_MELPS_7700_Software_Manual

Mitsubishi MELPS 7700 series microcomputer instruction set and addressing mode handbook

Mitsubishi MELPS 7700 series microcomputer instruction set and addressing mode handbook

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

BPL

Branch on Result Plus

BPL

Operation

When N=O,

PC ~ PC + 2 ± REL (REL is instruction's second byte)

PG ~ PG + 1 (if carry on PC), PG ~ PG - 1 (if borrow on PC)

When N=1,

PC ~ PC + 2

PG ~ PG + 1 (if carry on PC)

Description

When the negative flag N is clear (0), the BPL instruction causes a branch to the

specified address. The branch address is specified by a relative address.

When the negative flag N is set (1), the program advances to next step without

any action.

Status flags

Not affected.

Addressing mode Syntax I Machine code I Bytes I Cycles I

Relative BPL rr .1101S, rr

(Note1) The cycles-count increases by 2 when a branch occurs.

69

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!