Infineon Technologies C166S V2 User Manual page 208

16-bit microcontroller
Table of Contents

Advertisement

Condition
Test
Code
Mnemonic
cc
cc_SLT
(N⊕V) = 1
cc_SLE
(Z∨(N⊕V)) = 1 Signed less than or equal
cc_SGE
(N⊕V) = 0
cc_SGT
(Z∨(N⊕V)) = 0 Signed greater than
cc_NET
(Z∨E) = 0
1)
cc_nusr0
usr0 = 0
1)
cc_nusr1
usr1 = 0
1)
cc_usr0
usr0 = 1
1)
cc_usr1
usr1 = 1
1)
Only usable with the JMA and CALLA instructions.
• Condition Flags: This part reflects the state of the N, C, V, Z, and E flags in the PSW
register which is the state after execution of the corresponding instruction, except if
the PSW register itself was specified as the destination operand of that instruction
(see Note).
The resulting state of the flags is represented by symbols as follows:
'*'
The flag is set due to the following standard rules for the corresponding flag:
N = 1 :
N = 0 :
C = 1 :
C = 0 :
V = 1 :
V = 0 :
Z = 1 :
Z = 0 :
E = 1 :
E = 0 :
User Manual
Description
Signed less than
Signed greater than or equal
Not equal AND not end of table 1
usr0 is cleared
usr1 is cleared
usr0 is set
usr1 is set
MSB of the result is set
MSB of the result is not set
Carry occurred during operation
No Carry occurred during operation
Arithmetic Overflow occurred during operation
No Arithmetic Overflow occurred during operation
Result equals zero
Result does not equal zero
Source operand represents the lowest negative number
(either 8000h for word data or 80h for byte data)
Source operand does not represent the lowest negative
number for the specified data type
Detailed Instruction Description
8-208
User Manual
C166S V2
Condition
Condition
Code
Code
Number
Number
c
d
C
18
H
H
B
16
H
H
D
1A
H
H
A
14
H
H
02
H
H
1
H
3
H
5
H
7
H
V 1.7, 2001-01

Advertisement

Table of Contents
loading

Table of Contents