130 likes | 217 Views
Please see “ portrait orientation ” PowerPoint file for Appendix B. Figure B.1. ARM instructions encoding formats. T. ABLE. B.1. Condition field encoding in ARM instructions. Condition. Condition. Name. Condition. co. de. field. su ffi x. test. b. b. 31. 28. 0. 0. 0. 0. EQ.
E N D
Please see “portrait orientation” PowerPoint file for Appendix B Figure B.1. ARM instructions encoding formats.
. . . T ABLE B.1 Condition field encoding in ARM instructions Condition Condition Name Condition co de field suffix test b b 31 28 0 0 0 0 EQ Equal (zero) Z = 1 0 0 0 1 NE Not equal (nonzero) Z = 0 0 0 1 0 CS/HS Carry set/Unsigned higher or same C = 1 0 0 1 1 CC/LO Carry clear/Unsigned lo w er C = 0 0 1 0 0 MI Min us (negative) N = 1 0 1 0 1 PL Plus (p ositiv e or zero) N = 0 0 1 1 0 VS Ov erflo w V = 1 0 1 1 1 VC No o v erflo w V = 0 1 0 0 0 HI Unsigned higher C Z = 0 1 0 0 1 LS Unsigned lo w er or same C Z = 1 1 0 1 0 GE Signed greater than or equal N V = 0 1 0 1 1 L T Signed less than N V = 1 1 1 0 0 GT Signed greater than Z (N V) = 0 1 1 0 1 LE Signed less than or equal Z (N V) = 1 1 1 1 0 AL Alw a ys 1 1 1 1 Not used
Please see “portrait orientation” PowerPoint file for Appendix B Table B.2. ARM arithmetic instructions
Please see “portrait orientation” PowerPoint file for Appendix B Table B.3. ARM logic, compare, test, and move instructions
T ABLE B.4 ARM instructions for single word or byte transfer from/to memory Mnemonic Instruction Operation (Name) bits p erformed B L LDR 0 1 R d [EA] (Load w ord) LDRB 1 1 R d [EA] (Load b yte) STR 0 0 EA [R d ] (Store w ord) STRB 1 0 EA [R d ] (Store b yte)
Please see “portrait orientation” PowerPoint file for Appendix B Table B.5. ARM instructions for multiple word transfers from/to memory
Please see “portrait orientation” PowerPoint file for Appendix B Table B.6. ARM instructions for status register transfers, software interrupt, and data swap.