Orccr (Or Condition Code Register And Immediate Data) - Fujitsu FR Family Instruction Manual

32-bit microcontroller
Hide thumbs Also See for FR Family:
Table of Contents

Advertisement

7.122 ORCCR (Or Condition Code Register and Immediate Data)

Takes the logical OR of the byte data in the condition code register (CCR) and the
immediate data, and returns the results into the "CCR".
■ ORCCR (Or Condition Code Register and Immediate Data)
Assembler format:
ORCCR #u8
CCR or u8 → CCR
Operation:
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:
ORCCR #10H
S
I
N
Z
C
C
C
C
MSB
1
0
0
1
0
Instruction bit pattern : 1001 0011 0001 0000
S I N Z V C
CCR
0 0 0 1 0 1
Before execution
CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS
V
C
C
C
0
1
1
LSB
u8
S I N Z V C
CCR
0 1 0 1 0 1
After execution
239

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fr series

Table of Contents