欢迎访问ic37.com |
会员登录 免费注册
发布采购

S3C4510B 参数 Datasheet PDF下载

S3C4510B图片预览
型号: S3C4510B
PDF下载: 下载PDF文件 查看货源
内容描述: 三星S3C4510B的16位/ 32位RISC微控制器是一款高性价比,高性能的基于以太网的系统微控制器解决方案。 [Samsungs S3C4510B 16/32-bit RISC microcontroller is a cost-effective, high-performance microcontroller solution for Ethernet-based systems.]
分类和应用: 微控制器以太网
文件页数/大小: 422 页 / 2160 K
品牌: SAMSUNG [ SAMSUNG ]
 浏览型号S3C4510B的Datasheet PDF文件第99页浏览型号S3C4510B的Datasheet PDF文件第100页浏览型号S3C4510B的Datasheet PDF文件第101页浏览型号S3C4510B的Datasheet PDF文件第102页浏览型号S3C4510B的Datasheet PDF文件第104页浏览型号S3C4510B的Datasheet PDF文件第105页浏览型号S3C4510B的Datasheet PDF文件第106页浏览型号S3C4510B的Datasheet PDF文件第107页  
S3C4510B  
INSTRUCTION SET  
5. Overflow in unsigned multiply accumulate with a 64 bit result  
UMULL  
ADDS  
ADC  
Rl,Rh,Rm,Rn  
Rl,Rl,Ra1  
Rh,Rh,Ra2  
overflow  
; 3 to 6 cycles  
; Lower accumulate  
; Upper accumulate  
; 1 cycle and 2 registers  
BCS  
6. Overflow in signed multiply accumulate with a 64 bit result  
SMULL  
ADDS  
ADC  
Rl,Rh,Rm,Rn  
Rl,Rl,Ra1  
Rh,Rh,Ra2  
overflow  
; 3 to 6 cycles  
; Lower accumulate  
; Upper accumulate  
; 1 cycle and 2 registers  
BVS  
NOTE  
Overflow checking is not applicable to unsigned and signed multiplies with a 64-bit result, since overflow  
does not occur in such calculations.  
PSEUDO-RANDOM BINARY SEQUENCE GENERATOR  
It is often necessary to generate (pseudo-) random numbers and the most efficient algorithms are based on shift  
generators with exclusive-OR feedback rather like a cyclic redundancy check generator. Unfortunately the  
sequence of a 32 bit generator needs more than one feedback tap to be maximal length (i.e. 2^32-1 cycles  
before repetition), so this example uses a 33 bit register with taps at bits 33 and 20. The basic algorithm is  
newbit: = bit 33 eor bit 20, shift left the 33 bit number and put in newbit at the bottom; this operation is performed  
for all the newbits needed (i.e. 32 bits). The entire operation can be done in 5 S cycles:  
; Enter with seed in Ra (32 bits),  
; Rb (1 bit in Rb lsb), uses Rc.  
TST  
Rb,Rb,LSR#1  
Rc,Ra,RRX  
Rb,Rb,Rb  
Rc,Rc,Ra,LSL#12  
Ra,Rc,Rc,LSR#20  
; Top bit into carry  
; 33 bit rotate right  
; Carry into lsb of Rb  
; (involved!)  
MOVS  
ADC  
EOR  
EOR  
; (similarly involved!) new seed in Ra, Rb as before  
MULTIPLICATION BY CONSTANT USING THE BARREL SHIFTER  
Multiplication by 2^n (1,2,4,8,16,32..)  
MOV  
Ra, Rb, LSL #n  
Multiplication by 2^n+1 (3,5,9,17..)  
ADD  
Ra,Ra,Ra,LSL #n  
Multiplication by 2^n-1 (3,7,15..)  
RSB  
Ra,Ra,Ra,LSL #n  
3-61  
 复制成功!