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.

Immediate

Mode

Function

Immediate addressing mode

A portion of the instruction is the actual data. Such instruction code may cross over

the bank boundary.

Instruction:

ADC,

LDX,

AND,

LDY,

CLP,

MPY,

CMP,

ORA,

CPX,

RLA,

CPY,

SSC,

DIV,

SEP

EaR,

LDA,

LDT,

ex.

: Mnemonic

AOC A,#OA5H

(m=1)

Machine Code

69 16 A5 16

ex.

: Mnemonic

AOC A, # OA587H

(m=O)

Machine Code

6916 87 16 A5 16

Memory

,......

1------- ~ DODO,.

Memory

"....-

r------- ~ DODO,.

8-bit width

A-A+C+ Op Code (69,.) Program

Operand (AS,.) Bank Register

lAS,. I -

'-------

Program

bank-PG Op Code (69,.)

l6-bit width { Operand (87,.) Program

A-A+C+IAS,.! 87,.I~ Operand (AS,.) Bank Register

r- --

~ FFFF,.

1-------

~ FFFF,.

~

-

-- -

Program

bank-PG

ex. : Mnemonic Machine Code ex. : Mnemonic Machine Code

LOX #OA5H A2 16 A5 16 LOX #OA587H A2 16 87 16 A5 16

(x =1 ) (x=O)

Memory

'------ ~ DODO,.

Memory

j------- ~ DODO,.

Program

bank-PG

Program

l6-bit wIdth Op Code (A2,.) bank-PG

8-bit width Op Code (A2,.) Program

Operand (B7,.) Program

Operand (AS,.) Bank Register

X -lAS,.! B7,.I- {

Operand (AS,.) Bank Register

------- ~ FFFF,.

~ FFFF,.

1--------

-

x+--I AS,. I ~

10

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

Saved successfully!

Ooh no, something went wrong!