Datenblatt-Suchmaschine für elektronische Bauteile
  German  ▼
ALLDATASHEETDE.COM

X  

PM0215 Datenblatt(PDF) 57 Page - STMicroelectronics

Teilenummer PM0215
Bauteilbeschribung  STM32F0xxx Cortex-M0 programming manual
PDF  91 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Hersteller  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

PM0215 Datenblatt(HTML) 57 Page - STMicroelectronics

Back Button 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 PM0215 Datasheet HTML 61Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 57 / 91 page
background image
PM0215
The STM32 Cortex-M0 instruction set
Doc ID 022979 Rev 1
57/91
3.5.8
SXTB, SXTH, UXTB and UXTH
Sign extend and Zero extend.
Syntax
SXTB Rd, Rm
SXTH Rd, Rm
UXTB Rd, Rm
UXTH Rd, Rm
where:
‘Rd’ is the destination register
‘Rn’ ,‘Rm’ are the registers holding the first and second operands
Operation
These instructions extract bits from the resulting value:
1.
SXTB extracts bits[7:0] and sign extends to 32 bits
2.
UXTB extracts bits[7:0] and zero extends to 32 bits
3.
SXTH extracts bits[15:0] and sign extends to 32 bits
4.
UXTH extracts bits[15:0] and zero extends to 32 bits.
Restrictions
In these instructions, Rd and Rm must only specify R0-R7.
Condition flags
These instructions do not affect the flags.
Examples
SXTH R4, R6
; Obtain the lower halfword of the
; value in R6 and then sign extend to
; 32 bits and write the result to R4.
UXTB R3, R1
; Extract lowest byte of the value in R10 and zero
; extend it, and write the result to R3



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


Datenblatt Download

Go To PDF Page


Link URL



War ALLDATASHEET hilfreich?  [ DONATE ] 

Über Alldatasheet   |   Werbung   |   Kontakt   |   Privatsphäre und Datenschutz   |   Link zum Datenblatt    |   Linktausch   |   Hersteller
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