參數(shù)資料
型號: P610ARM-FPNR
廠商: Zarlink Semiconductor Inc.
英文描述: General purpose 32-bit microprocessor
中文描述: 通用32位微處理器
文件頁數(shù): 87/173頁
文件大小: 897K
代理商: P610ARM-FPNR
Instruction Set - Examples
ARM610 Data Sheet
4-59
O
2
If C MOD 4 = 1, say C = 2^n*D+1, D odd, n>1:
D=1:
ADD Rb,Ra,Ra,LSL #n
D<>1:
{Rb := Ra*D}
ADD
Rb,Ra,Rb,LSL #n
3
If C MOD 4 = 3, say C = 2^n*D-1, D odd, n>1:
D=1:
RSB Rb,Ra,Ra,LSL #n
D<>1:
{Rb := Ra*D}
RSB
This is not quite optimal, but close. An example of its non-optimality is multiply
by 45 which is done by:
Rb,Ra,Rb,LSL #n
RSB
RSB
ADD
Rb,Ra,Ra,LSL#2 ; multiply by 3
Rb,Ra,Rb,LSL#2 ; multiply by 4*3-1 = 11
Rb,Ra,Rb,LSL# 2; multiply by 4*11+1 = 45
rather than by:
ADD
ADD
Rb,Ra,Ra,LSL#3 ; multiply by 9
Rb,Rb,Rb,LSL#2 ; multiply by 5*9 = 45
4.16.4 Loading a word from an unknown alignment
; enter with address in Ra (32 bits)
; uses Rb, Rc; result in Rd.
; Note d must be less than c e.g. 0,1
;
; get word aligned address
; get 64 bits containing answer
; correction factor in bytes
; ...now in bits and test if aligned
; produce bottom of result word
; (if not aligned)
; get other shift amount
BIC
LDMIA Rb,{Rd,Rc}
AND
Rb,Ra,#3
MOVS
Rb,Rb,LSL#3
MOVNE Rd,Rd,LSR Rb
Rb,Ra,#3
RSBNE Rb,Rb,#32
ORRNE Rd,Rd,Rc,LSL Rb; combine two halves to get result
相關(guān)PDF資料
PDF描述
P610ARM-B General purpose 32-bit microprocessor
P610ARM-KG General purpose 32-bit microprocessor
P610ARM-KW General purpose 32-bit microprocessor
P6121-AU120 Incremental Encoders
P6111-AP120 Incremental Encoders
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
P610ARM-KG 制造商:ZARLINK 制造商全稱:Zarlink Semiconductor Inc 功能描述:General purpose 32-bit microprocessor
P610ARM-KW 制造商:ZARLINK 制造商全稱:Zarlink Semiconductor Inc 功能描述:General purpose 32-bit microprocessor
P6-10R 制造商:Panduit Corp 功能描述:PANDUIT
P6-10R-E 功能描述:端子 NON-INSL.RING #6 #10 RoHS:否 制造商:AVX 產(chǎn)品:Junction Box - Wire to Wire 系列:9826 線規(guī):26-18 接線柱/接頭大小: 絕緣: 顏色:Red 型式:Female 觸點(diǎn)電鍍:Tin over Nickel 觸點(diǎn)材料:Beryllium Copper, Phosphor Bronze 端接類型:Crimp
P610R-E 制造商:Panduit Corp 功能描述: