EasyManua.ls Logo

ARM Cortex-M4 - Page 146

ARM Cortex-M4
276 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
The Cortex-M4 Instruction Set
ARM DUI 0553A Copyright © 2010 ARM. All rights reserved. 3-99
ID121610 Non-Confidential
Examples
QADD16 R7, R4, R2 ; Adds halfwords of R4 with corresponding halfword of
; R2, saturates to 16 bits and writes to corresponding
; halfword of R7
QADD8 R3, R1, R6 ; Adds bytes of R1 to the corresponding bytes of R6,
; saturates to 8 bits and writes to corresponding byte of
; R3
QSUB16 R4, R2, R3 ; Subtracts halfwords of R3 from corresponding halfword
; of R2, saturates to 16 bits, writes to corresponding
; halfword of R4
QSUB8 R4, R2, R5 ; Subtracts bytes of R5 from the corresponding byte in
; R2, saturates to 8 bits, writes to corresponding byte of
; R4.

Table of Contents

Related product manuals