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

The table below lists the symbols that are used in this section:

Symbol

C

Z

I

o

x

m

V

N

IPL

+

x

I

A

V

V

H

Acc

ACCH

ACCl

A

AH

Al

B

BH

Bl

X

XH

Xl

Y

YH

Yl

S

PC

PCH

PCl

REL

PG

OT

Description

Carry flag

Zero flag

Interrupt disable flag

Decimal operation mode flag

Index register length selection flag

Data length selection flag

Overflow flag

Negative flag

Processor interrupt priority level

Addition

Subtraction

Multiplication

Division

Logical AND

Logical OR

Exclusive OR

Negation

Movement to the arrow direction

Movement to the arrow direction

Movement to the arrow direction

Accumulator

Accumulator's upper 8 bits

Accumulator's lower 8 bits

Accumulator A

Accumulator A's upper 8 bits

Accumulator A's lower 8 bits

Accumulator S

Accumulator S's upper 8 bits

Accumulator S's lower 8 bits

Index register X

Index register X's upper 8 bits

Index register X's lower 8 bits

Index register V

Index register V's upper a bits

Index register V's lower 8 bits

Stack pointer

Program counter

Program counter's upper 8 bits

Program counter's lower 8 bits

Relative address

Program bank register

Data bank register

Symbol

Description

OPR Direct page register

OPRH Direct page register's upper 8 bits

OPRl Direct page register's lower 8 bits

PS Processor status register

PSH Processor status register's upper 8 bits

PSl Processor status register's lower 8 bits

PSn Processor status register's n-th bit

M Memory contents

M(n) Contents of memory location specified by

operand

M(S) Contents of memory at address indicated

by stack pointer

Mn n-th memory location

AOG Value of 24-bit address' upper 8-bit

(A23-A1s)

AOH Value of 24-bit address' middle 8-bit

(A15-As)

Value of 24-bit address'lower 8-bit (A7-Ao)

bn n-th bit of data

dd 8-bit offset value

i Number of transfer bytes or rotation

h, i2 Number of registers pushed or pulled

imm 8-bit immediate value

imm1, Imm2 16-bit immediate value (imm1 specifies the

upper 8-bit,and imm2 specifies the lower 8-

bit)

" 8-bit address value

mmll 16-bit address value (mm specifies the

upper 8-bit and II specifies the lower a-bit)

hhmmll 24-bit address value (hh specifies the upper

8-bit, mm specifies the middle 8-bit and

II specifies the lower 8-bit)

nn 8-bit data value

n1, n2 8-bit data value (Used when coding two 8-

bit data side by side)

rr Signed 8-bit data value

mrr2 Signed 16-bit data value (rr1 is the upper 8-

bit value, and rr2 is the lower 8-bit value)

58

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

Saved successfully!

Ooh no, something went wrong!