Packing And Unpacking Instructions; Table 30. Packing And Unpacking Instructions - ST STM32F4 Series Programming Manual

Cortex-m4
Hide thumbs Also See for STM32F4 Series:
Table of Contents

Advertisement

PM0214
3.8

Packing and unpacking instructions

Table 30
Mnemonic
PKH
SXTAB
SXTAB16
SXTAH
SXTB
SXTB16
SXTH
UXTAB
UXTAB16
UXTAH
UXTB
UXTB16
UXTH
shows the instructions that operate on packing and unpacking data:

Table 30. Packing and unpacking instructions

Brief description
Pack Halfword
Extend 8 bits to 32 and add
Dual extend 8 bits to 16 and add
Extend 16 bits to 32 and add
Sign extend a byte
Dual extend 8 bits to 16 and add
Sign extend a halfword
Extend 8 bits to 32 and add
Dual extend 8 bits to 16 and add
Extend 16 bits to 32 and add
Zero extend a byte
Dual zero extend 8 bits to 16 and add
Zero extend a halfword
DocID022708 Rev 6
The STM32 Cortex-M4 instruction set
See
PKHBT and PKHTB on page 134
SXTA and UXTA on page 136
SXTA and UXTA on page 136
SXTA and UXTA on page 136
SXT and UXT on page 135
SXT and UXT on page 135
SXT and UXT on page 135
SXTA and UXTA on page 136
SXTA and UXTA on page 136
SXTA and UXTA on page 136
SXT and UXT on page 135
SXT and UXT on page 135
SXT and UXT on page 135
133/260
259

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F4 Series and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Stm32l4+ seriesStm32f3 series

Table of Contents

Save PDF