參數(shù)資料
型號: μPD703008
廠商: NEC Corp.
英文描述: 16/32 Bit RISC Microcontrollers(16/32位RISC微控制器)
中文描述: 16/32位RISC微控制器(16/32位的RISC微控制器)
文件頁數(shù): 80/141頁
文件大?。?/td> 374K
代理商: ΜPD703008
CHAPTER 5 INSTRUCTION
68
SATSUB
Saturated Subtract
Instruction format
SATSUB reg1, reg2
Operation
GR [reg2]
saturated (GR [reg2] – GR [reg1])
Format
Format I
Op code
15
0
rrrrr000101RRRRR
Flag
CY
OV
S
Z
SAT
1 if a borrow to MSB occurs; otherwise, 0.
1 if Overflow occurs; otherwise, 0.
1 if the result of the saturated operation is negative; otherwise, 0.
1 if the result of the saturated operation is 0; otherwise, 0.
1 if OV = 1; otherwise, not affected.
Instruction
SATSUB Saturated Subtract
Explanation
Subtracts the word data of general register reg1 from the word data of general register reg2,
and stores the result to general register reg2. However, if the result exceeds the maximum
positive value 7FFFFFFFH, 7FFFFFFFH is stored to reg2; if the result exceeds the maximum
negative value 80000000H, 80000000H is stored to reg2. The SAT flag is set to 1. The data
of general register reg1 is not affected.
Remark
The SAT flag is a cumulative flag. Once the result of the operation of the saturated operation
instruction has been saturated, this flag is set to 1 and is not reset to 0 even if the result of the
subsequent operations is not saturated.
Even if the SAT flag is set to 1, the saturated operation instruction is executed normally.
Caution
To reset the SAT flag to 0, load data to the PSW by using the LDSR instruction.
相關(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