參數(shù)資料
型號: ARM60
廠商: Mitel Networks Corporation
英文描述: Low Power General Purpose 32-Bit RISC Microprocessor(低功耗通用32位精簡指令集微處理器)
中文描述: 低功耗通用32位RISC微處理器(低功耗通用32位精簡指令集微處理器)
文件頁數(shù): 65/121頁
文件大小: 1217K
代理商: ARM60
Instruction Set - Examples
61
4.15 Instruction Set Examples
The following examples show ways in which the basic ARM60 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.15.1 Using the conditional instructions
(1)
using conditionals for logical OR
CMP
BEQ
CMP
BEQ
Rn,#p
Label
Rm,#q
Label
; if Rn=p OR Rm=q THEN GOTO Label
can be replaced by
CMP
CMPNE
BEQ
Rn,#p
Rm,#q
Label
; if condition not satisfied try other test
(2)
absolute value
TEQ
RSBMI
Rn,#0
Rn,Rn,#0
; test sign
; and 2's complement if necessary
(3)
multiplication by 4, 5 or 6 (run time)
MOV
CMP
ADDCS
ADDHI
Rc,Ra,LSL#2
Rb,#5
Rc,Rc,Ra
Rc,Rc,Ra
; multiply by 4
; test value
; complete multiply by 5
; complete multiply by 6
(4)
combining discrete and range tests
TEQ
CMPNE
MOVLS
Rc,#127
Rc,#” “-1
Rc,#”.”
; discrete test
; range test
; IF Rc<=” “ OR Rc=ASCII(127)
; THEN Rc:=”.”
(5)
division and remainder
; enter with numbers in Ra and Rb
;
; bit to control the division
; move Rb until greater than Ra
MOV
CMP
CMPCC
MOVCC
MOVCC
Rcnt,#1
Rb,#0x80000000
Rb,Ra
Rb,Rb,ASL#1
Rcnt,Rcnt,ASL#1
Div1
相關(guān)PDF資料
PDF描述
ARM610 General Purpose 32-Bit Microprocessor with 4kByte Cache,Write Buffer and Memory Management Unit(通用32位微處理器(帶4K字節(jié)緩存,寫緩沖器和存儲器管理單元))
ARRAYS NIGHT VISION H.V. RECTIFIER DIODES & ARRAYS
ARS2540 40A GLASS PASSIVATED AVALANCHE BUTTON DIODE
AR2540 40A GLASS PASSIVATED AVALANCHE BUTTON DIODE
ARS25A 25A AUTOMOTIVE BUTTON DIODE
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ARM607 制造商:Master Appliance Corp 功能描述:Armature, With Retaining Rings, 120V (HG 制造商:Master Appliance Corp 功能描述:Armature, With Retaining Rings, 120V (HG-751B)
ARM-607 制造商:Master Appliance Corp 功能描述:Nozzle Shield; HG-751B heat gun 制造商:Master Appliance 功能描述:Heat Gun,Armature W/Retaining Ring For Hg-751B 120V, Hg-501A-D
ARM610 制造商:ZARLINK 制造商全稱:Zarlink Semiconductor Inc 功能描述:General purpose 32-bit microprocessor
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