參數(shù)資料
型號: μPD70F3003
廠商: NEC Corp.
英文描述: 16/32 Bit Single Chip Microcontrollers(16/32 位單片微控制器)
中文描述: 16/32位單片機微控制器(16/32位單片微控制器)
文件頁數(shù): 55/141頁
文件大?。?/td> 374K
代理商: ΜPD70F3003
43
CHAPTER 5 INSTRUCTION
CMP
Compare
Instruction format
(1) CMP reg1, reg2
(2) CMP imm5, reg2
Operation
(1) result
GR [reg2] – GR [reg1]
(2) result
GR [reg2] – sign-extend (imm5)
Format
(1) Format I
(2) Format II
Op code
15
0
(1)
rrrrr001111RRRRR
15
0
(2)
rrrrr010011iiiii
Flag
CY
OV
S
Z
SAT
1 if a borrow to MSB occurs; otherwise, 0.
1 Overflow occurs; otherwise 0.
1 if the result of the operation is negative; otherwise, 0.
1 if the result of the operation is 0; otherwise, 0.
Instruction
(1) CMP Compare Register
(2) CMP Compare Immediate (5-bit)
Explanation
(1) Compares the word data of general register reg2 with the word data of general register
reg1, and indicates the result by using the condition flags. To compare, the contents of
general register reg1 are subtracted from the word data of general register reg2. The data
of general registers reg1 and reg2 are not affected.
(2) Compares the word data of general register reg2 with 5-bit immediate data, sign-extended
to word length, and indicates the result by using the condition flags. To compare, the
contents of the sign-extended immediate data is subtracted from the word data of general
register reg2. The data of general register reg2 is not affected.
相關PDF資料
PDF描述
μPD703008 16/32 Bit RISC Microcontrollers(16/32位RISC微控制器)
μPD703008Y 16/32 Bit Single Chip Microcontrollers(16/32 位單片微控制器)
μPD70F3008 16/32 Bit Single Chip Microcontrollers(16/32 位單片微控制器)
μPD70F3008Y 16/32 Bit RISC Microcontrollers(16/32位RISC微控制器)
μPD70F3015GC-17-8ED 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