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.

Instructions

Category Instruction Description

Transfer TS8 Transfers the contents of the stack pointer to the accumulator B.

T8X Transfers the contents of the accumulator B to the index register X.

TX8 Transfers the contents of the index register X to the accumulator B.

T8Y Transfers the contents of the accumulator B to the index register Y.

TY8 Transfers the contents of the index register Y to the accumulator B.

TXY

TYX

MVN

MVP

Transfers the contents of the index register X to the index register

Y.

Transfers the contents of the index register Y to the index register

X.

Transfers a block of data from the lower addresses.

Transfers a block of data from the higher addresses.

Stack operation PSH Saves the contents of the specified register to the stack.

PUL

PHA

Restores the contents of stack to the specified register.

Saves the contents of the accumulator A to the stack.

PLA Restores the contents of stack'to the accumulator A.

PHP

PLP

PH8

Saves the contents of the program status register to the stack.

Restores the contents of stack to the program status register.

Saves the contents of the accumulator B to the stack.

PL8 Restores ~he contents of stack to the accumulator B.

PHD

PLD

PHT

PLT

Saves the contents of the direct page register to the stack.

Restores the contents of stack to the direct page register.

Saves the contents of the data bank register to the stack.

Restores the contents of stack to the data bank register.

PHX

Saves the contents of the index register X to the stack.

PLX Restores the contents of stack to the index register X.

PHY

Saves the contents of the index register Y to the stack.

PLY Resto·res the contents of stack to the index register Y.

Stack PHG Saves the contents of the pr,?gram bank register to the stack.

PEA

PEl

PER

Saves a the numeric of 2 bytes to the stack.

Saves the contents of 2 consecutive bytes in the direct page area

to the stack.

Saves the result of adding a 16-bit numeric value to the program

counter contents to the stack.

Exchange XA8 Swaps the contents of the accumulator A with the contents of the

accumulator B.

53

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

Saved successfully!

Ooh no, something went wrong!