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

X  

PM0056 Datenblatt(PDF) 85 Page - STMicroelectronics

Teilenummer PM0056
Bauteilbeschribung  This programming manual provides information
PDF  156 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Hersteller  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

PM0056 Datenblatt(HTML) 85 Page - STMicroelectronics

Back Button PM0056 Datasheet HTML 81Page - STMicroelectronics PM0056 Datasheet HTML 82Page - STMicroelectronics PM0056 Datasheet HTML 83Page - STMicroelectronics PM0056 Datasheet HTML 84Page - STMicroelectronics PM0056 Datasheet HTML 85Page - STMicroelectronics PM0056 Datasheet HTML 86Page - STMicroelectronics PM0056 Datasheet HTML 87Page - STMicroelectronics PM0056 Datasheet HTML 88Page - STMicroelectronics PM0056 Datasheet HTML 89Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 85 / 156 page
background image
DocID15491 Rev 5
85/156
PM0056
The Cortex-M3 instruction set
3.6.2
UMULL, UMLAL, SMULL, and SMLAL
Signed and unsigned long multiply, with optional accumulate, using 32-bit operands and
producing a 64-bit result.
Syntax
op{cond} RdLo, RdHi, Rn, Rm
where:
‘op’ is one of:
UMULL: Unsigned long multiply
UMLAL: Unsigned long multiply, with accumulate
SMULL: Signed long multiply
SMLAL: Signed long multiply, with accumulate
‘cond’ is an optional condition code (see Conditional execution on page 57)
‘RdHi, RdLo’ are the destination registers. For UMLAL and SMLAL, they also hold the
accumulating value.
‘Rn, Rm’ are registers holding the operands
Operation
The UMULL instruction interprets the values from Rn and Rm as unsigned integers. It
multiplies these integers and places the least significant 32 bits of the result in RdLo, and the
most significant 32 bits of the result in RdHi.
The UMLAL instruction interprets the values from Rn and Rm as unsigned integers. It
multiplies these integers, adds the 64-bit result to the 64-bit unsigned integer contained in
RdHi and RdLo, and writes the result back to RdHi and RdLo.
The SMULL instruction interprets the values from Rn and Rm as two’s complement signed
integers. It multiplies these integers and places the least significant 32 bits of the result in
RdLo, and the most significant 32 bits of the result in RdHi.
The SMLAL instruction interprets the values from Rn and Rm as two’s complement signed
integers. It multiplies these integers, adds the 64-bit result to the 64-bit signed integer
contained in RdHi and RdLo, and writes the result back to RdHi and RdLo.
Restrictions
In these instructions:
Do not use either SP or PC
RdHi and RdLo must be different registers
Condition flags
These instructions do not affect the condition code flags.
Examples
UMULLR0, R4, R5, R6; unsigned (R4,R0) = R5 x R6
SMLALR4, R5, R3, R8; signed (R5,R4) = (R5,R4) + R3 x R8



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 92 93 94 95 96 97 98 99 100  ...More


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