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.

Absolute Long

Mode

Function

Absolute long addressing mode

The contents of the memory locations specified by the instruction's second, third and

fourth bytes become the actual data. Note that, in the cases of the JMP and JSR

instructions, the instructions' second and third byte contents are transferred to the

program counter and the fourth byte contents are transferred to the program bank

register.

Instruction:

ADC,

SBC,

AND,

STA

CMP, DIV, EaR, JMP, JSR, LOA, MPY, ORA,

ex.

: Mnemonic Machine Code

ACe A, 123456H 6F 16 56 16 34 16 1216

(m=1)

Memory

-

--

~~----

ex. : Mnemonic Machine Code

ACe A, 123456H 6F 16 56 16 34 16 12 16

(m=O)

Memory

,-

r-------

Op Code (SF,.)

Operand (56,.)

Operand (34,.)

Operand (12,.)

I

Op Code (6F,.)

Operand (56,.)

Operand (34,.)

Operand (12,.)

}-

r-------

1------

1-------

-------

ex.

: Mnemonic

JMP 123456H

-

DATA

.....

........ -

Machine Code

123456 {

,. A~A+C+I DATAH: DATAL 1«-

5e16 56 16 34 16 12 16

DATAL

DATAH

, -

-

123456,.

Memory

-

-------

Op Code (5C,.)

Operand (56,.)

Operand (34,.)

Operand (12,.)

r-- ------

Address to be

executed next

f-------

-

Program

Bank Register

~3456,.

PlOgram bank register contents are replaced by

the third operand

35

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

Saved successfully!

Ooh no, something went wrong!