參數(shù)資料
型號: μPD703008
廠商: NEC Corp.
英文描述: 16/32 Bit RISC Microcontrollers(16/32位RISC微控制器)
中文描述: 16/32位RISC微控制器(16/32位的RISC微控制器)
文件頁數(shù): 55/141頁
文件大?。?/td> 374K
代理商: ΜPD703008
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.
相關(guān)PDF資料
PDF描述
μ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微控制器)
μPD70F3015YGC-17-8ED 32 Bit RISC Microcontrollers(32位RISC微控制器)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PD7035 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:FOR OPTICAL COMMUNICATION
PD7087 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:InGaAs PIN PHOTO DIODES
PD7088 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:InGaAs PIN PHOTO DIODES
PD708C7 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:InGaAs PIN PHOTO DIODES
PD708C8 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:InGaAs PIN PHOTO DIODES