ARM Assembly Language: Fundamentals and Techniques, Second EditionCRC Press, 2014 M10 20 - 453 pages Delivering a solid introduction to assembly language and embedded systems, ARM Assembly Language: Fundamentals and Techniques, Second Edition continues to support the popular ARM7TDMI, but also addresses the latest architectures from ARM, including Cortex-A, Cortex-R, and Cortex-M processors-all of which have slightly different instruction sets, p |
From inside the book
Results 1-5 of 73
Page xi
... Predicated Instructions, or the Use of the Flags ...... 239 11.4.7 A Word about the IT Instruction .............................. 241 11.5 Two Special Modes............................................................
... Predicated Instructions, or the Use of the Flags ...... 239 11.4.7 A Word about the IT Instruction .............................. 241 11.5 Two Special Modes............................................................
Page 18
... word (32-bit) quantities. They can be longer depending on their use, e.g., a cryptography routine may require 128-bit integers. Unsigned representations make the assumption that every bit signifies a positive contribution to the value ...
... word (32-bit) quantities. They can be longer depending on their use, e.g., a cryptography routine may require 128-bit integers. Unsigned representations make the assumption that every bit signifies a positive contribution to the value ...
Page 20
... word, and double word lengths. EXAMPLE 1.8 Convert −9 to a two's complement representation in 8 bits. soLuTion Since 9 is 10012, the 8-bit representation of −9 would be 00001001 9 11110110 9 − + in one's complement 1 11110111 9 − in ...
... word, and double word lengths. EXAMPLE 1.8 Convert −9 to a two's complement representation in 8 bits. soLuTion Since 9 is 10012, the 8-bit representation of −9 would be 00001001 9 11110110 9 − + in one's complement 1 11110111 9 − in ...
Page 21
... Word 32 –2,147,483,648 to 2,147,483,647 Double word 64 –264 to 264–1 Note: To calculate the two's complement representation of a negative number, simply take its magnitude, convert it to binary, invert all the bits, and then add 1 ...
... Word 32 –2,147,483,648 to 2,147,483,647 Double word 64 –264 to 264–1 Note: To calculate the two's complement representation of a negative number, simply take its magnitude, convert it to binary, invert all the bits, and then add 1 ...
Page 31
You have reached your viewing limit for this book.
You have reached your viewing limit for this book.
Other editions - View all
Common terms and phrases
algorithm arithmetic ARM Architectural ARM instructions ARM7TDMI assembly language barrel shifter binary branch instruction byte Chapter Code Composer Studio compute condition codes configured constant Control Register coprocessor Cortex-M4 CPSR data types Debug device encoding entry example execute exponent flags floating-point format FPSCR fraction function GPIO Port half-precision halfword handler hardware increment infinity input instruction set IntDefaultHandler IntDefaultHandler IntDefaultHandler integer interrupt Keil tools LDR r1 Link Register literal pool load and store loop memory microcontroller MOV r0 MOVW multiply normal offset operand operations peripherals processor Program Counter pseudo-instruction register r0 reset result rounding mode routine shift shown in Figure sign bit significand significant bit single-precision stack pointer status bit Status Register subroutine subtraction Thumb instructions Thumb-2 Timer tion two’s complement UART unsigned vector table word word word write zero