參數(shù)資料
型號: μPD70F3008
廠商: NEC Corp.
英文描述: 16/32 Bit Single Chip Microcontrollers(16/32 位單片微控制器)
中文描述: 16/32位單片機微控制器(16/32位單片微控制器)
文件頁數(shù): 53/141頁
文件大?。?/td> 374K
代理商: ΜPD70F3008
41
CHAPTER 5 INSTRUCTION
Table 5-8. Conditional Branch Instructions
Instruction
Condition Code
(cccc)
Status of Condition Flag
Branch Condition
Signed
BGT
1111
( (S xor OV) or Z) = 0
Greater than signed
integer
BGE
1110
(S xor OV) = 0
Greater than or equal signed
BLT
0110
(S xor OV) = 1
Less than signed
BLE
0111
( (S xor OV) or Z) = 1
Less than or equal signed
Unsigned
BH
1011
(CY or Z) = 0
Higher (Greater than)
integer
BNL
1001
CY = 0
Not lower (Greater than or equal)
BL
0001
CY = 1
Lower (Less than)
BNH
0011
(CY or Z) = 1
Not higher (Less than or equal)
Common
BE
0010
Z = 1
Equal
BNE
1010
Z = 0
Not equal
Others
BV
0000
OV = 1
Overflow
BNV
1000
OV = 0
No overflow
BN
0100
S = 1
Negative
BP
1100
S = 0
Positive
BC
0001
CY = 1
Carry
BNC
1001
CY = 0
No carry
BZ
0010
Z = 1
Zero
BNZ
1010
Z = 0
Not zero
BR
0101
Always (unconditional)
BSA
1101
SAT = 1
Saturated
Caution
If executing a conditional branch instruction of a signed integer (BGT, BGE, BLT, or BLE) when
the SAT flag is set to 1 as a result of executing a saturated operation instruction, the branch
condition loses its meaning. In ordinary arithmetic operations, if an overflow condition occurs,
the S flag is inverted (0
1 or 1
0). This is because the result is a negative value if it exceeds
the maximum positive value and it is a positive value if it exceeds the maximum negative value.
However, when a saturated operation instruction is executed, and if the result exceeds the
maximum positive value, the result is saturated with a positive value; if the result exceeds the
maximum negative value, the result is saturated with a negative value. Unlike the ordinary
operation, therefore, the S flag is not inverted even if an overflow occurs.
Hence, the S flag of the PSW is affected differently when the instruction is a saturate operation,
as opposed to an ordinary arithmetic operation. A branch condition which is an XOR of S and
OV flags will therefore, have no meaning.
相關PDF資料
PDF描述
μPD70F3008Y 16/32 Bit RISC Microcontrollers(16/32位RISC微控制器)
μPD70F3015GC-17-8ED 32 Bit RISC Microcontrollers(32位RISC微控制器)
μPD70F3015YGC-17-8ED 32 Bit RISC Microcontrollers(32位RISC微控制器)
μPD70F3017GC-17-8ED 32 Bit RISC Microcontrollers(32位RISC微控制器)
μPD70F3017S2-17-YJC 32 Bit RISC Microcontrollers(32位RISC微控制器)
相關代理商/技術參數(shù)
參數(shù)描述
PD70F3559 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:32-bit Single-Chip Microcontroller
PD70F3560 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:32-bit Single-Chip Microcontroller
PD70F3561 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:32-bit Single-Chip Microcontroller
PD70F3564 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:32-bit Single-Chip Microcontroller
PD70F40 制造商:SANREX 制造商全稱:SanRex Corporation 功能描述:THRISTOR MODULE