參數(shù)資料
型號: μPD70F3008
廠商: NEC Corp.
英文描述: 16/32 Bit Single Chip Microcontrollers(16/32 位單片微控制器)
中文描述: 16/32位單片機微控制器(16/32位單片微控制器)
文件頁數(shù): 86/141頁
文件大?。?/td> 374K
代理商: ΜPD70F3008
CHAPTER 5 INSTRUCTION
74
SHL
Shift Logical Left
Instruction format
(1) SHL reg1, reg2
(2) SHL imm5, reg2
Operation
(1) GR [reg2]
GR [reg2] logically shift left by GR [reg1]
(2) GR [reg2]
GR [reg2] logically shift left by zero-extend (imm5)
Format
(1) Format IX
(2) Format II
Op code
15
0 31
16
(1)
rrrrr111111RRRRR 0000000011000000
15
0
(2)
rrrrr010110iiiii
Flag
CY
1 if the bit shifted out last is 1; otherwise, 0.
However, if the number of shifts is 0, the result is 0.
0
1 if the result of an operation is negative; otherwise, 0.
1 if the result of an operation is 0; otherwise, 0.
OV
S
Z
SAT
Instruction
(1) SHL Shift Logical Left by Register
(2) SHL Shift Logical Left by Immediate (5-bit)
Explanation
(1) Logically shifts the word data of general register reg2 to the left by ‘n’ positions, where ‘n’
is a value from 0 to +31, specified by the lower 5 bits of general register reg1 (0 is shifted
to the LSB side), and then writes the result to general register reg2. If the number of shifts
is 0, general register reg2 retains the same value prior to instruction execution. The data
of general register reg1 is not affected.
(2) Logically shifts the word data of general register reg2 to the left by ‘n’ positions, where ‘n’
is a value from 0 to +31, specified by the 5-bit immediate data, zero-extended to word length
(0 is shifted to the LSB side), and then writes the result to general register reg2. If the
number of shifts is 0, general register reg2 retains the value prior to instruction execution.
相關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