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.

CLB

Clear Bit

CLB

Operation

M (- MA IMM

IMM is the bit pattern that specifies the bit positions that are to be cleared to O.

The bit positions that are to be cleared are indicated by 1 in IMM, and the bit positions

that are not to be cleared are indicated by 0 in IMM.

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 CLB instruction clears the specified memory bits to O.

cleared can be specified at one time.

Multiple bits to be

Status flags

Not affected.

Addressing mode Syntax Machine code Bytes Cycles

Direct bit CLB #imm, dd 1416, dd, imm 3 8

Absolute bit CLB #imm, mmll 1C16, II, mm, imm 4 9

(Note1) The bytes-count Increases by 1 when operating on 16-blt data with the data length selecllon

flag m set to O.

74

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

Saved successfully!

Ooh no, something went wrong!