没有合适的资源?快使用搜索试试~ 我知道了~
首页Arm Compiler 6.6 armasm用户指南:最新版本与更新历史
Arm Compiler 6.6 armasm用户指南:最新版本与更新历史
需积分: 5 0 下载量 37 浏览量
更新于2024-07-09
收藏 5.58MB PDF 举报
Arm Compiler Version 6.6 是一个针对 ARM 架构的汇编器用户指南,由 Arm Limited 及其关联公司于 2014 年至 2020 年间发布。这份文档详细介绍了如何使用 armasm,它是 Arm Compiler 的一部分,用于编写针对 ARM 处理器的低级汇编代码。armasm User Guide 提供了对汇编指令集、寄存器使用、指令操作码、内存访问、异常处理以及与 Arm 异常和中断系统相关的指导。
文档历史记录表明,从 Arm Compiler v6.00 的初始版本(2014年3月)到 v6.6.4 版本(2020年8月),该用户手册经历了多次更新,旨在优化性能,修复错误,增加新特性,并保持与最新硬件的兼容性。每个版本的变更通常标记为字母代码(如 A 到 K),并附有相应的发行日期,强调了文档的非保密性质。
学习和使用 armasm 用户指南对于开发人员来说至关重要,因为它覆盖了以下关键知识点:
1. **汇编语言基础**:文档详细解释了如何在 ARM 汇编环境中编写代码,包括指令格式、寻址模式和数据类型定义。
2. **指令集**:介绍了 Armv6乃至更高级别的指令集,包括 Thumb-1、Thumb-2 和 ARM指令集,以及它们在性能和代码密度上的差异。
3. **寄存器使用**:涵盖了通用寄存器(R0-R15)、特殊功能寄存器(如 R13-SPSR)以及堆栈和程序计数器的管理。
4. **内存管理**:讨论了如何通过立即数、寄存器间接、存储器间接等方式访问内存,以及内存对齐和访问权限控制。
5. **异常处理**:说明了如何响应和处理软件中断(比如异常或异常返回),包括异常向量表的配置和处理流程。
6. **中断系统**:讲解了中断请求、中断服务程序(ISR)的编写和嵌套中断的处理策略。
7. **版本更新特性**:列出每版更新的主要变化,包括新功能、改进和 bug 修复,帮助开发者跟踪工具的演进。
8. **版权和许可**:最后,文档强调了保密性和专属性,提醒用户只能在授权范围内使用 Arm Compiler 和相关文档。
Arm Compiler Version 6.6 armasm User Guide 是一个不可或缺的资源,对于任何希望在 ARM 架构上进行低级开发的程序员或嵌入式系统设计者来说,它提供了深入理解、编写和优化 ARM 汇编代码的基础。随着技术的发展,后续的版本可能会引入更多的优化和适应新技术的内容,持续关注 Arm 官方文档以获取最新信息是至关重要的。
14.107 VRECPS .............................................................................................................. 14-741
14.108 VREV16, VREV32, and VREV64 ........................................................................ 14-742
14.109 VRHADD ...................................................... ...................................................... 14-743
14.110 VRSHL (by signed variable) ................................................................................ 14-744
14.111 VRSHR (by immediate) ........................................... ........................................... 14-745
14.112 VRSHRN (by immediate) .......................................... .......................................... 14-746
14.113 VRINT .................................................................................................................. 14-747
14.114 VRSQRTE ..................................................... ..................................................... 14-748
14.115 VRSQRTS ..................................................... ..................................................... 14-749
14.116 VRSRA (by immediate) ........................................... ........................................... 14-750
14.117 VRSUBHN ..................................................... ..................................................... 14-751
14.118 VSHL (by immediate) .......................................................................................... 14-752
14.119 VSHL (by signed variable) ......................................... ......................................... 14-754
14.120 VSHLL (by immediate) ........................................................................................ 14-755
14.121 VSHR (by immediate) .......................................................................................... 14-756
14.122 VSHRN (by immediate) ........................................... ........................................... 14-757
14.123 VSLI .......................................................... .......................................................... 14-758
14.124 VSRA (by immediate) .......................................................................................... 14-759
14.125 VSRI .................................................................................................................... 14-760
14.126 VSTM ......................................................... ......................................................... 14-761
14.127 VSTn (multiple n-element structures) .................................................................. 14-762
14.128 VSTn (single n-element structure to one lane) .................................................... 14-764
14.129 VSTR ......................................................... ......................................................... 14-766
14.130 VSTR (post-increment and pre-decrement) ............................ ............................ 14-767
14.131 VSUB ......................................................... ......................................................... 14-768
14.132 VSUBHN .............................................................................................................. 14-769
14.133 VSUBL and VSUBW ............................................................................................ 14-770
14.134 VSWP .................................................................................................................. 14-771
14.135 VTBL and VTBX .................................................................................................. 14-772
14.136 VTRN ......................................................... ......................................................... 14-773
14.137 VTST ......................................................... ......................................................... 14-774
14.138 VUZP ......................................................... ......................................................... 14-775
14.139 VZIP .......................................................... .......................................................... 14-776
Chapter 15 Floating-point Instructions (32-bit)
15.1 Summary of floating-point instructions ................................ ................................ 15-779
15.2 VABS (floating-point) ............................................. ............................................. 15-781
15.3 VADD (floating-point) ............................................. ............................................. 15-782
15.4 VCMP, VCMPE .................................................................................................... 15-783
15.5 VCVT (between single-precision and double-precision) ...................................... 15-784
15.6 VCVT (between floating-point and integer) ............................ ............................ 15-785
15.7 VCVT (from floating-point to integer, Floating-point) ..................... ..................... 15-786
15.8 VCVT (between floating-point and fixed-point) .................................................... 15-787
15.9 VCVTB, VCVTT (half-precision extension) .......................................................... 15-788
15.10 VCVTB, VCVTT (between half-precision and double-precision) ............ ............ 15-789
15.11 VDIV .................................................................................................................... 15-790
15.12 VFMA, VFMS, VFNMA, VFNMS (floating-point) ........................ ........................ 15-791
15.13 VJCVT ........................................................ ........................................................ 15-792
15.14 VLDM (floating-point) ............................................. ............................................. 15-793
15.15 VLDR (floating-point) ............................................. ............................................. 15-794
DUI0801K Copyright © 2014–2017, 2019, 2020 Arm Limited or its affiliates. All
rights reserved.
16
Non-Confidential
15.16 VLDR (post-increment and pre-decrement, floating-point) .................................. 15-795
15.17 VLDR pseudo-instruction (floating-point) .............................. .............................. 15-796
15.18 VLLDM ........................................................ ........................................................ 15-797
15.19 VLSTM ........................................................ ........................................................ 15-798
15.20 VMAXNM, VMINNM (floating-point) .................................................................... 15-799
15.21 VMLA (floating-point) ............................................. ............................................. 15-800
15.22 VMLS (floating-point) ............................................. ............................................. 15-801
15.23 VMOV (floating-point) .......................................................................................... 15-802
15.24 VMOV (between one general-purpose register and single precision floating-point
register) ....................................................... ....................................................... 15-803
15.25 VMOV (between two general-purpose registers and one or two extension registers) ....
.............................................................................................................................. 15-804
15.26 VMOV (between a general-purpose register and half a double precision floating-point
register) ....................................................... ....................................................... 15-805
15.27 VMRS (floating-point) .......................................................................................... 15-806
15.28 VMSR (floating-point) .......................................................................................... 15-807
15.29 VMUL (floating-point) ............................................. ............................................. 15-808
15.30 VNEG (floating-point) .......................................................................................... 15-809
15.31 VNMLA (floating-point) ........................................................................................ 15-810
15.32 VNMLS (floating-point) ............................................ ............................................ 15-811
15.33 VNMUL (floating-point) ........................................................................................ 15-812
15.34 VPOP (floating-point) ............................................. ............................................. 15-813
15.35 VPUSH (floating-point) ........................................................................................ 15-814
15.36 VRINT (floating-point) .......................................................................................... 15-815
15.37 VSEL ......................................................... ......................................................... 15-816
15.38 VSQRT ................................................................................................................ 15-817
15.39 VSTM (floating-point) ............................................. ............................................. 15-818
15.40 VSTR (floating-point) ............................................. ............................................. 15-819
15.41 VSTR (post-increment and pre-decrement, floating-point) .................................. 15-820
15.42 VSUB (floating-point) ............................................. ............................................. 15-821
Chapter 16 A64 General Instructions
16.1 A64 instructions in alphabetical order .................................................................. 16-826
16.2 Register restrictions for A64 instructions .............................. .............................. 16-832
16.3 ADC .......................................................... .......................................................... 16-833
16.4 ADCS ......................................................... ......................................................... 16-834
16.5 ADD (extended register) ...................................................................................... 16-835
16.6 ADD (immediate) ................................................ ................................................ 16-837
16.7 ADD (shifted register) .......................................................................................... 16-838
16.8 ADDS (extended register) ......................................... ......................................... 16-839
16.9 ADDS (immediate) ............................................... ............................................... 16-841
16.10 ADDS (shifted register) ........................................................................................ 16-842
16.11 ADR .......................................................... .......................................................... 16-843
16.12 ADRL pseudo-instruction .......................................... .......................................... 16-844
16.13 ADRP ......................................................... ......................................................... 16-845
16.14 AND (immediate) ................................................ ................................................ 16-846
16.15 AND (shifted register) .......................................................................................... 16-847
16.16 ANDS (immediate) ............................................... ............................................... 16-848
16.17 ANDS (shifted register) ........................................................................................ 16-849
16.18 ASR (register) ...................................................................................................... 16-850
DUI0801K Copyright © 2014–2017, 2019, 2020 Arm Limited or its affiliates. All
rights reserved.
17
Non-Confidential
16.19 ASR (immediate) ................................................ ................................................ 16-851
16.20 ASRV ......................................................... ......................................................... 16-852
16.21 AT ........................................................................................................................ 16-853
16.22 AUTDA, AUTDZA ................................................................................................ 16-855
16.23 AUTDB, AUTDZB ................................................................................................ 16-856
16.24 AUTIA, AUTIZA, AUTIA1716, AUTIASP, AUTIAZ ....................... ....................... 16-857
16.25 AUTIB, AUTIZB, AUTIB1716, AUTIBSP, AUTIBZ ....................... ....................... 16-858
16.26 B.cond ........................................................ ........................................................ 16-859
16.27 B .......................................................................................................................... 16-860
16.28 BFC .......................................................... .......................................................... 16-861
16.29 BFI ........................................................... ........................................................... 16-862
16.30 BFM .......................................................... .......................................................... 16-863
16.31 BFXIL ......................................................... ......................................................... 16-864
16.32 BIC (shifted register) ............................................................................................ 16-865
16.33 BICS (shifted register) ............................................ ............................................ 16-866
16.34 BL ........................................................................................................................ 16-867
16.35 BLR ...................................................................................................................... 16-868
16.36 BLRAA, BLRAAZ, BLRAB, BLRABZ ................................. ................................. 16-869
16.37 BR ........................................................................................................................ 16-870
16.38 BRAA, BRAAZ, BRAB, BRABZ ..................................... ..................................... 16-871
16.39 BRK .......................................................... .......................................................... 16-872
16.40 CBNZ ......................................................... ......................................................... 16-873
16.41 CBZ .......................................................... .......................................................... 16-874
16.42 CCMN (immediate) .............................................................................................. 16-875
16.43 CCMN (register) ................................................. ................................................. 16-876
16.44 CCMP (immediate) .............................................................................................. 16-877
16.45 CCMP (register) ................................................. ................................................. 16-878
16.46 CINC .................................................................................................................... 16-879
16.47 CINV .................................................................................................................... 16-880
16.48 CLREX ........................................................ ........................................................ 16-881
16.49 CLS ...................................................................................................................... 16-882
16.50 CLZ ...................................................................................................................... 16-883
16.51 CMN (extended register) .......................................... .......................................... 16-884
16.52 CMN (immediate) ................................................ ................................................ 16-886
16.53 CMN (shifted register) ............................................ ............................................ 16-887
16.54 CMP (extended register) .......................................... .......................................... 16-888
16.55 CMP (immediate) ................................................ ................................................ 16-890
16.56 CMP (shifted register) .......................................................................................... 16-891
16.57 CNEG .................................................................................................................. 16-892
16.58 CRC32B, CRC32H, CRC32W, CRC32X .............................. .............................. 16-893
16.59 CRC32CB, CRC32CH, CRC32CW, CRC32CX ......................... ......................... 16-894
16.60 CSEL ......................................................... ......................................................... 16-895
16.61 CSET ......................................................... ......................................................... 16-896
16.62 CSETM ................................................................................................................ 16-897
16.63 CSINC ........................................................ ........................................................ 16-898
16.64 CSINV .................................................................................................................. 16-899
16.65 CSNEG ................................................................................................................ 16-900
16.66 DC ........................................................... ........................................................... 16-901
16.67 DCPS1 ........................................................ ........................................................ 16-902
16.68 DCPS2 ........................................................ ........................................................ 16-903
DUI0801K Copyright © 2014–2017, 2019, 2020 Arm Limited or its affiliates. All
rights reserved.
18
Non-Confidential
16.69 DCPS3 ........................................................ ........................................................ 16-904
16.70 DMB .......................................................... .......................................................... 16-905
16.71 DRPS ......................................................... ......................................................... 16-907
16.72 DSB .......................................................... .......................................................... 16-908
16.73 EON (shifted register) .......................................................................................... 16-910
16.74 EOR (immediate) ................................................ ................................................ 16-911
16.75 EOR (shifted register) .......................................................................................... 16-912
16.76 ERET ......................................................... ......................................................... 16-913
16.77 ERETAA, ERETAB ............................................... ............................................... 16-914
16.78 ESB .......................................................... .......................................................... 16-915
16.79 EXTR ......................................................... ......................................................... 16-916
16.80 HINT .................................................................................................................... 16-917
16.81 HLT ...................................................................................................................... 16-918
16.82 HVC .......................................................... .......................................................... 16-919
16.83 IC ............................................................ ............................................................ 16-920
16.84 ISB ........................................................... ........................................................... 16-921
16.85 LSL (register) ................................................... ................................................... 16-922
16.86 LSL (immediate) .................................................................................................. 16-923
16.87 LSLV .................................................................................................................... 16-924
16.88 LSR (register) ...................................................................................................... 16-925
16.89 LSR (immediate) .................................................................................................. 16-926
16.90 LSRV ......................................................... ......................................................... 16-927
16.91 MADD .................................................................................................................. 16-928
16.92 MNEG .................................................................................................................. 16-929
16.93 MOV (to or from SP) ............................................................................................ 16-930
16.94 MOV (inverted wide immediate) .......................................................................... 16-931
16.95 MOV (wide immediate) ........................................................................................ 16-932
16.96 MOV (bitmask immediate) ......................................... ......................................... 16-933
16.97 MOV (register) .................................................. .................................................. 16-934
16.98 MOVK .................................................................................................................. 16-935
16.99 MOVL pseudo-instruction .................................................................................... 16-936
16.100 MOVN .................................................................................................................. 16-938
16.101 MOVZ .................................................................................................................. 16-939
16.102 MRS .......................................................... .......................................................... 16-940
16.103 MSR (immediate) ................................................ ................................................ 16-941
16.104 MSR (register) .................................................. .................................................. 16-942
16.105 MSUB .................................................................................................................. 16-943
16.106 MUL .......................................................... .......................................................... 16-944
16.107 MVN .......................................................... .......................................................... 16-945
16.108 NEG (shifted register) .......................................................................................... 16-946
16.109 NEGS .................................................................................................................. 16-947
16.110 NGC .......................................................... .......................................................... 16-948
16.111 NGCS .................................................................................................................. 16-949
16.112 NOP .......................................................... .......................................................... 16-950
16.113 ORN (shifted register) .......................................................................................... 16-951
16.114 ORR (immediate) ................................................ ................................................ 16-952
16.115 ORR (shifted register) .......................................................................................... 16-953
16.116 PACDA, PACDZA ................................................................................................ 16-954
16.117 PACDB, PACDZB ................................................................................................ 16-955
16.118 PACGA ................................................................................................................ 16-956
DUI0801K Copyright © 2014–2017, 2019, 2020 Arm Limited or its affiliates. All
rights reserved.
19
Non-Confidential
16.119 PACIA, PACIZA, PACIA1716, PACIASP, PACIAZ ....................... ....................... 16-957
16.120 PACIB, PACIZB, PACIB1716, PACIBSP, PACIBZ ....................... ....................... 16-958
16.121 PSB .......................................................... .......................................................... 16-959
16.122 RBIT .................................................................................................................... 16-960
16.123 RET .......................................................... .......................................................... 16-961
16.124 RETAA, RETAB ................................................. ................................................. 16-962
16.125 REV16 ........................................................ ........................................................ 16-963
16.126 REV32 ........................................................ ........................................................ 16-964
16.127 REV64 ........................................................ ........................................................ 16-965
16.128 REV .......................................................... .......................................................... 16-966
16.129 ROR (immediate) ................................................ ................................................ 16-967
16.130 ROR (register) .................................................. .................................................. 16-968
16.131 RORV .................................................................................................................. 16-969
16.132 SBC .......................................................... .......................................................... 16-970
16.133 SBCS ......................................................... ......................................................... 16-971
16.134 SBFIZ .................................................................................................................. 16-972
16.135 SBFM ......................................................... ......................................................... 16-973
16.136 SBFX ......................................................... ......................................................... 16-975
16.137 SDIV .................................................................................................................... 16-976
16.138 SEV .......................................................... .......................................................... 16-977
16.139 SEVL ......................................................... ......................................................... 16-978
16.140 SMADDL .............................................................................................................. 16-979
16.141 SMC .......................................................... .......................................................... 16-980
16.142 SMNEGL ...................................................... ...................................................... 16-981
16.143 SMSUBL .............................................................................................................. 16-982
16.144 SMULH ................................................................................................................ 16-983
16.145 SMULL ........................................................ ........................................................ 16-984
16.146 SUB (extended register) ...................................................................................... 16-985
16.147 SUB (immediate) ................................................ ................................................ 16-987
16.148 SUB (shifted register) .......................................................................................... 16-988
16.149 SUBS (extended register) .................................................................................... 16-989
16.150 SUBS (immediate) ............................................... ............................................... 16-991
16.151 SUBS (shifted register) ........................................................................................ 16-992
16.152 SVC .......................................................... .......................................................... 16-993
16.153 SXTB ......................................................... ......................................................... 16-994
16.154 SXTH ......................................................... ......................................................... 16-995
16.155 SXTW .................................................................................................................. 16-996
16.156 SYS .......................................................... .......................................................... 16-997
16.157 SYSL ......................................................... ......................................................... 16-998
16.158 TBNZ ......................................................... ......................................................... 16-999
16.159 TBZ .................................................................................................................... 16-1000
16.160 TLBI ......................................................... ......................................................... 16-1001
16.161 TST (immediate) ................................................................................................ 16-1003
16.162 TST (shifted register) ............................................ ............................................ 16-1004
16.163 UBFIZ ................................................................................................................ 16-1005
16.164 UBFM ................................................................................................................ 16-1006
16.165 UBFX ........................................................ ........................................................ 16-1007
16.166 UDIV .................................................................................................................. 16-1008
16.167 UMADDL ..................................................... ..................................................... 16-1009
16.168 UMNEGL ..................................................... ..................................................... 16-1010
DUI0801K Copyright © 2014–2017, 2019, 2020 Arm Limited or its affiliates. All
rights reserved.
20
Non-Confidential
剩余1762页未读,继续阅读
2020-01-17 上传
2020-04-28 上传
2020-08-02 上传
2019-08-22 上传
2019-04-10 上传
2019-06-10 上传
点击了解资源详情
点击了解资源详情
make-n
- 粉丝: 12
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 高清艺术文字图标资源,PNG和ICO格式免费下载
- mui框架HTML5应用界面组件使用示例教程
- Vue.js开发利器:chrome-vue-devtools插件解析
- 掌握ElectronBrowserJS:打造跨平台电子应用
- 前端导师教程:构建与部署社交证明页面
- Java多线程与线程安全在断点续传中的实现
- 免Root一键卸载安卓预装应用教程
- 易语言实现高级表格滚动条完美控制技巧
- 超声波测距尺的源码实现
- 数据可视化与交互:构建易用的数据界面
- 实现Discourse外聘回复自动标记的简易插件
- 链表的头插法与尾插法实现及长度计算
- Playwright与Typescript及Mocha集成:自动化UI测试实践指南
- 128x128像素线性工具图标下载集合
- 易语言安装包程序增强版:智能导入与重复库过滤
- 利用AJAX与Spotify API在Google地图中探索世界音乐排行榜
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功