Motor de Búsqueda de Datasheet de Componentes Electrónicos
  Mexican  ▼
ALLDATASHEET.COM.MX

X  

PM0215 Datasheet(PDF) 56 Page - STMicroelectronics

No. de pieza PM0215
Descripción Electrónicos  STM32F0xxx Cortex-M0 programming manual
PDF  91 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrónico  STMICROELECTRONICS [STMicroelectronics]
Página de inicio  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

PM0215 Datasheet(HTML) 56 Page - STMicroelectronics

Back Button PM0215 Datasheet HTML 52Page - STMicroelectronics PM0215 Datasheet HTML 53Page - STMicroelectronics PM0215 Datasheet HTML 54Page - STMicroelectronics PM0215 Datasheet HTML 55Page - STMicroelectronics PM0215 Datasheet HTML 56Page - STMicroelectronics PM0215 Datasheet HTML 57Page - STMicroelectronics PM0215 Datasheet HTML 58Page - STMicroelectronics PM0215 Datasheet HTML 59Page - STMicroelectronics PM0215 Datasheet HTML 60Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 56 / 91 page
background image
The STM32 Cortex-M0 instruction set
PM0215
56/91
Doc ID 022979 Rev 1
3.5.7
REV, REV16, and REVSH
Reverse bytes and reverse bits.
Syntax
op Rd, Rn
where:
‘op’ is one of:
REV: Reverse byte order in a word
REV16: Reverse byte order in each halfword independently
REVSH: Reverse byte order in the bottom halfword, and sign extends to 32 bits
‘Rd’ is the destination register
‘Rn’ is the register holding the operand
Operation
Use these instructions to change endianness of data:
REV: Converts either:
32-bit big-endian data into little-endian data or
32-bit little-endian data into big-endian data.
REV16: Converts either:
2 packed 16-bit big-endian data into little-endian data or
2 packed 16-bit little-endian data into big-endian data.
REVSH: Converts either:
16-bit signed big-endian data into 32-bit signed little-endian data or
16-bit signed little-endian data into 32-bit signed big-endian data
Restrictions
In these instructions, Rd, and Rn must only specify R0-R7.
Condition flags
These instructions do not change the flags.
Examples
REV R3, R7
; reverse byte order of value in R7 and write it to R3
REV16 R0, R0 ; reverse byte order of each 16-bit halfword in R0
REVSH R0, R5 ; reverse Signed Halfword



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91


Datasheet Descarga

Go To PDF Page


Enlace URL



¿ALLDATASHEET es útil para Ud.?  [ DONATE ] 

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Enlace a la hoja de datos    |   Intercambio de Enlaces   |   Lista de Fabricantes
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com