
238
CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS
7.121
ANDCCR (And Condition Code Register and Immediate
Data)
Takes the logical AND of the byte data in the condition code register (CCR) and the
immediate data, and returns the results into the "CCR".
■
ANDCCR (And Condition Code Register and Immediate Data)
Assembler format:
ANDCCR #u8
Operation:
CCR and u8
→
CCR
Flag change:
S, I, N, Z, V, and C: Varies according to results of calculation.
Execution cycles:
c cycle(s)
The number of execution cycles is normally "1". However, if the instruction immediately after
involves read or write access to memory address "R15", the system stack pointer (SSP) or the user
stack pointer (USP), then an interlock is applied and the value becomes 2 cycles.
Instruction format:
Example:
ANDCCR #0FEH
S
I
N
Z
V
C
C
C
C
C
C
C
MSB
LSB
1
0
0
0
0
0
1
1
u8
CCR
CCR
0 1 0 1 0 1
S I N Z V C
0 1 0 1 0 0
S I N Z V C
Before execution
After execution
Instruction bit pattern : 1000 0011 1111 1110
Summary of Contents for FR Family
Page 2: ......
Page 3: ...FUJITSU LIMITED FR Family 32 BIT MICROCONTROLLER INSTRUCTION MANUAL ...
Page 4: ......
Page 8: ...iv ...
Page 14: ...x ...
Page 36: ...12 CHAPTER 2 MEMORY ARCHITECTURE ...
Page 284: ...260 CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS ...
Page 301: ...277 INDEX INDEX The index follows on the next page This is listed in alphabetical order ...
Page 314: ......