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.

Direct Indirect Long Indexed V.

Mode

Direct indirect long indexed Y addressing mode

Function The value obtained by adding the instruction's second byte and the contents of the

direct page register specifies 3 adjacent bytes in memory bank-Q, and the value

obtained by adding the contents of these bytes and the contents of the index register

Y specifies the address of the memory location where the actual data is stored. If,

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

and the direct page register exceeds the bank-O range, the specified location will be

in bank-1. The 3 adjacent bytes memory location may be spread over two different

banks.

Instruction: ADC, AND, CMP, DIV, EOR, LDA, MPY, ORA, SBC, STA

ex.

: Mnemonic

ADCL A,(1EH), Y

(m=1, x=1)

Machine Code

n ,6 1E'6

.----~ 1252,.

1253,.

1254,.

Memory

DATA I (EF,.)

DATA II (01,.)

DATA ill (12,.)

Bank-O

Index

} Register Y

+[~ =120210,.

1-------

Dorect Page

Register

~+

-------

Op Code(77,.)

Operand(1E,.)

------..:.

r- ------

A-A+C+EJ4- DATA 120210,. _---...J

25

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

Saved successfully!

Ooh no, something went wrong!