參數(shù)資料
型號: ARM60
廠商: Zarlink Semiconductor Inc.
英文描述: Low power, general purpose 32-bit RISC microprocessor
中文描述: 低功耗,通用32位RISC微處理器
文件頁數(shù): 65/120頁
文件大?。?/td> 1275K
代理商: 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
相關PDF資料
PDF描述
ARM610 General purpose 32-bit microprocessor
ARM7TDMI 32-Bit Advanced RISC Machines(ARM) Microprocessor Core(32位ARM微處理器內(nèi)核芯片)
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
相關代理商/技術參數(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