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.

SEB

Set Bit

SEB

Operation

M f- M V IMM

IMM is the bit pattern that specifies the bit positions that are to be set to 1.

When the data length selection flag m is set to 1, IMM is placed in the third byte

(direct bit addressing mode) or the fourth byte (absolute bit addressing mode) of

the instruction.

When the data length selection flag m is set to 0, IMM is placed in the third and

fourth bytes (direct bit addressing mode) or the fourth and fifth bytes (absolute bit

addressing mode) of the instruction.

Description

The SEB instruction sets the specified memory bits to 1. Multiple bits to be set

can be specified at one time.

Status flags

Not affected.

Addressing mode Syntax Machine code Bytes Cycles

Direct bit SEB #imm, dd 0416, dd, imm 3 B

Absolute bit SEB #imm, mmll OCI6, II, mm, imm 4 9

(Note1) When operating on 16-bit data with the data length selection flag m set to 0, the bytes-count

increases by 1.

134

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

Saved successfully!

Ooh no, something went wrong!