參數(shù)資料
型號: ARM610
廠商: Zarlink Semiconductor Inc.
英文描述: General purpose 32-bit microprocessor
中文描述: 通用32位微處理器
文件頁數(shù): 84/173頁
文件大小: 897K
代理商: ARM610
Instruction Set - Examples
ARM610 Data Sheet
4-56
O
4.16 Instruction Set Examples
The following examples show ways in which the basic ARM610 instructions can
combine to give efficient code. None of these methods saves a great deal of execution
time (although they may save some), mostly they just save code.
4.16.1 Using the conditional instructions
Using conditionals for logical OR
CMP
Rn,#p
BEQ
Label
CMP
Rm,#q
BEQ
Label
; If Rn=p OR Rm=q THEN GOTO Label.
This can be replaced by
CMP
CMPNE Rm,#q
Rn,#p
; If condition not satisfied try
; other test.
BEQ
Label
Absolute value
TEQ
Rn,#0
RSBMI Rn,Rn,#0
; Test sign
; and 2's complement if necessary.
Multiplication by 4, 5 or 6 (run time)
MOV
Rc,Ra,LSL#2
CMP
Rb,#5
ADDCS Rc,Rc,Ra
ADDHI Rc,Rc,Ra
; Multiply by 4,
; test value,
; complete multiply by 5,
; complete multiply by 6.
Combining discrete and range tests
TEQ
Rc,#127
CMPNE Rc,#” ”-1
MOVLS Rc,#”.”
; Discrete test,
; range test
; IF Rc<=” ” OR Rc=ASCII(127)
; THEN Rc:=”.”
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.
;
; Bit to control the division.
; Move Rb until greater than Ra.
MOV
CMP
CMPCC Rb,Ra
MOVCC Rb,Rb,ASL#1
MOVCC Rcnt,Rcnt,ASL#1
BCC
Div1
MOV
Rc,#0
Rcnt,#1
Rb,#0x80000000
Div1
相關PDF資料
PDF描述
ARM7TDMI 32-Bit Advanced RISC Machines(ARM) Microprocessor Core(32位ARM微處理器內核芯片)
ART10012T 28V Input, Triple Output / HYBRID - HIGH RELIABILITY RADIATION HARDENED DC/DC CONVERTER
ART10015T 28V Input, Triple Output / HYBRID - HIGH RELIABILITY RADIATION HARDENED DC/DC CONVERTER
ART2812T 28V Input, Triple Output / HYBRID - HIGH RELIABILITY RADIATION HARDENED DC/DC CONVERTER
ART28XXT 28V Input, Triple Output / HYBRID - HIGH RELIABILITY RADIATION HARDENED DC/DC CONVERTER
相關代理商/技術參數(shù)
參數(shù)描述
ARM7-009 制造商:Gravitech 功能描述:ARM7 LPC2378 W/2.8" TCH SCRN LCD BLU
ARM720T 制造商:未知廠家 制造商全稱:未知廠家 功能描述:General-purpose 32-bit Microprocessor with 8KB cache, enlarged Write buffer, and Memory Management Unit (MMU) combined in a single chip
ARM7DIMM-LPC2478 功能描述:模塊化系統(tǒng) - SOM LPC2478 ARM7 DIMM Module, Rev 2.2 RoHS:否 制造商:Digi International 外觀尺寸:ConnectCore 9P 處理器類型:ARM926EJ-S 頻率:150 MHz 存儲容量:8 MB, 16 MB 存儲類型:NOR Flash, SDRAM 接口類型:I2C, SPI, UART 工作電源電壓:3.3 V 最大工作溫度:+ 85 C 尺寸:1.97 in x 1.97 in x 6.1 in
ARM7TDI 制造商:未知廠家 制造商全稱:未知廠家 功能描述:周立功的中文ARM7TDI文檔
ARM7TDMI 制造商:未知廠家 制造商全稱:未知廠家 功能描述:general purpose 32-bit microprocessors