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.

LOY

Load Index Register Y from Memory

LOY

Operation

Y(--M

Description

Loads the contents of memory into the index register Y.

Status flags

IPL:

N

v

m

x

D

I

Z

C

Not affected.

Set to 1 when bit 15 (or bit 7 if the index register length selection flag x is set

to 1) of the operation result is 1. Otherwise, cleared to O.

Not affected.

Not affected.

Not affected.

Not affected.

Not affected.

Set to 1 when the result of operation is O. Otherwise, cleared to O.

Not affected.

Addressing mode Syntax Machine code Bytes Cycles

Immediate LOY #imm A016, imm 2 2

Direct LOY dd A416, dd 2 4

Direct indexed X LOY dd, X B416, dd 2 5

Absolute LOY mmll AC16, II, mm 3 4

Absolute indexed X LOY mmll, X BC16, II, mm 3 6

(Note1) When operating on 16-bit data in the immediate addressing mode with the index register length selection

flag x set to 0, the bytes-count increases by 1.

98

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

Saved successfully!

Ooh no, something went wrong!