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.

Stack

Mode

Function

Stack addressing mode

Register contents are saved to or restored from the memory location specified by the

stack pointer. The stack pointer is set in bank-D.

Instruction:

PEA,

PHY,

PEl,

PLA,

PER,

PLB,

PHA,

PLD,

PHB,

PLP,

PHD,

PLT,

PHG,

PLX,

PHP,

PLY,

PHT,

PSH,

PHX,

PUL

ex.

: Mnemonic

PHA

(m=1)

Machine Code

48 '6

ex.

: Mnemonic

PHA

(m=O)

Machine Code

48 '6

Memory

Memory

S-l

S

AL

Stack POinter

0016~

Bank-O

S-2

S-l

S

AL

AH

Stack POinter

0016~

8ank-O

r-------

------

-

ex.

: Mnemonic

PHD

Machine Code

OB '6

ex.

: Mnemonic

Machine Code

PEA # 1234H F4 '6 34 '6 12 '6

Memory

Memory

S-2

S-l

S

OPR L

OPR H

Stack POinter

0016~

Bank-O

S-2

'1

S-l

34'6

12'6

Stack POinter

OO'6~

Bank-O

--:------

-

-------

,------

\

Op Code (F4'6)

Operand (34 16 )

Operand (12,6)

r-------

-

40

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

Saved successfully!

Ooh no, something went wrong!