欢迎访问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文件第98页浏览型号S3C4510B的Datasheet PDF文件第99页浏览型号S3C4510B的Datasheet PDF文件第100页浏览型号S3C4510B的Datasheet PDF文件第101页浏览型号S3C4510B的Datasheet PDF文件第103页浏览型号S3C4510B的Datasheet PDF文件第104页浏览型号S3C4510B的Datasheet PDF文件第105页浏览型号S3C4510B的Datasheet PDF文件第106页  
INSTRUCTION SET  
S3C4510B  
Division and Remainder  
A number of divide routines for specific applications are provided in source form as part of the ANSI C library  
provided with the ARM Cross development toolkit, available from your supplier. A short general purpose divide  
routine follows.  
; Enter with numbers in Ra and Rb.  
MOV  
Rcnt,#1  
; Bit to control the division.  
Div1  
Div2  
CMP  
Rb,#0x80000000  
Rb,Ra  
Rb,Rb,ASL#1  
Rcnt,Rcnt,ASL#1  
Div1  
; Move Rb until greater than Ra.  
CMPCC  
MOVCC  
MOVCC  
BCC  
MOV  
CMP  
SUBCS  
ADDCS  
MOVS  
MOVNE  
BNE  
Rc,#0  
Ra,Rb  
; Test for possible subtraction.  
; Subtract if ok,  
; Put relevant bit into result  
; Shift control bit  
; Halve unless finished.  
; Divide result in Rc, remainder in Ra.  
Ra,Ra,Rb  
Rc,Rc,Rcnt  
Rcnt,Rcnt,LSR#1  
Rb,Rb,LSR#1  
Div2  
Overflow Detection in the ARM7TDMI  
1. Overflow in unsigned multiply with a 32-bit result  
UMULL  
TEQ  
Rd,Rt,Rm,Rn  
Rt,#0  
; 3 to 6 cycles  
; +1 cycle and a register  
BNE  
overflow  
2. Overflow in signed multiply with a 32-bit result  
SMULL  
TEQ  
BNE  
Rd,Rt,Rm,Rn  
Rt,Rd ASR#31  
overflow  
; 3 to 6 cycles  
; +1 cycle and a register  
3. Overflow in unsigned multiply accumulate with a 32 bit result  
UMLAL  
TEQ  
Rd,Rt,Rm,Rn  
Rt,#0  
; 4 to 7 cycles  
; +1 cycle and a register  
BNE  
overflow  
4. Overflow in signed multiply accumulate with a 32 bit result  
SMLAL  
TEQ  
BNE  
Rd,Rt,Rm,Rn  
Rt,Rd, ASR#31  
overflow  
; 4 to 7 cycles  
; +1 cycle and a register  
3-60  
 复制成功!