首页 ARM and Thumb-2 Instruction Set Quick Reference Card

ARM and Thumb-2 Instruction Set Quick Reference Card

举报
开通vip

ARM and Thumb-2 Instruction Set Quick Reference Card ARM® and Thumb®-2 Instruction Set Quick Reference Card Key to Tables Rm {, } See Table Register, optionally shifted by constant A comma-separated list of registers, enclosed in braces { and }. See Table Flexible Operand 2. Shift and rotate are only availab...

ARM and Thumb-2 Instruction Set Quick Reference Card
ARM® and Thumb®-2 Instruction Set Quick Reference Card Key to Tables Rm {, } See Table Register, optionally shifted by constant A comma-separated list of registers, enclosed in braces { and }. See Table Flexible Operand 2. Shift and rotate are only available as part of Operand2. As , must not include the PC. See Table PSR fields. As , including the PC. APSR (Application Program Status Register), CPSR (Current Processor Status Register), or SPSR (Saved Processor Status Register) Either nzcvq (ALU flags PSR[31:27]) or g (SIMD GE flags PSR[19:16]) C*, V* Flag is unpredictable in Architecture v4 and earlier, unchanged in Architecture v5 and later. § See Table ARM architecture versions. Can be Rs or an immediate shift value. The values allowed for each shift type are the same as those +/- + or –. (+ may be omitted.) shown in Table Register, optionally shifted by constant. Interrupt flags. One or more of a, i, f (abort, interrupt, fast interrupt). x,y B meaning half-register [15:0], or T meaning [31:16]. See Table Processor Modes ARM: a 32-bit constant, formed by right-rotating an 8-bit value by an even number of bits. SPm SP for the processor mode specified by Thumb: a 32-bit constant, formed by left-shifting an 8-bit value by any number of bits, or a bit Least significant bit of bitfield. pattern of one of the forms 0xXYXYXYXY, 0x00XY00XY or 0xXY00XY00. Width of bitfield. + must be <= 32. See Table Prefixes for Parallel instructions {X} RsX is Rs rotated 16 bits if X present. Otherwise, RsX is Rs. {IA|IB|DA|DB} Increment After, Increment Before, Decrement After, or Decrement Before. {!} Updates base register after data transfer if ! present (pre-indexed). IB and DA are not available in Thumb state. If omitted, defaults to IA. {S} Updates condition flags if S present. B, SB, H, or SH, meaning Byte, Signed Byte, Halfword, and Signed Halfword respectively. {T} User mode privilege if T present. SB and SH are not available in STR instructions. {R} Rounds result to nearest if R present, otherwise truncates result. Operation § Assembler S updates Action Notes Add Add ADD{S} Rd, Rn, N Z C V Rd := Rn + Operand2 N with carry ADC{S} Rd, Rn, N Z C V Rd := Rn + Operand2 + Carry N wide T2 ADD Rd, Rn, # Rd := Rn + imm12, imm12 range 0-4095 T, P saturating {doubled} 5E Q{D}ADD Rd, Rm, Rn Rd := SAT(Rm + Rn) doubled: Rd := SAT(Rm + SAT(Rn * 2)) Q Address Form PC-relative address ADR Rd,
本文档为【ARM and Thumb-2 Instruction Set Quick Reference Card】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑, 图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
该文档来自用户分享,如有侵权行为请发邮件ishare@vip.sina.com联系网站客服,我们会及时删除。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。
本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。
网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
下载需要: 免费 已有0 人下载
最新资料
资料动态
专题动态
is_808969
暂无简介~
格式:pdf
大小:226KB
软件:PDF阅读器
页数:6
分类:互联网
上传时间:2011-05-14
浏览量:49