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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

8MI

Operation

When N=1,

Branch on Result Minus

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

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

8MI

When N=O,

PC f-- PC + 2

PG f-- PG + 1 (if carry on PC)

Description

When the negative flag N is set (1), the 8MI instruction causes a branch to the

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

When the negative flag N is clear (0), the program advances to next step without

any action.

Status flags

Not affected.

Addressing mode Syntax Machine code Bytes Cycles

Relative 8MI rr 3016, rr 2 4

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

67

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

Saved successfully!

Ooh no, something went wrong!