CHAPTER 6 DETAILED RULES FOR EXECUTION INSTRUCTIONS

6.5AND (AND Byte Data of Accumulator and Memory to Accumulator)

Carry out the logical AND on the byte data of AL and EA memory (memory expressed in each type of addressing) for every bit and return the result to AL. The byte data of AH is not changed.

AND (AND Byte Data of Accumulator and Memory to Accumulator)

Operation

(AL) (AL) ^ (EA) (Byte AND)

Assembler format

AND A, EA

Condition code (CCR)

N

Z

V

C

 

 

 

 

+

+

R

-

 

 

 

 

+: Changed by executing instruction

-: Not changed

R: Set to 0 by executing instruction

N:Set to 1 if the MSB of AL is 1 as the result of operation and set to 0 in other cases.

Z:Set to 1 if the result of operation is 00H and set to 0 in other cases.

V:Always set to 0

C:Not changed

Table 6.5-1 Number of Execution Cycles / Byte Count / OP Code

EA

#d8

dir

@IX+off

@EP

Ri

 

 

 

 

 

 

Number of execution

2

3

3

2

2

cycles

 

 

 

 

 

 

 

 

 

 

 

Byte count

2

2

2

1

1

 

 

 

 

 

 

OP code

64

65

66

67

68 to 6F

 

 

 

 

 

 

56

Page 68
Image 68
Fujitsu F2MC-8FX Byte Data of Accumulator and Memory to Accumulator, Number of Execution Cycles / Byte Count / OP Code