没有合适的资源?快使用搜索试试~ 我知道了~
首页ARM指令集参考指南:权威版
ARM指令集参考指南:权威版
需积分: 14 13 下载量 168 浏览量
更新于2024-07-17
收藏 4.96MB PDF 举报
"ARM Instruction Set Reference Guide"
ARM指令集是 ARM Limited 开发的一种微处理器指令集,被广泛应用于各种嵌入式系统、移动设备、服务器和高性能计算领域。该参考指南详细介绍了ARM架构下的指令系统,是理解并开发基于ARM处理器软件的基础。
ARM指令集分为几个主要类别,包括数据处理指令、移动和加载存储指令、控制流指令、浮点运算指令(在一些版本的ARM架构中)以及SIMD(单指令多数据)指令,用于高效处理多媒体和信号处理任务。
1. 数据处理指令:这些指令用于执行基本算术和逻辑操作,如加法(ADD)、减法(SUB)、乘法(MUL)、逻辑与(AND)、逻辑或(ORR)以及位移(LSL, ASR等)。它们可以作用于寄存器或立即数,支持对单个或多个数据进行操作。
2. 移动和加载存储指令:包括LDR(Load)和STR(Store),用于从内存中读取数据到寄存器,或者将寄存器中的数据写回内存。此外,还有一些变体,如LDRB(Load Byte)、LDRH(Load Halfword)和LDRSB、LDRSH(Signed Load)等,用于处理不同字节宽度的数据。
3. 控制流指令:包括跳转指令(B, BL)、条件分支指令(BEQ, BNE等)和无条件分支指令(BX, BLX),用于控制程序的流程。BL和BLX指令还可以用于调用子程序。
4. 浮点运算指令:在ARMv7-A及以上版本的架构中,包含了IEEE 754标准的浮点运算指令,如FADD(浮点加法)、FSUB(浮点减法)、FMUL(浮点乘法)和FDIV(浮点除法)等,用于处理浮点数值。
5. SIMD指令(如ARM NEON):这些指令用于同时处理多个数据元素,提高了处理数组和向量数据的速度,常见于多媒体编码、解码、图像处理和机器学习应用。
文档"ARM Instruction Set Reference Guide"第0100-00版发布于2018年10月25日,属于非保密性质,但包含了Arm Limited的知识产权。该文档明确指出,未经许可,不得复制其内容,且未授予任何知识产权许可。使用者需同意不利用其中信息来判断实现是否侵犯第三方专利。
了解并熟练掌握ARM指令集对于开发、调试和优化ARM处理器上的软件至关重要,特别是在嵌入式系统设计、驱动程序开发、实时操作系统(RTOS)以及高性能计算应用等领域。通过深入学习此参考指南,开发者能够编写更高效、更接近硬件底层的代码,从而充分利用ARM处理器的性能。
D2.9 ADDS (extended register) ......................................... ......................................... D2-677
D2.10 ADDS (immediate) .............................................................................................. D2-679
D2.11 ADDS (shifted register) ........................................... ........................................... D2-680
D2.12 ADR .................................................................................................................... D2-681
D2.13 ADRP .................................................................................................................. D2-682
D2.14 AND (immediate) ................................................ ................................................ D2-683
D2.15 AND (shifted register) ............................................ ............................................ D2-684
D2.16 ANDS (immediate) .............................................................................................. D2-685
D2.17 ANDS (shifted register) ........................................... ........................................... D2-686
D2.18 ASR (register) .................................................. .................................................. D2-687
D2.19 ASR (immediate) ................................................ ................................................ D2-688
D2.20 ASRV .................................................................................................................. D2-689
D2.21 AT ........................................................................................................................ D2-690
D2.22 AUTDA, AUTDZA ............................................... ............................................... D2-692
D2.23 AUTDB, AUTDZB ............................................... ............................................... D2-693
D2.24 AUTIA, AUTIZA, AUTIA1716, AUTIASP, AUTIAZ .............................................. D2-694
D2.25 AUTIB, AUTIZB, AUTIB1716, AUTIBSP, AUTIBZ .............................................. D2-695
D2.26 AXFlag ................................................................................................................ D2-696
D2.27 B.cond ........................................................ ........................................................ D2-697
D2.28 B .......................................................................................................................... D2-698
D2.29 BFC .......................................................... .......................................................... D2-699
D2.30 BFI ...................................................................................................................... D2-700
D2.31 BFM .................................................................................................................... D2-701
D2.32 BFXIL .................................................................................................................. D2-702
D2.33 BIC (shifted register) ............................................. ............................................. D2-703
D2.34 BICS (shifted register) ............................................ ............................................ D2-704
D2.35 BL ........................................................................................................................ D2-705
D2.36 BLR .......................................................... .......................................................... D2-706
D2.37 BLRAA, BLRAAZ, BLRAB, BLRABZ ................................. ................................. D2-707
D2.38 BR ........................................................... ........................................................... D2-708
D2.39 BRAA, BRAAZ, BRAB, BRABZ .......................................................................... D2-709
D2.40 BRK .......................................................... .......................................................... D2-710
D2.41 BTI ........................................................... ........................................................... D2-711
D2.42 CBNZ .................................................................................................................. D2-712
D2.43 CBZ .......................................................... .......................................................... D2-713
D2.44 CCMN (immediate) .............................................. .............................................. D2-714
D2.45 CCMN (register) .................................................................................................. D2-715
D2.46 CCMP (immediate) .............................................. .............................................. D2-716
D2.47 CCMP (register) .................................................................................................. D2-717
D2.48 CINC ......................................................... ......................................................... D2-718
D2.49 CINV ......................................................... ......................................................... D2-719
D2.50 CLREX ................................................................................................................ D2-720
D2.51 CLS .......................................................... .......................................................... D2-721
D2.52 CLZ .......................................................... .......................................................... D2-722
D2.53 CMN (extended register) .......................................... .......................................... D2-723
D2.54 CMN (immediate) ................................................................................................ D2-725
D2.55 CMN (shifted register) ............................................ ............................................ D2-726
D2.56 CMP (extended register) .......................................... .......................................... D2-727
D2.57 CMP (immediate) ................................................................................................ D2-729
D2.58 CMP (shifted register) ............................................ ............................................ D2-730
100076_0100_00_en Copyright © 2018 Arm Limited or its affiliates. All rights reserved. 16
Non-Confidential
D2.59 CMPP .................................................................................................................. D2-731
D2.60 CNEG .................................................................................................................. D2-732
D2.61 CRC32B, CRC32H, CRC32W, CRC32X ............................................................ D2-733
D2.62 CRC32CB, CRC32CH, CRC32CW, CRC32CX .................................................. D2-734
D2.63 CSDB .................................................................................................................. D2-735
D2.64 CSEL ......................................................... ......................................................... D2-737
D2.65 CSET .................................................................................................................. D2-738
D2.66 CSETM ....................................................... ....................................................... D2-739
D2.67 CSINC ........................................................ ........................................................ D2-740
D2.68 CSINV ........................................................ ........................................................ D2-741
D2.69 CSNEG ....................................................... ....................................................... D2-742
D2.70 DC ........................................................... ........................................................... D2-743
D2.71 DCPS1 ................................................................................................................ D2-744
D2.72 DCPS2 ................................................................................................................ D2-745
D2.73 DCPS3 ................................................................................................................ D2-746
D2.74 DMB .................................................................................................................... D2-747
D2.75 DRPS .................................................................................................................. D2-749
D2.76 DSB .......................................................... .......................................................... D2-750
D2.77 EON (shifted register) ............................................ ............................................ D2-752
D2.78 EOR (immediate) ................................................................................................ D2-753
D2.79 EOR (shifted register) ............................................ ............................................ D2-754
D2.80 ERET .................................................................................................................. D2-755
D2.81 ERETAA, ERETAB .............................................................................................. D2-756
D2.82 ESB .......................................................... .......................................................... D2-757
D2.83 EXTR .................................................................................................................. D2-758
D2.84 GMI .......................................................... .......................................................... D2-759
D2.85 HINT .................................................................................................................... D2-760
D2.86 HLT .......................................................... .......................................................... D2-761
D2.87 HVC .................................................................................................................... D2-762
D2.88 IC ........................................................................................................................ D2-763
D2.89 IRG ...................................................................................................................... D2-764
D2.90 ISB ...................................................................................................................... D2-765
D2.91 LDG .......................................................... .......................................................... D2-766
D2.92 LDGV .................................................................................................................. D2-767
D2.93 LSL (register) ...................................................................................................... D2-768
D2.94 LSL (immediate) .................................................................................................. D2-769
D2.95 LSLV ......................................................... ......................................................... D2-770
D2.96 LSR (register) ...................................................................................................... D2-771
D2.97 LSR (immediate) ................................................ ................................................ D2-772
D2.98 LSRV ......................................................... ......................................................... D2-773
D2.99 MADD ........................................................ ........................................................ D2-774
D2.100 MNEG ........................................................ ........................................................ D2-775
D2.101 MOV (to or from SP) ............................................. ............................................. D2-776
D2.102 MOV (inverted wide immediate) .......................................................................... D2-777
D2.103 MOV (wide immediate) ........................................... ........................................... D2-778
D2.104 MOV (bitmask immediate) ......................................... ......................................... D2-779
D2.105 MOV (register) .................................................................................................... D2-780
D2.106 MOVK ........................................................ ........................................................ D2-781
D2.107 MOVN ........................................................ ........................................................ D2-782
D2.108 MOVZ .................................................................................................................. D2-783
100076_0100_00_en Copyright © 2018 Arm Limited or its affiliates. All rights reserved. 17
Non-Confidential
D2.109 MRS .................................................................................................................... D2-784
D2.110 MSR (immediate) ................................................................................................ D2-785
D2.111 MSR (register) .................................................. .................................................. D2-786
D2.112 MSUB .................................................................................................................. D2-787
D2.113 MUL .................................................................................................................... D2-788
D2.114 MVN .................................................................................................................... D2-789
D2.115 NEG (shifted register) ............................................ ............................................ D2-790
D2.116 NEGS .................................................................................................................. D2-791
D2.117 NGC .................................................................................................................... D2-792
D2.118 NGCS .................................................................................................................. D2-793
D2.119 NOP .................................................................................................................... D2-794
D2.120 ORN (shifted register) ............................................ ............................................ D2-795
D2.121 ORR (immediate) ................................................................................................ D2-796
D2.122 ORR (shifted register) ............................................ ............................................ D2-797
D2.123 PACDA, PACDZA ................................................................................................ D2-798
D2.124 PACDB, PACDZB ................................................................................................ D2-799
D2.125 PACGA ................................................................................................................ D2-800
D2.126 PACIA, PACIZA, PACIA1716, PACIASP, PACIAZ ....................... ....................... D2-801
D2.127 PACIB, PACIZB, PACIB1716, PACIBSP, PACIBZ ....................... ....................... D2-802
D2.128 PSB .......................................................... .......................................................... D2-803
D2.129 RBIT .................................................................................................................... D2-804
D2.130 RET .......................................................... .......................................................... D2-805
D2.131 RETAA, RETAB ................................................. ................................................. D2-806
D2.132 REV16 ........................................................ ........................................................ D2-807
D2.133 REV32 ........................................................ ........................................................ D2-808
D2.134 REV64 ........................................................ ........................................................ D2-809
D2.135 REV .......................................................... .......................................................... D2-810
D2.136 ROR (immediate) ................................................................................................ D2-811
D2.137 ROR (register) .................................................. .................................................. D2-812
D2.138 RORV .................................................................................................................. D2-813
D2.139 SBC .......................................................... .......................................................... D2-814
D2.140 SBCS .................................................................................................................. D2-815
D2.141 SBFIZ .................................................................................................................. D2-816
D2.142 SBFM .................................................................................................................. D2-817
D2.143 SBFX ......................................................... ......................................................... D2-818
D2.144 SDIV .................................................................................................................... D2-819
D2.145 SEV .......................................................... .......................................................... D2-820
D2.146 SEVL ......................................................... ......................................................... D2-821
D2.147 SMADDL ...................................................... ...................................................... D2-822
D2.148 SMC .................................................................................................................... D2-823
D2.149 SMNEGL ...................................................... ...................................................... D2-824
D2.150 SMSUBL ...................................................... ...................................................... D2-825
D2.151 SMULH ....................................................... ....................................................... D2-826
D2.152 SMULL ................................................................................................................ D2-827
D2.153 ST2G ......................................................... ......................................................... D2-828
D2.154 STG .......................................................... .......................................................... D2-829
D2.155 STGP .................................................................................................................. D2-830
D2.156 STGV .................................................................................................................. D2-831
D2.157 STZ2G ................................................................................................................ D2-832
D2.158 STZG .................................................................................................................. D2-833
100076_0100_00_en Copyright © 2018 Arm Limited or its affiliates. All rights reserved. 18
Non-Confidential
D2.159 SUB (extended register) .......................................... .......................................... D2-834
D2.160 SUB (immediate) ................................................ ................................................ D2-836
D2.161 SUB (shifted register) .......................................................................................... D2-837
D2.162 SUBG .................................................................................................................. D2-838
D2.163 SUBP .................................................................................................................. D2-839
D2.164 SUBPS ................................................................................................................ D2-840
D2.165 SUBS (extended register) ......................................... ......................................... D2-841
D2.166 SUBS (immediate) .............................................................................................. D2-843
D2.167 SUBS (shifted register) ........................................... ........................................... D2-844
D2.168 SVC .......................................................... .......................................................... D2-845
D2.169 SXTB ......................................................... ......................................................... D2-846
D2.170 SXTH .................................................................................................................. D2-847
D2.171 SXTW .................................................................................................................. D2-848
D2.172 SYS .......................................................... .......................................................... D2-849
D2.173 SYSL ......................................................... ......................................................... D2-850
D2.174 TBNZ ......................................................... ......................................................... D2-851
D2.175 TBZ .......................................................... .......................................................... D2-852
D2.176 TLBI .................................................................................................................... D2-853
D2.177 TST (immediate) ................................................ ................................................ D2-855
D2.178 TST (shifted register) .......................................................................................... D2-856
D2.179 UBFIZ .................................................................................................................. D2-857
D2.180 UBFM .................................................................................................................. D2-858
D2.181 UBFX .................................................................................................................. D2-859
D2.182 UDIV ......................................................... ......................................................... D2-860
D2.183 UMADDL ...................................................... ...................................................... D2-861
D2.184 UMNEGL ...................................................... ...................................................... D2-862
D2.185 UMSUBL ...................................................... ...................................................... D2-863
D2.186 UMULH ....................................................... ....................................................... D2-864
D2.187 UMULL ................................................................................................................ D2-865
D2.188 UXTB .................................................................................................................. D2-866
D2.189 UXTH .................................................................................................................. D2-867
D2.190 XAFlag ................................................................................................................ D2-868
D2.191 WFE .................................................................................................................... D2-869
D2.192 WFI .......................................................... .......................................................... D2-870
D2.193 XPACD, XPACI, XPACLRI .................................................................................. D2-871
D2.194 YIELD .................................................................................................................. D2-872
Chapter D3 A64 Data Transfer Instructions
D3.1 A64 data transfer instructions in alphabetical order ............................................ D3-877
D3.2 CASA, CASAL, CAS, CASL, CASAL, CAS, CASL ...................... ...................... D3-883
D3.3 CASAB, CASALB, CASB, CASLB ...................................................................... D3-884
D3.4 CASAH, CASALH, CASH, CASLH .................................. .................................. D3-885
D3.5 CASPA, CASPAL, CASP, CASPL, CASPAL, CASP, CASPL .............................. D3-886
D3.6 LDADDA, LDADDAL, LDADD, LDADDL, LDADDAL, LDADD, LDADDL ..... ..... D3-888
D3.7 LDADDAB, LDADDALB, LDADDB, LDADDLB ......................... ......................... D3-889
D3.8 LDADDAH, LDADDALH, LDADDH, LDADDLH .................................................. D3-890
D3.9 LDAPR ................................................................................................................ D3-891
D3.10 LDAPRB .............................................................................................................. D3-892
D3.11 LDAPRH ...................................................... ...................................................... D3-893
D3.12 LDAR .................................................................................................................. D3-894
100076_0100_00_en Copyright © 2018 Arm Limited or its affiliates. All rights reserved. 19
Non-Confidential
D3.13 LDARB ................................................................................................................ D3-895
D3.14 LDARH ................................................................................................................ D3-896
D3.15 LDAXP ................................................................................................................ D3-897
D3.16 LDAXR ................................................................................................................ D3-898
D3.17 LDAXRB .............................................................................................................. D3-899
D3.18 LDAXRH ...................................................... ...................................................... D3-900
D3.19 LDCLRA, LDCLRAL, LDCLR, LDCLRL, LDCLRAL, LDCLR, LDCLRL .............. D3-901
D3.20 LDCLRAB, LDCLRALB, LDCLRB, LDCLRLB .......................... .......................... D3-902
D3.21 LDCLRAH, LDCLRALH, LDCLRH, LDCLRLH .................................................... D3-903
D3.22 LDEORA, LDEORAL, LDEOR, LDEORL, LDEORAL, LDEOR, LDEORL .......... D3-904
D3.23 LDEORAB, LDEORALB, LDEORB, LDEORLB .................................................. D3-905
D3.24 LDEORAH, LDEORALH, LDEORH, LDEORLH ........................ ........................ D3-906
D3.25 LDLAR ................................................................................................................ D3-907
D3.26 LDLARB .............................................................................................................. D3-908
D3.27 LDLARH .............................................................................................................. D3-909
D3.28 LDNP .................................................................................................................. D3-910
D3.29 LDP .......................................................... .......................................................... D3-911
D3.30 LDPSW ....................................................... ....................................................... D3-912
D3.31 LDR (immediate) ................................................ ................................................ D3-913
D3.32 LDR (literal) .................................................... .................................................... D3-914
D3.33 LDR (register) .................................................. .................................................. D3-915
D3.34 LDRAA, LDRAB, LDRAB .................................................................................... D3-916
D3.35 LDRB (immediate) ............................................... ............................................... D3-917
D3.36 LDRB (register) ................................................. ................................................. D3-918
D3.37 LDRH (immediate) .............................................................................................. D3-919
D3.38 LDRH (register) ................................................. ................................................. D3-920
D3.39 LDRSB (immediate) ............................................................................................ D3-921
D3.40 LDRSB (register) ................................................ ................................................ D3-922
D3.41 LDRSH (immediate) ............................................................................................ D3-923
D3.42 LDRSH (register) ................................................ ................................................ D3-924
D3.43 LDRSW (immediate) ............................................. ............................................. D3-925
D3.44 LDRSW (literal) ................................................. ................................................. D3-926
D3.45 LDRSW (register) ................................................................................................ D3-927
D3.46 LDSETA, LDSETAL, LDSET, LDSETL, LDSETAL, LDSET, LDSETL ........ ........ D3-928
D3.47 LDSETAB, LDSETALB, LDSETB, LDSETLB ...................................................... D3-929
D3.48 LDSETAH, LDSETALH, LDSETH, LDSETLH .......................... .......................... D3-930
D3.49 LDSMAXA, LDSMAXAL, LDSMAX, LDSMAXL, LDSMAXAL, LDSMAX, LDSMAXL ....
............................................................................................................................. D3-931
D3.50 LDSMAXAB, LDSMAXALB, LDSMAXB, LDSMAXLB .................... .................... D3-932
D3.51 LDSMAXAH, LDSMAXALH, LDSMAXH, LDSMAXLH ........................................ D3-933
D3.52 LDSMINA, LDSMINAL, LDSMIN, LDSMINL, LDSMINAL, LDSMIN, LDSMINL .. D3-934
D3.53 LDSMINAB, LDSMINALB, LDSMINB, LDSMINLB ...................... ...................... D3-935
D3.54 LDSMINAH, LDSMINALH, LDSMINH, LDSMINLH ...................... ...................... D3-936
D3.55 LDTR ......................................................... ......................................................... D3-937
D3.56 LDTRB ................................................................................................................ D3-938
D3.57 LDTRH ................................................................................................................ D3-939
D3.58 LDTRSB .............................................................................................................. D3-940
D3.59 LDTRSH .............................................................................................................. D3-941
D3.60 LDTRSW ...................................................... ...................................................... D3-942
100076_0100_00_en Copyright © 2018 Arm Limited or its affiliates. All rights reserved. 20
Non-Confidential
剩余1557页未读,继续阅读
2019-08-28 上传
2017-12-08 上传
点击了解资源详情
点击了解资源详情
点击了解资源详情
点击了解资源详情
guoliuly
- 粉丝: 19
- 资源: 9
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- Mobile移动开发宝典_第01章 .NET Compact Framework移动平台
- 高质量C++编程指南
- 空间数据库备份恢复arcgisdb
- Linux下omnet++4.0 Tictoc
- 我自己寫的一些簡單代碼
- PC机与多MCS_51单片机间的串行通信设计
- cairngorm 经典的一个例子
- BB典、实用、趣味程序设计编程百例精解BB典、实用、趣味程序设计编程百例精解
- MapServer.Open.Source.GIS.Development.Aug.2005
- matlab simulink资料,特适合初学者
- JavaScript 高级程序设计[精华].pdf
- 单片机毕业设计——可编程微波炉控制器系统设计
- 留言板的jsp代码+数据库设计+页面结构
- GNU-Make中文说明
- Ajax技术地图,是了解ajax的好工具。适合ajax的初学者了解整体脉络哦!
- linux_mig_release_G4oyxcsIVyIZ
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功