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.

PLB

Pull Accumulator B from Stack

PLB

Operation

If m=O,

Sf-S+1

BL f- M{S)

Sf-S+1

BH (- M{S)

If m=1,

Sf-S+1

BL f- M{S)

Description

The stack pointer S is incremented, and then restores the lower byte of the

accumulator B with the data at the address indicated by the stack pointer S.

Again, increments the stack pointer S and then restores the upper byte of the

accumulator B with the data at the address indicated by the stack pOinter S.

When the data length selection flag m is set to 0, 2 bytes data are restored.

When the data length selection flag m is set to 1, only 1 byte data is restored (to

the lower byte of the accumulator B).

Status flags

IPL :

N

V

m

x

D

I

Not affected.

Set to 1 when bit 15 {or bit 7 if the data length selection flag m is set to 1 )of

the operation result is 1. Otherwise, cleared to o.

Not affected.

Not affected.

Not affected.

Not affected.

Not affected.

Z Set to 1 when the result of operation is O. Otherwise, cleared to O.

C

Not affected.

Addressing mode

Stack

Syntax Machine code

I

I Bytes I Cycles

I PLB 4216, 6816 I 2 I 7

117

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

Saved successfully!

Ooh no, something went wrong!