參數(shù)資料
型號: μPD70F3003
廠商: NEC Corp.
英文描述: 16/32 Bit Single Chip Microcontrollers(16/32 位單片微控制器)
中文描述: 16/32位單片機(jī)微控制器(16/32位單片微控制器)
文件頁數(shù): 57/141頁
文件大小: 374K
代理商: ΜPD70F3003
45
CHAPTER 5 INSTRUCTION
DIVH
Divide Half-word
Instruction format
DIVH reg1, reg2
Operation
GR [reg2]
GR [reg2]
÷
GR [reg1]
Format
Format I
Op code
15
0
rrrrr000010RRRRR
Flag
CY
OV
S
Z
SAT
1 if Overflow occurs; otherwise, 0.
1 if the result of an operation is negative; otherwise, 0.
1 if the result of an operation is 0; otherwise, 0.
Instruction
DIVH Divide Half-word
Explanation
Divides the word data of general register reg2 by the lower half-word data of general register
reg1, and stores the quotient to general register reg2. If the data is divided by 0, Overflow
occurs, and the quotient is undefined. The data of general register reg1 is not affected.
Remark
The remainder is not stored. Overflow occurs when the maximum negative value (80000000H)
is divided by –1 (in which case the quotient is 80000000H) and when data is divided by 0 (in
which case the quotient is undefined).
If an interrupt occurs while this instruction is executed, division is aborted, and the interrupt is
processed. Upon returning from the interrupt, the division is restarted from the beginning, with
the return address being the address of this instruction. Also, general registers reg1 and reg2
will retain their original values prior to the start of execution.
The higher 16 bits of general register reg1 are ignored when division is executed.
相關(guān)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微控制器)
相關(guān)代理商/技術(shù)參數(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