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.

D;,rect Indexed X Indirect

Mode

Function

. Direct indexed X indirect addressing mode

The value obtained by adding the instruction's second byte, the contents of the direct

page register and the contents of the index register X specifies 2 adjacent bytes in

memory bank-G, and the contents of these bytes in memory bank-G, and the contents

of these bytes in memory bank-DT (DT is contents of data bank register) become the

actual data. If, however, the value obtained by adding the instruction's second byte,

the direct page register's contents and the index register X's contents exceeds the

bank-G or bank-1 range, the specified location will be in bank-1 or bank-2.

Instruction: ADC, AND, CMP, DIV, EOR, LOA, MPY, ORA, SSG, STA

ex.

: Mnemonic

ADC A, (1EH, Xl

(m = 1, x = 1 l

Machine Code

61 16 1 E 16

Memory

DODO,.

{

DATAl (DO,.)

DATAII (14,.)

Bank-O

1338, • ...,..,----------,

-------

FFFF,.

f-------

Op Code (61,.)

Operand (lE,.)

1--------

Direct Page Index

Register Register X

+ I 1234,. 1+ I i E6,. 1=1338,.

Program

1 bank-PG

Data Bank

Register

A-A+C+I DATA 1- DATA ~1400,.

------

18

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

Saved successfully!

Ooh no, something went wrong!