欢迎访问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文件第135页浏览型号S3C4510B的Datasheet PDF文件第136页浏览型号S3C4510B的Datasheet PDF文件第137页浏览型号S3C4510B的Datasheet PDF文件第138页浏览型号S3C4510B的Datasheet PDF文件第140页浏览型号S3C4510B的Datasheet PDF文件第141页浏览型号S3C4510B的Datasheet PDF文件第142页浏览型号S3C4510B的Datasheet PDF文件第143页  
S3C4510B  
INSTRUCTION SET  
INSTRUCTION SET EXAMPLES  
The following examples show ways in which the THUMB instructions may be used to generate small and efficient  
code. Each example also shows the ARM equivalent so these may be compared.  
MULTIPLICATION BY A CONSTANT USING SHIFTS AND ADDS  
The following shows code to multiply by various constants using 1, 2 or 3 Thumb instructions alongside the ARM  
equivalents. For other constants it is generally better to use the built-in MUL instruction rather than using a  
sequence of 4 or more instructions.  
Thumb  
ARM  
1. Multiplication by 2^n (1,2,4,8,...)  
LSL  
Ra, Rb, LSL #n  
; MOV Ra, Rb, LSL #n  
; ADD Ra, Rb, Rb, LSL #n  
2. Multiplication by 2^n+1 (3,5,9,17,...)  
LSL  
ADD  
Rt, Rb, #n  
Ra, Rt, Rb  
3. Multiplication by 2^n-1 (3,7,15,...)  
LSL  
SUB  
Rt, Rb, #n  
Ra, Rt, Rb  
; RSB Ra, Rb, Rb, LSL #n  
4. Multiplication by -2^n (-2, -4, -8, ...)  
LSL  
MVN  
Ra, Rb, #n  
Ra, Ra  
; MOV Ra, Rb, LSL #n  
; RSB Ra, Ra, #0  
5. Multiplication by -2^n-1 (-3, -7, -15, ...)  
LSL  
SUB  
Rt, Rb, #n  
Ra, Rb, Rt  
; SUB Ra, Rb, Rb, LSL #n  
Multiplication by any C = {2^n+1, 2^n-1, -2^n or -2^n-1} * 2^n  
Effectively this is any of the multiplications in 2 to 5 followed by a final shift. This allows the following additional  
constants to be multiplied. 6, 10, 12, 14, 18, 20, 24, 28, 30, 34, 36, 40, 48, 56, 60, 62 .....  
(2..5)  
LSL  
; (2..5)  
; MOV Ra, Ra, LSL #n  
Ra, Ra, #n  
3-97  
 复制成功!