beautypg.com

FUJITSU FR family 32-bit microcontroller instruction manuel CM71-00101-5E User Manual

Page 112

background image

88

CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS

7.16

ANDH (And Half-word Data of Source Register to Data in
Memory)

Takes the logical AND of the half-word data at memory address "Ri" and the half-word
data in "Rj", stores the results to the memory address corresponding to "Ri".
The CPU will not accept hold requests between the memory read operation and the
memory write operation of this request.

ANDH (And Half-word Data of Source Register to Data in Memory)

Assembler format:

ANDH Rj, @Ri

Operation:

(Ri) and Rj

(Ri)

Flag change:

N:

Set when the MSB (bit 15) of the operation result is "1", cleared when the MSB is "0".

Z:

Set when the operation result is "0", cleared otherwise.

V and C: Unchanged

Execution cycles:

1 + 2a cycles

Instruction format:

N

Z

V

C

C

C

MSB

LSB

1

0

0

0

0

1

0

1

Rj

Ri